Hello all
I am still pulling my hair out. I have tried numerous times to get apache 2.0.43 and php 4.3.0 to work on my Windows NT4 workstation machine. The apache monitor program shows that apache and php are loaded.
Here is my error message when I try to access my php file,
[Thu Jan 23 22:22:22 2003] [error] [client 192.168.1.1] C:/apache2/webdocs/test.php is not executable; ensure interpreted scripts have "#!" first line
[Thu Jan 23 22:22:22 2003] [error] [client 192.168.1.1] (9)Bad file descriptor: don't know how to spawn child process: C:/apache2/webdocs/test.php
And, Here is my test.php file,
<?php phpinfo();?>
Now, I have php set up as a module, or so I believe. My php directory is c:\php and I have the following lines in my apache httpd.conf file.
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php
I have also copied the php4ts.dll file into the c:\winnt\system32 directory and I have the php.ini-recommended file in my c:\winnt directory as php.ini. I tried the following 4 configuration changes to the php.ini file.
[1]
doc_root = "c:\apache2\webdocs"
extension_dir = "c:\php\extensions"
[2]
doc_root = "c:\apache2\webdocs"
extension_dir = "c:\php\sapi"
[3]
doc_root =
extension_dir = "c:\php\extensions"
[4]
doc_root =
extension_dir = ./
All of these configurations still give me the error I listed above. If anyone has been through this hellish nightmare please help....
Thanks
Frank