Re: PHP on Windows XP problem
| From: | Mike Maltese | Date: | Mon, 28 Jan 2002 23:41:58 +0000 |
| Subject: | Re: PHP on Windows XP problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5799@lists.php.net to get a copy of this message | ||
Remove The ScriptAlias line....PHP scripts should be able to be executed
from any directory.
For the Action directive, name the path explicitly:
Action application/x-httpd-php "f:/usr/php.exe"
Hope this gets you going.
----- Original Message -----
From: "Poul Theodorsen" <poul.theodorsen@mail.tdcadsl.dk>
To: <php-install@lists.php.net>
Sent: Monday, January 28, 2002 2:12 PM
Subject: [PHP-INST] PHP on Windows XP problem
> Help - I'm a newbie on PHP and I can't make it work.
>
> I'm running Apache locally under Windows XP, and all my Perl scripts works
> fine.
>
> My web-root is"f:/www/domain/web" and PHP has been installed in
> "f:/usr/php.exe"
>
> I have made these additions to Apache's config file :
> ScriptAlias /php/ "F:/usr/"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> Action application/x-httpd-php "/usr/php.exe"
>
> but i only get this answer (from the error log) :
> [Mon Jan 28 22:27:28 2002] [error] [client 127.0.0.1] File does not exist:
> f:/www/domain/web/usr/php.exe/myphp/test.php
>
> The changes were made according to various PHP tutorials, but somehow the
> path to the script gets crumbled: I have tried in several ways but it
won't
> work. What's wrong??
>
> Thanks to anyone who can help me out here
> Poul
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>