Re: problemas with PHP installation
| From: | Guilherme Mendes | Date: | Wed, 20 Dec 2000 14:17:27 +0000 |
| Subject: | Re: problemas with PHP installation | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31202@lists.php.net to get a copy of this message | ||
Hi Daniel,
Firstly, thanks for your suggestions...
I installed Apache to the dir: c:\Apache Server\Apache
PHP: c:\php
My root dir: c:\Apache Server\Apache\htdocs
I did what you said me, but the same problem happened......
I think that I downloaded the wrong version of PHP, but there are two
version ( CGI Only and other... ).
I wait your message to solve my problem...
Thank's....
---------------------------------------------------
Guilherme Mendes
WDesigner - Programador
guilherme.mendes@mailbr.com.br
----------------------------------------------------
----- Original Message -----
From: Daniel Convissor <danielc@analysisandsolutions.com>
To: PHP List <php-general@lists.php.net>
Sent: Wednesday, December 20, 2000 1:52 AM
Subject: Re: [PHP] problemas with PHP installation
> 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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>