Hello,
I have installed Apache 1.3.20 and PHP 4.0.6 on a Win2k box. I have
configured Apache to run PHP as a module, which all seems to work fine.
When I run a PHP script from within the docroot area (i.e.
d:\htdocs\phpExamples\info.php), the script displays properly. The script
example is:
<?php
phpinfo();
?>
However, if I define a script alias such as ScriptAlias /php/ "d:/php/" in
Apache, and try to execute the same PHP script from there, i.e.
d:\php\info.php, the script executes but the #! is also echoed back to the
browser. The script example is:
#!d:/php/php
<?php
phpinfo();
?>
If I do not have the #! line in this second example, I get a 500 Internal
Server Error, and the Apache error.log shows "couldn't spawn child process:
d:/php/info.php".
Is this a bug in the PHP module?
TIA
Ken
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]