Installing / Configuring Apache 1.3 and PHP 4.4

Ok so first download Apache Web Server from I recommend version 1.3 as i believe it to be the most secure.
However the latest version available is v2.2.0 but use at your own risk!

Install apache web server and accept the default settings, remember if you have a firewall you will need to tell it to allow the Apache service to run.

Thats really that part done for now. The next thing is to install php and configure it for using with Apache.

You can download php from Download the binaries version not the installer version.
For this example I will be using v4.4.2, I don't recommend using versions 5+ because of difficulty's ive had with it.

Ok so next thing to do is extract the file to the root of drive C. And its easier if you rename the folder so its just C:\php

Then copy the file php.ini-dist in PHP directory to you windows directory ( C:\Windows or C:\Winnt depends on where you installed Windows ) and rename the file to php.ini. This is the PHP configuration file and we'll take a look what's in it later on.
Next, move the php4ts.dll file from the newly created php directory into the C:\Windows or C:\Winnt directory again depending on where windows was installed.

Next up is to open the apache conf file. C:\Program Files\Apache Group\Apache\conf and open the file named httpd.conf

We need to tell Apache about php and where to find it so we will add the following to the file.

LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

That should be it. We now restart Apache to load all the changes we made.
Next we create a test to ensure php is been parsed properly.

Insert the following into a file and name is index.php, place that file in you Apache web root directory.
C:\Program Files\Apache Group\Apache\htdocs


Then point your browser to the test page. Http://

Ok so thats it, if you have any questions you can contact me at martin.murray[at]