Sometimes I like to have my own web server, whether it is for testing or development purposes. Since I use Windows XP or Vista on my personnal computer, my favorite setup is Windows, Apache, PHP and MySQL. This setup is also known as WAMP. And maybe you guessed it, the Linux equivalent of this setup is LAMP.
So in the first part of this tutorial, I’m going to show you how to install Apache’s HTTP server. The HTTP server is what serves the webpages (HTML files, images, css files, etc.) to web browsers upon request.
Execute the .MSI file in order to launch the installation. Hit the “Next” button until you see this screen and fill in the information as below (except for the email address of course!):
On the next screen, select the custom installation type and hit next once again. Next select the installation path for Apache’s HTTP server. I prefer using C:\ since the installer will automatically create a folder named “Apache2″ anyway (this isn’t true for Apache 2.2.x though). Leave all other default settings.
Click the Next button and then the Install button. Go get a coffee, this could take a few minutes.
Once the installation is completed, click the Finish button.
Now open your web browser to http://127.0.0.1 and if everything went correctly you should see this page:
That was easy wasn’t it?
Now stay tuned as we’ll install MySQL, a free database server.
Stephane is a web developer and system administrator with over 18 years of experience. Specialized in PHP programming and Linux server administration, he also provided development and consulting services to SMBs for several years before becoming an online entrepreneur.