Hi, I've tried to get PHP working with Apache on my Win2000 and failed. It seems that the SAPI module has installed correctly but I'm getting the following error in my Apache error.log file:
d:/ffp/php/helloworld.php is not executable; ensure interpreted scripts have "#!" first line couldn't spawn child process: d:/ffp/php/helloworld.php I've seached the archives for this 'couldn't spawn child process' error and the only advice I can find is to run PHP as a module, rather than as a CGI executable. I've done this, but the error doesn't change. I assume I've either set the directory permissions incorrectly in Apache, or failed to install PHP fully, but I can't track the problem down. The document root for the website is currently D:\ffp and I have the following ScriptAlias in my httpd.conf file: ScriptAlias /php/ "D:/ffp/php/" I also have the standard lines to run PHP as a module, namely: AddType application/x-httpd-php .php LoadModule php4_module C:/PHP/sapi/php4apache.dll Can anyone tell me why I'm still getting these errors? Kind regards, Jim -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php