You have Windows XP. Download the other packages from their respective sites:
- Apache from httpd.apache.org
- MySQL from www.mysql.com
- PHP from www.php.net
Download the latest stable versions. In this section, we are using Apache 2.0.55, MySQL and PHP .
After installing Apache, you may see the files in the folder C:\Program Files\Apache Group\Apache2\. The web pages are stored in “htdocs” sub-folder and the configuration files are stored in “conf” sub-folder. You may save your web pages in a new folder “c:\htdocs”. In this case you need to modify the “httpd” file in “conf” folder to make these changes:
DocumentRoot “C:/htdocs”
<Directory “C:/htdocs”>
Open a browser and type:
http://localhost
If the Apache is installed properly, you will see a screen as shown below:
Now install PHP 4.3.4 by unzipping the downloaded file to, for example, C:\PHP. Copy the file php.ini-dist in the PHP folder to your Windows folder (e.g., C:\Windows) and rename it as php.ini.
Copy php4ts.dll to any path mentioned in PATH environment variable (e.g., C:\Windows\System32). Now modify Apache configuration file httpd to reflect the following lines:


