Re: /php-4.3.4-Win32/php.exe/index.php not found
| From: | Seung Hwan Kang | Date: | Wed, 03 Dec 2003 15:48:22 +0000 |
| Subject: | Re: /php-4.3.4-Win32/php.exe/index.php not found | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22308@lists.php.net to get a copy of this message | ||
Your conf. is not valid. :(
Miroslav Majdan wrote:
Hi. I have configured php and apache 1.3.28 (apache 2.0.48) under Win98 like this php.ini:extension_dir = c:/php-4.3.4-Win32/extensions/extension-dir:/php-4.3.4-Win32/
httpd.conf:
ScriptAlias = "c:\htdocs"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php-4.3.4-Win32/php.exe"
// CGI install - not recommend
ScriptAlias /php/ "c:/php-4.3.4-Win32/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "c:/php-4.3.4-Win32/php.exe"
// module install
LoadModule php4_module "c:/php-4.3.4-Win32/sapi/php4apache.dll"
AddType application/x-httpd-php .php
Action application/x-httpd-php "c:/php-4.3.4-Win32/php.exe"
In c:\htdocs I created simple index.php I asked my browser (IE and Opera) for http://localhost/index.php and I became a message: "The requested URL /php-4.3.4-Win32/php.exe/info.php was not found on this server." When give localhost I became index.html which is correct.(apache works with *.html files correctly) I tried to change Action "../php.exe" to "../php.exe " (added space) so that the request would look like php should open /index.php but it didn't work. Should I reconfigure php so that it would understand the request or what?