Re: Apache no see PHP - solved!

From: Date: Thu, 05 Apr 2001 12:31:45 +0000
Subject: Re: Apache no see PHP - solved!
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-6532@lists.php.net to get a copy of this message
Problem solved! Thank you for pointing me to error.log! It read [Wed Apr 04 17:11:55 2001] [error] [client 127.0.0.1] File does not exist: c:/program files/apache group/apache/htdocs/php4/php.exe/test1.php Note the peculiar path. Now I looked in httpd.conf: ScriptAlias /php4/ "C:/PHP4/" AddType application/x-httpd-php4 .php Action application/x-httpd-php4 "/PHP4/php.exe" I made PHP4 in the last line lower case and that did the trick! Thanks again, Marco At 10:33 5-4-01 +0900, Yasuo wrote:
Hello Marco, How about post again with following info. - your OS and Version - your Apache version - exact error messages you've got in apache error log. - your PHP version and its API (CGI or SAPI) - your httpd.conf that relates to PHP (See PHP Manual what configuration directives are related to PHP.) I might be able to help you as well as others might. Regards, -- Yasuo Ohgaki
At 21:26 4-4-01 -0500, Gaylen wrote:
It sounds like you may not have associated the php extension with PHP in Apache. Have you?
----- Original Message ----- From: "Marco Bleeker" <botanicus@euronet.nl> To: "Yasuo Ohgaki" <yohgaki@hotmail.com> Sent: Thursday, April 05, 2001 12:14 AM Subject: Re: [PHP-WIN] Apache no see PHP At 10:23 4-4-01 +0900, you wrote:
Do you have DirectoryIndex index.html index.php in your httpd.conf?
It did not list index.php, just index.html. I have put index.php in it now, but that did not help much. Now I get the not found (404) error immediately, instead of the directory listing. Problem is not just with index.php but with all .php files. None of them are found in MSIE 5.5 Marco
| | Marco Bleeker, Amsterdam | botanicus@euronet.nl | http://www.euronet.nl/users/mbleeker/ | | Attachments only after prior notice please. | Don't put me on any kind of mailing list. | | I am now receiving the Snowhite virus 4x a day | - some of you must be infected, please check ! | (No, you did not get it from me, I use Eudora)
|     __@
| _`\<,_ |__(*)/ (*)________________Ah, op DIE fiets !

« previous php.windows (#6532) next »