note 37630 added to install.windows
| From: | fok at seznam dot cz | Date: | Fri, 21 Nov 2003 11:32:01 +0000 |
| Subject: | note 37630 added to install.windows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60747@lists.php.net to get a copy of this message | ||
When I installing PHP on my Windows machine I couldn't get it working. All what I get was an
error in Apache error log.
couldn't spawn child process: c:/php/test.php
c:/php/test.php is not executable; ensure interpreted scripts have "#!" first line
The problem was in my configuration added to httpd.conf
ScriptAlias /php/ "c:/PHP/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "C:/PHP/php.exe" #this is wrong
Action application/x-httpd-php "/php/php.exe" #this is correct
Directive Action doesn't use absolute directories but relative to httproot.
FOK
----
Manual Page -- http://www.php.net/manual/en/install.windows.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37630
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37630&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37630&report=yes
Search -- http://master.php.net/manage/user-notes.php