ID: 28227 Updated by: [EMAIL PROTECTED] Reported By: lukem at NetBSD dot org Status: Assigned Bug Type: CGI related Operating System: * PHP Version: 5CVS, 4CVS (2005-02-04) Assigned To: fmk New Comment:
because the patch is not correct and this is an incredibly fragile mechanism due to the wide variety of web servers out there. And despite what the bug report says, PHP does not rely on SCRIPT_FILENAME being present, it simply uses it if it is there. As far as I can tell using ./configure --enable-discard-path should take care of this problem. Previous Comments: ------------------------------------------------------------------------ [2006-05-26 20:52:04] wink15 at hotmail dot com This is getting retarded...Why is this STILL not fixed? Seriously...WTF? ------------------------------------------------------------------------ [2006-03-15 17:00:13] mike dot scarborough at yahoo dot com I tried using Luke's changes within the php-5.1.2 source under netBSD, so that I could use the same bozohttpd server. Those changes didn't seem to help the problem under 5.1.2. I'd like to look into it further, but it would be very helpful if this could get fixed. Lots of times apache and iis are not options for a project. ------------------------------------------------------------------------ [2006-03-04 15:42:59] steve at suzail dot org Still present in php-5.1.2-Win32 What's the big deal with fixing this problem? It's such a major problem but needs so little to fix it. ------------------------------------------------------------------------ [2005-08-04 21:31:43] pgf at foxharp dot boston dot ma dot us why hasn't this been fixed? is there a real problem with fixing it? i'm faced with a bug report against the busybox web server that i'd rather not fix, given that the problem is clearly a php problem. ------------------------------------------------------------------------ [2005-07-26 05:24:44] joey at clean dot q7 dot com it took me many hours of poking around to finally find this page to figure out why php isn't working under the httpd server provided under busybox. php is clearly doing the wrong thing with respect to the cgi specification. SCRIPT_FILENAME is not a standard header and can not be relied on to function. ------------------------------------------------------------------------ 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/28227 -- Edit this bug report at http://bugs.php.net/?id=28227&edit=1