|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-10-10 10:58 UTC] jom at grosjo dot net
Description: ------------ Relates to bug #48994 (which I can not modify or re-open) Actually, with the latest snapshot, the setting shall be 'true' and NOT: true 1 This is a real annoying bug. It makes issues in softs like SugarCRM, phpMyAdmin, etc... which believe that 1 is true and is also 'true' Reproduce code: --------------- put 'true' in php.ini and phpMyAdmin works nicely put true or 1 in php.ini, and the display is full of garbage Expected result: ---------------- true, 1, 'true' shall work the same way PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 05:00:01 2025 UTC |
Initial situation: in php.ini: zlib.output_compression=1 This works fine except for phpMyAdmin and SugarSuiteCRM who are sending garbage (i.e. uncompressed instead of compressed or vice versa) The bug fix in SugarSuite is to write an ini_set with not 1 but 'true' with the quotes ("'"). Without the quotes or by writing just 1 , the garbage comes again. Now, I can see that putting 'true' with the quotes actually disable the zlib compression, this is why the garbage disappear, but the problem is that zlib compression as well. How to make this zlib.compression work ? it was very fine in 5.2.9