ID: 45202 Updated by: [email protected] Reported By: e dot ehritt at web dot de -Status: Open +Status: Closed Bug Type: Zlib Related Operating System: Linux 2.6.24.7 i686 PHP Version: 5.2.6 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2009-05-25 18:54:55] e dot ehritt at web dot de Bug is reproducible on different system and other versions (x86_64-pc-linux-gnu 2.6.29.3 / php5.3-200905242230 / httpd-2.2.11) ,changes are undiscernible. Furthermore I starded a comparing test and set adequate directives in my php.in. In Konqueror (KDE-Browser) I saw that: ¬WëoÛ6ÿ޿⪢C[XOÇiý\ÛA8{m·/-Ñ(*¶ìßQ²35Q4àH÷¾#{¯Ç£Å³ D*aöÇçéÙÓ¶¿6G¶=^áÛéâ| ®åÀB1Å'±mO.0ÀÞ让*«V cðª§W½ ÚÆÔ6¥}CѲý,C¢¥¶p»$þu(eÎÓ±x³*.ìÇnñtÿ...@ø¹øõàv%¸2w$añ¶Êbft²Ò§ÂmbdÈxtÓ hÁe")éÄ_Ãmg»Ý-¯P_H¢5ì váq©5T$n¨Û{Jä£*²D£Ü. Ä9 4£Ø¿!åS®îHÌBÄ(ç*«; (õ4cºR ¹Ýýdat7WÅÒ´U¤aò×,I T«. à ù²½nºLÄ,¸ótiæ�...@}>¶ÞvÍ¡Oâ=ðdtgÈÝy°$w[Î[=ëý<ëµô¬þl½ü´6||t8kZa)â &²¬¨¢ï?âæQ)4D ½<¸¡ªháÁh§xug³÷w´#ò...@e8v 8À±º¢¶®<`ܳ¤ÆäVL᥯Ļ÷=»è%Tà$Á¿ºü|¹áÄU߸¸<»O¾5..O.§Ó˯ø2¼}`zö®nètôv~L²¬oñ¨ëKô¥À}ÃAlÇ) ÆÃ¾Ñ4 Pºo Ò¹ÜCDÆ §48HÒN(vl{½^[¨Å©²D¶I¿oØfÊèä±ÒÄ¿÷g§³I»uüé¤yd¼O¦ë9üxÜ6g8tw8:9ò 1ªÔ0¡($xݽx©1Ы_¨Ì...@ËjzÎÕ¨ÕãÍᢼ6j?²xÕÚzk@/° ¶À15óm¦h%WnÁñsJ]Î<ëØòÚðÆmÃ"§pN¶¯Óiz£&óxX4aóéøûñT%~ÀósÎâ ÆDÑ:¾ÛkhN³ÓÂso$ø 9ÖûHÂ:XøíÓlw-ÛßS°[0Ml+¶éÛH¨MѶH®¶H·aO¿ÔjôK ÍÔ7cm03äù=º5SIÒMæÝÇ&Ø"j{g¹®½dÜÖduÛK¡Í©tè=$½þÔ¾Ì'Ü ¬îMóeÌüïºcßÛ°L¡ýÊAÌË8ÎÎê?,Å(ràý#åA´/LªÄ0fúJÈ-ÌóT·¡:pʵ Áób¤hÆpöw:ågïaC®1òa.SA¤ÙóÐíHOØ]eÞÄö$Aç{yb»öwöÏë³Ö§Df4x>½j¯3Ó ð ÂpäzXl°Õµ´¦í¸î0Q,#q^TÖ¾ºÝ!6ó_Qò æs!ÇtCqqxû* `NVTm_¥ ±Îi¢3þpÞba·fË-vdWêÀ;Ýÿç2tEC W"öá\¡ÕÚLÅti©Ö0ËD¼óàçõ/lYYfýÙàÙK¦0þ5UåõNëT+ òQèÎ6ú5üU>Xþp\)ÇK å6°)6¦²2ź2ÖéwEÂLëÛ õ¡xÍòâý/]Qί íb}ÿóôTþÑä<ó¢£dëGÉ"²ãÊYòÕB7TP¢Árõ9Ï(¶ ýÜG³)Ô¦9¦L8^iç ÿÿ´YaoÚ<þ+Ñ>L[µël«ä7Do0c:MÓ¥ßbJ /Û¯ßÙN`ëuÝrgÌsÉÝùî9W;Cnz^g«·zYËw¤>/´Åê«4´úlò\n·cËB£ÕH¤¾O2måH,æùGëlïT³§Î;ç§jÚmÜu¤§Ú6j£®ý ¿9ovpKN)ºDbHC¾ÉÝÖDú`ä§]|ëHÛznYévD¢9sÍZý¬çÈÎ#ñ"...@9:Þ«õÙA A¬N[« tÓ%´m8u11Úgè ð²Y3~¤_ãD¶>î K*©9,Í^÷Ãæ#íÊXÁýÏdB<&¥Mf|ª¨49*¨µüLv+B´y5![¡ªEzºR긢e<㥦ÉLl¸¤¾Nþ_óÜ´Ó¿ÒÔ=ÇüLOO* Ik` Âñ9ò°«W#5 ya`B:4±±±O\ó´×Øfë°\ç+ÙTêqåDè¡ÑÈsÄÆÔèºw\Ϋwúhñ³záûÌxuW üA0rÔïSJ¯×ªõûaH)Ñ©` ø!#7ßñØ'h²ÇºÚûÄ÷Çà#L=8{Þ%)VÉÖýq¤3ËbñºÙ~íGp#ѧȡ»^£õ²f^Ð Ø\üe¨¢äÃXä6û&w_5K ~Fñß:½Åó©ñÎP¬V>æÂѨÿʤAνôF¬ÅùBþ7.[Åéû'Y1²&+¹Äþwý ÿÿÌZMOÃ0ý7ÜÆ~ '¸Ñ#7+KÓQÅQ>èöïÛ&µ¥Ê"K;¿$¶g¿ïâ-ʰÃç;z T gP®7óȹЮÐ6Ï#y-? »wê±»pðÝ ZK?0F»âöO¤c>!¬¢Xoº¢Þ<%ÛÖÕKµ½dgÿwûhWZ¨[EbqbÊK§ûÏÊK&%vHpTCëð ËMp⩲óUM Nx#¡A-Tv«âÒ×ÉÙ6ÍÔèUË;[Ш=}6À°.üÅ3©ùP̬ЬoñÝ·J{°rÇúaz|}ô.;|;âÓ!Dê¾4OS¾1HB>Z+2ɬ6¢ÜBö;˾9PddÀS²5øè:ãÙv¤UìÙRñ3vòÅu:¡iÚͼi¯ñjh�...@ÔaÆfj£Ñ¨uÌ8¯'¯ó r0by8Q!b)¨"ˤw¨e&w÷î?ÿì|û5ô!ë!BÑåL4®Þ©uª§dëRUý$Ýäµñ)NóÛÅuÄl÷Ûµÿ¸2/ That means, PHP do not respect RFC 2616. Strict standard conform browser needs a response header Content-Encoding and Vary ob_gzhander sends the HTTP headers. It shows you: It is possible to merge into version 5.2 and later. You are able to do so as well. ------------------------------------------------------------------------ [2009-04-21 10:04:24] dypa at bk dot ru not reproduced in win 5.2.9-2 not reproduced in 5.2.6-1+lenny2 ------------------------------------------------------------------------ [2008-06-07 16:38:11] e dot ehritt at web dot de Description: ------------ Configure Command ./configure --prefix=/opt/php/526 --mandir=/opt/php/man --disable-all --disable-cgi --disable-short-tags --enable-memory-limit --with-apxs2=/opt/apache/228/bin/apxs --with-config-file-path=/opt/conf --with-zend-vm=GOTO Server API Apache 2.0 Handler PHP API 20041225 PHP Extension 20060613 Zend Extension 220060519 Debug Build no Thread Safety enabled Zend Memory Manager enabled IPv6 Support enabled Relevant Part of phpinfo() ZLib Support enabled Stream Wrapper support compress.zlib:// Stream Filter support zlib.inflate, zlib.deflate Compiled Version 1.2.3 Linked Version 1.2.3 Directive Local Master zlib.output_compression On Off zlib.output_compression_level 9 -1 zlib.output_handler no value no value ### Description ### If configuration of zlib.output_compression zlib.output_compression_level is seeded in a php.ini, there are no problems. Output is managed as configured. If configuration of zlib.output_compression zlib.output_compression_level is determined by ini_set(), phpinfo() adopt it but not at all output is compressed. As you can see other Modules are not enabled. Additional zlib extension was built by phpize. Reproduce code: --------------- <?php ini_set('zlib.output_compression',true); ini_set('zlib.output_compression_level',9); phpinfo(); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45202&edit=1
