Re: pb install PHP4/Apache/Win98
| From: | Pablo Vera | Date: | Thu, 23 Nov 2000 15:42:56 +0000 |
| Subject: | Re: pb install PHP4/Apache/Win98 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4077@lists.php.net to get a copy of this message | ||
Grenouille:
Try this in your httpd.conf:
ScriptAlias /php/ "C:/Php4/"
AddType application/x-httpd-php .php .php3 .phtml
Action application/x-httpd-php "/php/php.exe"
Remember to use forward slashes only.
Saludos,
Pablo Vera
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Thursday, November 23, 2000, 3:55:36 AM, Grenouille wrote:
GB> Hi ;o))
GB> I've installed Apache 1.3.12 on Win98. the server is running well.
GB> But when I want to test a PHP page like
GB> <?
GB> phpinfo();
?>>
GB> I've got that result :
GB> "Bad Request
GB> Your browser sent a request that this server could not understand.
GB> Invalid URI in request GET /test.php3 HTTP/1.1"
GB> My config is :
GB> Apache on c:\Apache
GB> php4 programs on c:\php4
GB> php.ini on c:\windows
GB> http.conf like this :
GB> ScriptAlias /php3/ "C:\Php4\"
GB> AddType application/x-httpd-php .php
GB> AddType application/x-httpd-php3 .php3
GB> AddType application/x-httpd-php .phtml
GB> AddType application/x-httpd-php3-source .phps
GB> Action application/x-httpd-php3 /../php3/php.exe
GB> Last line was Action application/x-httpd-php3 /php3/php.exe but I had the
GB> result :
GB> "Access forbidden on php3/php.exe/test.php3"
GB> that's why I changed the line...
GB> Can someone help me ?
GB> Thanks ;o))
GB> Marie