Testing PHP on Windows - in 5 seconds! Without installing Apache, IIS or even PHP. - Zach Saw's Blog

Friday, August 29, 2008

Testing PHP on Windows - in 5 seconds! Without installing Apache, IIS or even PHP.

Testing PHP on Windows in less than 5 seconds without installing Apache, IIS or even PHP. Is this possible?

Yes it certainly is - and it's FREE.

QuickPHP is designed spefically for this purpose.
Here are the steps to test PHP on Windows in less than 5 seconds:

1) Download QuickPHP WebServer (quickphp_webserver.zip) from http://www.zachsaw.co.cc/?pg=quickphp_php_tester_debugger
2) Unzip the file into C:\QuickPHP
3) Run QuickPHP.exe from the folder
4) Hit Start.



That's it!
You can now test your PHP webpages by browsing to http://127.0.0.1:5723 and QuickPHP will run 'index.php' in 'C:\' folder (of course, make sure you have a file called 'C:\index.php' - if not, copy and paste the following code and put them into 'C:\index.php').

If you wish, you can change the webserver's root to your local webpage folder and the default document name to point to your own index file.

index.php:

<?php phpinfo(); ?>

If you need any help, you can visit the QuickPHP forum.

0 comments: