#48597 [Com]: Unclosed array keys break space escaping in $_GET/POST/REQUEST
ID: 48597 Comment by: e dot ehritt at web dot de Reported By: crmalibu at gmail dot com Status: Open Bug Type: *General Issues Operating System: * PHP Version: 5.*, 6CVS (2009-07-01) New Comment: I left a report too. http://bugs.php.net/bug.php?id=49975 If I follow the documentation, a key of an array is a string. That means, a key "abc[des]" is possible. (e. g. $a=array("abc[des]"=>'d'); ) $_POST=array('a'=>array('b[c]'=>'d')); Both should result in even structure, but it does not. There are no reason, why incoming datas could not follow the same rules as data in a script. Previous Comments: [2009-10-14 02:42:39] chrisstocktonaz at gmail dot com Sorry for extra noise.. it seems my patch mixed the case of something like: Expected result: Array ( [goodvar___] => [goodarray] => Array ( [foo] => ) [badvar_] => ) Actual result: -- Array ( [goodvar___] => [goodarray] => Array ( [foo] => ) [badvar_ . [] => ) -- Edit this bug report at http://bugs.php.net/?id=48597&edit=1
#49975 [NEW]: malformation of request data
From: e dot ehritt at web dot de Operating system: PHP version: 5.3.1RC2 PHP Bug Type: *General Issues Bug description: malformation of request data Description: It occurs in all current versions Incoming request data are malformed: POST / HTTP/1.1 Host: localhost Content-Type: application/x-www-form-urlencoded Content-Length: 17 a%5Bb%5Bc%5D%5D=d Reproduce code: --- # array('b[c]'=>'d')); print_r($_POST); print_r($a); ?> Expected result: Array ( [a] => Array ( [b[c]] => d ) ) Array ( [a] => Array ( [b[c]] => d ) ) Actual result: -- Array ( [a] => Array ( [b[c] => d ) ) Array ( [a] => Array ( [b[c]] => d ) ) So, I miss "]" in POST data. -- Edit bug report at http://bugs.php.net/?id=49975&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49975&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49975&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49975&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49975&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49975&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49975&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49975&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49975&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49975&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49975&r=support Expected behavior: http://bugs.php.net/fix.php?id=49975&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49975&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49975&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49975&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49975&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=49975&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49975&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49975&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49975&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49975&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49975&r=mysqlcfg
#49248 [NEW]: make error
From: e dot ehritt at web dot de Operating system: Linux/2.6.30.4 x86_64 PHP version: 5.3SVN-2009-08-14 (snap) PHP Bug Type: Compile Failure Bug description: make error Description: $ export CFLAGS="-march=athlon64 -O3 -pipe -fstack-protector -fstack-protector-all" export EXTENSION_DIR="/home/eddi/opt/php/5.3.0/lib" ./configure --prefix=/home/eddi/opt/php/5.3.0 --mandir=/home/eddi/opt/man --build=x86_64-pc-linux-gnu --with-config-file-path=/home/eddi/opt/conf --with-zend-vm=GOTO --disable-all --with-bz2=shared --with-curl=shared --with-curlwrappers --with-gd=shared --with-gettext=shared --with-iconv=shared --with-openssl=shared --with-regex=shared --with-xmlrpc=shared --with-xsl=shared --with-zlib=shared --enable-bcmath=shared --enable-calendar=shared --enable-ctype=shared --enable-dom=shared --enable-exif=shared --enable-fileinfo=shared --enable-filter=shared --enable-ftp=shared --enable-hash=shared --enable-libxml=shared --enable-pcntl=shared --enable-phar=shared --enable-posix=shared --enable-shmop=shared --enable-simplexml=shared --enable-soap=shared --enable-sockets=shared --enable-sysvmsg=shared --enable-sysvsem=shared --enable-sysvshm=shared --enable-tokenizer=shared --enable-wddx=shared --enable-xml=shared --enable-xmlreader=shared --enable-xmlwriter=shared --enable-zip=shared --enable-sigchild --enable-cgi --disable-short-tags $ make > /dev/null /home/eddi/opt/src/php5.3-200908132230/ext/date/php_date.c: In function 'date_format': /home/eddi/opt/src/php5.3-200908132230/ext/date/php_date.c:1058: warning: incompatible implicit declaration of built-in function 'llabs' /home/eddi/opt/src/php5.3-200908132230/main/streams/cast.c: In function '_php_stream_cast': /home/eddi/opt/src/php5.3-200908132230/main/streams/cast.c:222: warning: cast to pointer from integer of different size /home/eddi/opt/src/php5.3-200908132230/main/streams/cast.c:225: warning: cast to pointer from integer of different size /home/eddi/opt/src/php5.3-200908132230/Zend/zend_objects.c: In function 'zend_objects_destroy_object': /home/eddi/opt/src/php5.3-200908132230/Zend/zend_objects.c:95: warning: assignment discards qualifiers from pointer target type main/.libs/SAPI.o: In function `sapi_send_headers': SAPI.c:(.text+0x1fca): undefined reference to `zlib_globals' collect2: ld returned 1 exit status make: *** [sapi/cgi/php-cgi] Error 1 Reproduce code: --- $ gcc -v Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --disable-libgcj --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.2-r3 p1.6, pie-10.1.5' Thread model: posix gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) $ ld -v GNU ld (GNU Binutils) 2.18 -- Edit bug report at http://bugs.php.net/?id=49248&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49248&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49248&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49248&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49248&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49248&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49248&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49248&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49248&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49248&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49248&r=support Expected behavior: http://bugs.php.net/fix.php?id=49248&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49248&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49248&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id
#45203 [WFx->Opn]: missing HTTP Vary header
ID: 45203 User updated by: e dot ehritt at web dot de Reported By: e dot ehritt at web dot de -Status: Wont fix +Status: Open Bug Type: Zlib Related Operating System: other PHP Version: 5.2.6 New Comment: It works now. Thanks, but why you fix it this way? zlib.c Use php_enable_output_compression() as standard out put only and put all HTTP staff into it call it from PHP_FUNCTION(ob_gzhandler). Status now is functionally a dupe of code lines: 970 -> 987 and 1059 -> 1075 Previous Comments: [2008-06-11 17:35:44] e dot ehritt at web dot de Last time when I brought you a patch the result was no fixing. Your reaction: Deleting the bug report and avoiding the problem own year later. And now I, sorry _I_, have to turn to mike to help you again? I hope you are able to pick up my e-mail address form the messages, if you are interested getting a fix. All is said. [2008-06-10 23:35:06] j...@php.net Feel free to provide a patch. Otherwise -> Wont fix. Do not reopen this before discussing with m...@php.net about it.. [2008-06-10 10:54:07] e dot ehritt at web dot de May you have kindness and have a look at source code? Thanks! Now hander ob_gzhander sends the HTTP header. It shows you: It is possible to merge into 5.2. You are able to do so as well. [2008-06-09 08:47:21] j...@php.net And as was mentioned in bug #40325, it was fixed in HEAD (as in: PHP 6) but the fix was not possible to be merged to 5.2 branch. [2008-06-07 17:07:16] e dot ehritt at web dot de Description: If configuration of zlib.output_compression zlib.output_compression_level is seeded in a php.ini, not at all there are a header "Vary". RFC 2616 section 14.44 requires own. It is the same problem as discribe in http://bugs.php.net/40325 ob_start('ob_gzhander') is not the only way to start output compression. -- Edit this bug report at http://bugs.php.net/?id=45203&edit=1
#45202 [NoF->Opn]: zlib.output_compression can not be set with ini_set()
ID: 45202 User updated by: e dot ehritt at web dot de Reported By: e dot ehritt at web dot de -Status: No Feedback +Status: Open Bug Type: Zlib Related Operating System: Linux 2.6.24.7 i686 PHP Version: 5.2.6 New Comment: 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. Previous Comments: [2009-05-01 01:00:02] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, 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". [2009-04-23 16:45:25] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ [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 Supportenabled
#45203 [WFx]: missing HTTP Vary header
ID: 45203 User updated by: e dot ehritt at web dot de Reported By: e dot ehritt at web dot de Status: Wont fix Bug Type: Zlib Related Operating System: other PHP Version: 5.2.6 New Comment: Last time when I brought you a patch the result was no fixing. Your reaction: Deleting the bug report and avoiding the problem own year later. And now I, sorry _I_, have to turn to mike to help you again? I hope you are able to pick up my e-mail address form the messages, if you are interested getting a fix. All is said. Previous Comments: [2008-06-10 23:35:06] [EMAIL PROTECTED] Feel free to provide a patch. Otherwise -> Wont fix. Do not reopen this before discussing with [EMAIL PROTECTED] about it.. [2008-06-10 10:54:07] e dot ehritt at web dot de May you have kindness and have a look at source code? Thanks! Now hander ob_gzhander sends the HTTP header. It shows you: It is possible to merge into 5.2. You are able to do so as well. [2008-06-09 08:47:21] [EMAIL PROTECTED] And as was mentioned in bug #40325, it was fixed in HEAD (as in: PHP 6) but the fix was not possible to be merged to 5.2 branch. [2008-06-07 17:07:16] e dot ehritt at web dot de Description: If configuration of zlib.output_compression zlib.output_compression_level is seeded in a php.ini, not at all there are a header "Vary". RFC 2616 section 14.44 requires own. It is the same problem as discribe in http://bugs.php.net/40325 ob_start('ob_gzhander') is not the only way to start output compression. -- Edit this bug report at http://bugs.php.net/?id=45203&edit=1
#45203 [Csd->Opn]: missing HTTP Vary header
ID: 45203 User updated by: e dot ehritt at web dot de Reported By: e dot ehritt at web dot de -Status: Closed +Status: Open Bug Type: Zlib Related Operating System: other PHP Version: 5.2.6 New Comment: May you have kindness and have a look at source code? Thanks! Now hander ob_gzhander sends the HTTP header. It shows you: It is possible to merge into 5.2. You are able to do so as well. Previous Comments: [2008-06-09 08:47:21] [EMAIL PROTECTED] And as was mentioned in bug #40325, it was fixed in HEAD (as in: PHP 6) but the fix was not possible to be merged to 5.2 branch. [2008-06-07 17:07:16] e dot ehritt at web dot de Description: If configuration of zlib.output_compression zlib.output_compression_level is seeded in a php.ini, not at all there are a header "Vary". RFC 2616 section 14.44 requires own. It is the same problem as discribe in http://bugs.php.net/40325 ob_start('ob_gzhander') is not the only way to start output compression. -- Edit this bug report at http://bugs.php.net/?id=45203&edit=1
#45203 [NEW]: missing HTTP Vary header
From: e dot ehritt at web dot de Operating system: other PHP version: 5.2.6 PHP Bug Type: Zlib Related Bug description: missing HTTP Vary header Description: If configuration of zlib.output_compression zlib.output_compression_level is seeded in a php.ini, not at all there are a header "Vary". RFC 2616 section 14.44 requires own. It is the same problem as discribe in http://bugs.php.net/40325 ob_start('ob_gzhander') is not the only way to start output compression. -- Edit bug report at http://bugs.php.net/?id=45203&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45203&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45203&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45203&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45203&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45203&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45203&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=45203&r=needscript Try newer version:http://bugs.php.net/fix.php?id=45203&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45203&r=support Expected behavior:http://bugs.php.net/fix.php?id=45203&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45203&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45203&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45203&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45203&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45203&r=dst IIS Stability:http://bugs.php.net/fix.php?id=45203&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45203&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45203&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45203&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=45203&r=mysqlcfg
#45202 [NEW]: configuration failed
From: e dot ehritt at web dot de Operating system: Linux 2.6.24.7 i686 PHP version: 5.2.6 PHP Bug Type: Zlib Related Bug description: configuration failed 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 Supportenabled Relevant Part of phpinfo() ZLib Support enabled Stream Wrapper support compress.zlib:// Stream Filtersupport zlib.inflate, zlib.deflate Compiled Version 1.2.3 Linked Version 1.2.3 Directive LocalMaster zlib.output_compressionOn Off zlib.output_compression_level 9-1 zlib.output_handlerno 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: --- -- Edit bug report at http://bugs.php.net/?id=45202&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45202&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45202&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45202&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45202&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45202&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45202&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=45202&r=needscript Try newer version:http://bugs.php.net/fix.php?id=45202&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45202&r=support Expected behavior:http://bugs.php.net/fix.php?id=45202&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45202&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45202&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45202&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45202&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45202&r=dst IIS Stability:http://bugs.php.net/fix.php?id=45202&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45202&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45202&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45202&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=45202&r=mysqlcfg