|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-12-13 04:48 UTC] sabio71 at hotmail dot com
Description:
------------
[configure line]
./configure --with-mysql --with-apache=../apache_1.3.29
[changes to php.ini]
for legacy reasons: register_globals = On
simply put, it seems it doesn't compress ...
i strongly believe is my fault, but i'm not able to figure why
i've tried also with "output_handler = ob_gzhandler" but nothing
Reproduce code:
---------------
[short script descripting]
<?php
ob_start("ob_gzhandler");
..
.
.
ob_end_flush();
?>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 03:00:01 2025 UTC |
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