First of all, this problem is significatly different from that of the thread before this, so I decided to create a new one.
I've read several tutorials that tell you how to configure Apache 1.3 to work with PHP, but none of the suggestions have worked. Hopefully someone here can help. Here's what I did:
-Put php4ts.dll in c:/WINDOWS/SYSTEM/
-Put "AddModule mod_php4.c" at the end of the AddModule list
-Put "LoadModule php4_module c:/php/sapi/php4apache.dll" at the end of the LoadModule list
-Put "ScriptAlias /php/ "c:/website/php/" " after the cgi ScriptAlias
-Put "AddType application/x-httpd-php .php .phtml" and
"AddType application/x-httpd-php-source .phps"
where the other AddType's were
-Put "Action application/x-httpd-php "c:/PHP/php.exe" " where Action is described
After I finished the above, I tried to run Apache, and got the following error:
"Syntax error on line 175 of c:/program files/apache group/apache/conf/httpd.conf
:
Cannot add module via name 'mod_php4.c': not in list of loaded modules"
Please, someone try to help, as I am clueless with PHP, and I really don't know very much about Apache either. If there is something that is 'obvious' to the normal PHP user, don't assume I know what it is. Thanks for your help everyone.
Note: When I put the LoadModule from above BEFORE the AddModule, I got the following error:
"Syntax error on line 159 of c:/program files/apache group/apache/conf/httpd.conf
:
Cannot load c:/php/sapi/php4apache.dll into server: (1157) One of the library files needed to run this application cannot be found: "