Apache Installation on Windows9

Usually all webmaster prefer to use Linux platform if they are using PHP MySQL ie its associated with LAMP ( Linux, Apache, MySQL, PHP ) but if you are Windows savvy and would like to work on Windows Platform for developing PHP application you can easily do so using WAMP ( Windows, Apache, PHP, MySQL ) you need to install Apache, PHP, MySQL under Windows Platform. You need to download Apache, PHP and MySQL packages from respective sites.

First you need to install Apache, you can follow all steps as follows :
Apache Installation :
You can easily install apache if you have downloaded Microsoft Installer ( .msi ) package. You need to click on icon to start the installation process. Just proceed until you have server information window. You need to enter localhost for both the Network Domain and Server Name and for administrator’s email hosting address you can use any of your email address.
You need to select typical installation and need to choose where you want to install Apache. Just complete the installation process. Once completed you should verify if you have installed it correctly you need to open your browser and type http://localhost in the address bar. You should see following screen with message “Apache has been set up and is working correctly”

apache logo Apache Installation on Windows9Usually Apache have its document root set to htdocs directory, this document root is that folder where you must put all your PHP or HTML files which can be processed by Apache and thus can be seen by your browser. If you want to have point it to other directory you can do so anytime you want. Configuration file for Apache is stored in C:/ProgramFiles/ApacheGroup\Apache2\conf\httpd.conf. this file is a plain text file which can be edit using notepad.
If you want to put all your PHP or HTML files in C:/www you just need to replace this path in your httpd.conf file.
Eg : you need to replace DocumentRoot “C:/Program Files/Apache Group/Apache2/htdocs“  within your httpd.conf with “ DocumentRoot “C:/www” “
Once you edited this file you need yo restart Apache, you can use START>PROGRAMS>APACHE HTTP SERVER 2.-.50>CONTOL APACHE SERVER>RESTART

Posted under Managing Plesk, Plesk Control panel, Windows Hosting with Plesk

This post was written by on September 26, 2009

Tags: , , ,