Hi
Encountered this problem just now whilst trying to install php and apache, but its running well now for me.
Using
Apache v1.3.27
Php v4.3.1
Here's the full installation procedure for win2k --
Note that I installed php into "c:\server\php", so make sure your configuration corresponds with your installation directory. Apache was installed and running properly before I installed PHP.
**1. Check that both php4apache.dll and php4ts.dll are in the "c:\server\php\sapi\" directory. (NB: All I did was to transfer php4ts.dll into the sapi directory and my problem was solved.)
- Check that PHP.ini is in "c:\windows". Or the root directory in which windows is installed.
- Check that the following lines have been inserted into PHP.ini
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\server\php"
- Check that the following lines have been inserted into httpd.conf at the appropriate locations.
LoadModule php4_module c:\server\php\sapi\php4apache.dll
.
.
AddModule mod_php4.c
.
.
.
AddType application/x-httpd-php .php .php3 .php4 .phtml
Hope this helps should you encounter the same problem.
Regards.
PS: Forgot to mention that I'm new here... <wave>..