ID: 26613 User updated by: sabio71 at hotmail dot com Reported By: sabio71 at hotmail dot com Status: Open Bug Type: Zlib Related Operating System: slackware 9.1 stable patched PHP Version: 4.3.4 New Comment:
THE WORKING CONFIGURATION apache 1.3.27 php 4.2.3 (NOT 4.3.2 as erroneously stated before) i've compiled also php 4.1.2 same results... DEFINITELY I HAVE A PROBLEM WITH MY SOFTWARE PLATFORM more coming .. stay tuned Previous Comments: ------------------------------------------------------------------------ [2003-12-22 12:53:51] sabio71 at hotmail dot com Some More Testing... at the moment i'm not able to say anything more... i've finally compiled php 4.3.2 (which have problems with undefined reference of 'errno', solved including errno.h in my_sys.h) with apache 1.3.29 on a slackware 9.1 STABLE with patches applied (but original kernel 2.4.22, NOT 2.4.23) even with this configuration php doesn't use compression... i don't believe anymore is a php fault ... pheraps there is something different involved ... however it is strange that php on this platform is unable to understand it CAN send compressed... the configuration that worked a year and half ago was slackware 8.0 (kernel 2.2.22) apache 1.3.27 php 4.3.2 i'm going on with more testing ------------------------------------------------------------------------ [2003-12-22 09:24:25] sabio71 at hotmail dot com Still Not Working... i'm using php4-STABLE-200312221230, and setting ob_gzhandler doesn't yield a compressed stream... moreover i'm getting some messages from php, complaining about not being able to set cookies because "headers already sent"... but this is probably an ez-publish 2.1 code-base fault... (i think so even if php4.3.2 worked flawlessly) may i help a bit more ??? if u think i can embrace some deeper debugging let me know it is very important to get compression work as my ISP charges me for the traffic i generate... greeting from Italy and Merry Christmas :) ------------------------------------------------------------------------ [2003-12-19 04:09:43] sabio71 at hotmail dot com i'm downloading CVS today (2003 12 19) ... more feedback as soon as possible... thanx in advance ... Fabio :) ------------------------------------------------------------------------ [2003-12-18 16:34:27] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-12-15 06:08:51] sabio71 at hotmail dot com A MORE CLEAR EXPLANATION yes ILIA, for sure :) !!!. I'm using ie 5, ie 5.5, ie 6, netscape 6, mozilla, konqueror, even lynx ... i've made some other attempts, in particular i've checked if 1) for some reasons apache was not passing through to php "accept-encoding" but, obviously it is not the case 2) it makes thing behaves differently pokeing with php.ini, like setting [output_buffering = 4096; AND output_handler = ob_gzhandler] OR [output_handler = ; AND zlib.output_compression = On] and calling ob_start() instead of ob_start("ob_gzhandler") none of the two seems working. Moreover, it seems the semantic of calling sequence ob_start ... ob_end_flush has changed a bit from version 4.2.3 (yes i know it is VERY VERY old and perhaps the changed behaviour il well documented) in few words, i'm using an old version of ez-publish (2.1) that works with apache 1.3.27 and php 4.2.3 on linux... with that combination the system works and compress the http output stream... on a apache 1.3.29 with brand new php 4.3.4 simply it doesn't... moreover (but this is ez-publish code-base fault) on php 4.3.4 there are some Warnings that impose modification to code-base in order to get a working configuration... (a not so painless up-grade :) ) however the simple code [short script descripting] <?php ob_start("ob_gzhandler"); .. . . ob_end_flush(); ?> still doesn't send a compressed stream... hoping to be the more clear that i can greetings from italy ------------------------------------------------------------------------ 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/26613 -- Edit this bug report at http://bugs.php.net/?id=26613&edit=1