Build A Web Server On Your PC With easyPHP
![]()
Hosting a test website on a PC may sound tempting – specially to the webmaster who has to maintain a large site online 24×7. It makes life a lot simpler if administrators and site designers have the ability to test look and feel of webpages on a PC before uploading them to a website for the world to see. easyPHP comes in really handy in this situation. With the click of the mouse it installs Apache + PHP + MySQL on the host PC. Once installed it creates a root directory under C:\Program Files\EasyPHP 2.0b1\www. You can load all your pages there and browse to http://localhost/ to see the site.

Video Install Procedure
Webserver On Your Computer – video powered by Metacafe
Procedure
- Install is straightforward. Download and run the installer.
- When complete create a phpinfo.php file to ensure all required PHP components are present. Code for this file is given below. Then browse to http://localhost/phpinfo.php
- For configuring databases or tuning Apache browse to http://localhost/home You will be greeted with all the different configuration options.
- For making this site available on the Local_area_network install IIS and point the www directory to the root directory of EasyPHP.
< ? php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>
Most Commented Posts
Did you enjoy this article? Subscribe to our RSS feed or get updates via email.










