Re: problemas with PHP installation
| From: | Daniel Convissor | Date: | Wed, 20 Dec 2000 03:52:20 +0000 |
| Subject: | Re: problemas with PHP installation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31148@lists.php.net to get a copy of this message | ||
Dude:
> When I acess, for example, http://localhost/php/teste.php3 ,
> the Apache log,
> returns the following:
>
> [Mon Dec 18 12:30:21 2000] [error] [client 169.254.143.43]
> c:/server/php/teste.php3 is not executable; ensure interpreted scripts have
> "#!" first line
> [Mon Dec 18 12:30:21 2000] [error] [client 169.254.143.43] (2)No such file
> or directory: couldn't spawn child process: c:/server/php/teste.php3
You may be having a problem with your script alias. If you have a line like
this in your httpd.conf file:
ScriptAlias /php/ "f:/z/php4/"
You'll run into problems with pages like this:
http://localhost/php/teste.php3
Because the "/php/" part of the URI is being aliased by Apache to "f:/z/php4"
in this example.
But, my little test of this problem produces a different error.
[Tue Dec 19 22:48:35 2000] [error] [client 127.0.0.1]
attempt to invoke directory as script: f:/z/php4
Hmm. If my suggestion doesn't solve your problem, what are the directives
you have in your httpd.conf and .htaccess files and what directory is your
web document root and which contians your php.exe?
See you,
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409