Windows AMP

You have Windows XP. Download the other packages from their respective sites:

  1. Apache from
  2. MySQL from
  3. PHP from

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:


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:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s