Im trying to install PHP 5.0 on Apache 1.3.3. Im using a book, "PHP and MySQL Web Development" by Luke Luke Welling and Laura Thomson, as a guide. Within the installation tutorial it says to move the PHP.exe and php5apache.dll files to the system directory, in this case its c:\winnt\system32. I did that. Next step is to setup the php.ini file in c:\winnt and modify it to point to the php directory and extensions directory. Piece of cake. It also says to modify Apache httpd.conf file. I think this is where im running into the problem. It says to verify that the following lines are within the httpd.conf file, and if not, add them:
LoadModule php5_module c:/php/php5apache.dll
AddModule mod_php5.c
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
The first line i added under the rest of the LoadModule lines, but i noticed that all the existing ones begin with a "#". What does this mean?
The second line was the same scenario: pretty easy to find where to add it, but not sure if i should start the line with the "#" character.
The third line i placed under this line:
AddType application/x-tar .tgz
The fourth line confused me. I found in the existing file that there were some lines that were similar to this one but began with "# Format". I added right below the line that reads:
Format: Action handler-name /cgi-script/location
But i did not include the "# Format".
Has anyone been through this type of installation? Can somebody please offer some guidance. Ive done all the following and still cannot get the web server to run a php script!!!