I am trying to install php as a module on a new computer. I really want Module and not CGI so please don't suggest that. (that doesn't seem to work either though)
Got apache 1.3.27 installed and working fine.
unzipped latest stable release of php to c:\devel\php
moved my php4ts.dll to windows\system32
moved php.ini to windows\
added the following to httpd.conf file:
LoadModule php4_module c:/devel/php/sapi/php4apache.dll
AddModule mod_php4.c
and then my AddType line is ok. I'm sure of that. When I go to services and I click on restart (or start, whichever is showing) I get the following screen:
The Apache Service Started and then Stopped. Some files were automatically stopped that were not needed.
Then Apache crashes.
If I comment out the LoadModule and AddModule lines it starts right up.
If I install php as a CGI, Apache starts but I get an Internal ERROR when trying to run any php pages from the web browser.
Thanks for the help.