#13035 [Com]: 404 on a .php results in SERVER ERROR when using php as a cgi

From: Date: Mon, 20 Nov 2006 19:13:36 +0000
Subject: #13035 [Com]: 404 on a .php results in SERVER ERROR when using php as a cgi
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105215@lists.php.net to get a copy of this message
ID: 13035 Comment by: servers at dedicated4u dot com Reported By: sbeam at ne dot mediaone dot net Status: No Feedback Bug Type: Other web server Operating System: Linux 2.4.6 PHP Version: 4.2.3 New Comment: try for example http://www.dedicated4u.com/ or http://www.dedicated4u.com/dedicated-servers.php directly Previous Comments: ------------------------------------------------------------------------ [2006-11-20 19:11:57] servers at dedicated dot com I have no experience with this, but it may be important to run your projects on hi-quality <a href="www.dedicated4u.com">servers</a>, because sometimes the hardware is important too. If you have your own <a href="www.dedicated4u.com">dedicated server</a>, you can do the setup to perfectly suit your needs. ------------------------------------------------------------------------ [2002-11-14 01:00:02] php-bugs at lists dot php dot net No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-11-01 09:34:17] morissette at dmsolutions dot ca OK, I downloaded and built yesterday's CVS snapshot (php4-200210311500) and the problem is still present: pointing the PHP CGI to a non-existing .php file produces no output, which results in a "missing HTTP headers" error in the Apache error_log. I did not submit the original bug, so I'm not able to reopen this bug myself. BTW, I tried this with an old PHP 3.0.16 CGI to see what it used to do, and PHP3 would produce the following output when pointed to a non-existing PHP file... not quite as good as a real 404 error, but better than nothing: X-Powered-By: PHP/3.0.16 Content-type: text/html <br> <b>Fatal error</b>: Unable to open ttt.php in <b>-</b> on line <b>0</b><br> ------------------------------------------------------------------------ [2002-10-29 04:24:46] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-10-28 23:27:23] yohgaki@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Reopen to confirm if the problem is in 4.3.0-dev ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/13035 -- Edit this bug report at http://bugs.php.net/?id=13035&edit=1

« previous php.bugs (#105215) next »