ID: 16109 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Zlib Related Operating System: linux PHP Version: 4.1.2 New Comment:
Welcome to the twilight zone ... After a question from Roger Wetzel, I made a few more tests. It seems the problem is on the netscape side : I tested Netscape 7.0PR1 and the pictures are ok even with zlib.output_compression enabled ... Using my old Netscape 4.77 the problem remains even if the apache httpd.conf contains a KeepAlive set to Off or MaxRequestsPerChild set to 1 ... So it's should not be a keep-alive problem. What still is in question is that when using mod_gzip, the problem doesn't occur. So there is a workaround , either disable zlib.output_compression or use a decent mozilla/netscape. Patrick Previous Comments: ------------------------------------------------------------------------ [2002-05-28 10:23:51] [EMAIL PROTECTED] When I look at http://www.php.net/manual/en/function.ini-set.php it says that the value can be set anywhere (PHP_INI_ALL). Yes, that true what it has no effect. The master value on my computer is "on" and when I set it "off" at the beginning of my script it has no effect (even if phpinfo() tells the local value is "off"). So all pictures I read out from my database are not shown (broken image) in Netscape. Why can't I switch it "off" in a particular script? Is it a problem with the headers (Content-Encoding)? I really would like to have it switched "on" to keep the data transfer as low as possible. But if my pictures aren't shown in Netscape it's of no use. Actually, where is the bug? In the zlib? In Netscape? Roger ------------------------------------------------------------------------ [2002-04-03 15:03:30] [EMAIL PROTECTED] Thanks a lot Sniper ! After a little digging, the only bug report 'related' to the problem discussed here seems bug #10905 which was closed because of no feed back. The strange point about what is happening is that pictures .png or .jpeg are already compressed, due to the format itself ... Also, if I use apache's mod_gzip to compress again the pictures, it works, and other non script generated pictures are ok too. Sounds weird. ;-) Patrick ------------------------------------------------------------------------ [2002-04-03 08:47:40] [EMAIL PROTECTED] If you can't find the number for the other bug report, leave the report open.. ------------------------------------------------------------------------ [2002-04-03 06:32:06] [EMAIL PROTECTED] I'm 100% sure there is a bugreport for this. I don't know the number, I can't find it anymore... ------------------------------------------------------------------------ [2002-03-16 07:08:29] [EMAIL PROTECTED] Which bug number is it ? I tried to find a bug report, but didn't found any. ------------------------------------------------------------------------ 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/16109 -- Edit this bug report at http://bugs.php.net/?id=16109&edit=1