Posted by Fred Atkinson on 06/14/05 02:59
I'm running Apache 1.3 on my server. I've run the installer
file for PHP 5.0.4.
I paste the following code into the httpd.conf file:
# Add to the end of the LoadModule section
LoadModule php5_module "C:/php/php5apache.dll"
# Add to the end of the AddModule section
AddModule mod_php5.c
# Add this line inside the <IfModule mod_mime.c> conditional brace
AddType application/x-httpd-php .php
# For syntax highlighted .phps files, also add
AddType application/x-httpd-php-source .phps
Then, I go to the DOS prompt and type 'net stop apache'.
After it stops, I type 'net start apache'. I keep getting an error
message saying that Apache did not start.
The weird thing is tha there is no php5apache.dll file in the
C:\PHP subdirectory. There *is* a php5ts.dll file there. I tried
chaning that line to reflect the php5ts.dll, but that didn't work.
Any suggestions?
Fred
[Back to original message]
|