PHP4, Apache and W2k installation not working
| From: | Kjell Hansen | Date: | Tue, 05 Feb 2002 17:02:30 +0000 |
| Subject: | PHP4, Apache and W2k installation not working | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5928@lists.php.net to get a copy of this message | ||
Hi all!
I've banged my head to the keyboard and to the installation notes of
PHP4 but I still can't make it work.
pls Help Me!
This works:
php.exe -i ( from the command prompt from any dir.)
php.exe test.php (from the php-dir)
apache error file reports no errors when starting
This won't do
http://localhost/test.php Reports Bad Request (HTTP 400)
Invalid URI
in request
The test page contains just a single word of Joy!, no html tags, no php
tags no nothing at all except for the Joy!-word
These lines are the new to my Apache-conf file (in order of appearance)
ScriptAlias /php/ "f:/php/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "php.exe"
Hope someone will know what's wrong!
TIA
Kjell Hansen