Re: /php-4.3.4-Win32/php.exe/index.php not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:/php-4.3.4-Win32/

extension_dir = c:/php-4.3.4-Win32/extensions/


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?


-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux