View unanswered posts | View active topics It is currently June 23rd, 2018, 11:13 am

This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
 GUIDE: QuickPHP Step-by-step guide for beginners 
Author Message
Site Admin

Joined: July 4th, 2008, 2:56 pm
Posts: 226
Post GUIDE: QuickPHP Step-by-step guide for beginners
After downloading and unpacking the QuickPHP zip file to a folder of your choice, run QuickPHP.exe.

QuickPHP by default has the following configuration:

Port: 5723
Root folder: <folder where QuickPHP is located>
Default document filename: index.php
Execution time: 10 seconds

Port is the server port QuickPHP binds to (i.e. the port you should navigate to with your web browser - by default, web browsers use port 80. Port 5723 is a custom port number of which you can browse to using <url>:<port> such as

Root folder is the folder where QuickPHP will look for its document files to serve.

Default document filename is used when the URL does not specify a document (such as

Execution time is the maximum time in seconds allowed for one request of php script to run. This prevents misbehaving scripts (e.g. infinite loop) from locking up QuickPHP indefinitely.

To make it easier for beginners to understand how Root Folder + Default document filename work, we'll use the following config:

Port: 5723
Root folder: C:\
Default document filename: index.php
Execution time: 10 seconds

Now you're ready to hit the "START" button.

Note that doing so may prompt Windows Firewall to ask if you wish to allow the server to open up port 5723. Choosing either option is fine (Windows Firewall is out of topic for the purpose of this beginner's guide), but as QuickPHP's download page has pointed out, you're recommended to choose "Deny". If you're not familiar with firewalls, I suggest you DO NOT CONTINUE until you are.

Now that the server has started, you'll see "Requests processed = 0" on the status bar. This means that the server has started successfully and that no (HTTP) requests have been processed yet. When you navigate your web browser to (i.e. localhost), QuickPHP will open the file C:\index.php (Root folder + Default filename). Note that default filename is used only when you navigate to localhost without specifying a file. If you do, such as, obviously QuickPHP will open the file C:\mypage.php.

So to test, let's create a file called index.php in your C:\ folder.


Navigate to You should now see QuickPHP's info page.

Congratulations. You've just used QuickPHP to display your first PHP script!

The short version of information is also available in the quick help under Help menu in QuickPHP at any time:
This is a very simple web server which serves PHP and HTML pages.

Example based on default settings:

Once you have started the server, you can then browse to:

It will look for index.php in C:\ folder and respond to your browser request.
You should then be able to navigate through and test your website.

August 6th, 2009, 12:57 pm
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB.