PHP 4.2.3 on Apache 2.0.39
| From: | rija | Date: | Mon, 18 Nov 2002 00:11:19 +0000 |
| Subject: | PHP 4.2.3 on Apache 2.0.39 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124845@lists.php.net to get a copy of this message | ||
Hi Guys
I'm installing PHP 4.2.3 on Apache Server 2.0.41.
If I try localhost or localhost/manual it work perfectly,
Now I want to run my php program, I developed on IIS 5.0 environment, on my new Apache server
I get the message below , and my browser display HTTP 400 - BAD request page, which means The page
cannot be found although all the files are there.
[Mon Nov 18 11:04:28 2002] [error] [client 127.0.0.1] Invalid URI in request GET /domains/home.php
HTTP/1.1, referer: http://localhost/domains/
I put these few line in my httpd.conf
a.. ScriptAlias /php/ "c:/php/"
b.. AddType application/x-httpd-php .php .phtml
c.. Action application/x-httpd-php "/php/php.exe"