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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>



-- 
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]

Reply via email to