#21854 [Opn]: Output compression stops working
| From: | rubberneck at wwisp dot com | Date: | Wed, 29 Jan 2003 21:11:35 +0000 |
| Subject: | #21854 [Opn]: Output compression stops working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31627@lists.php.net to get a copy of this message | ||
ID: 21854
User updated by: rubberneck@wwisp.com
Reported By: rubberneck@wwisp.com
Status: Open
Bug Type: Zlib Related
Operating System: Redhat 7.2
PHP Version: 4.3.0
New Comment:
I tried using both .ini files the php.ini-dist and the
php.ini-recommended changing only the zlib.output_compression setting
and still have the same issue.
Previous Comments:
------------------------------------------------------------------------
[2003-01-29 11:38:25] rubberneck@wwisp.com
tux witch ini file did you use the php.ini-dist or the
php.ini-recommended?
------------------------------------------------------------------------
[2003-01-29 07:43:13] tux@devel.ee
i had the same problem, but after the php.ini update, everything worked
fine... tnx sniper...
------------------------------------------------------------------------
[2003-01-29 01:07:09] rubberneck@wwisp.com
My ini file was quit differnt i belive it was from a older version so i
copied over the new one and changed only the
zlib.output_compression setting below is the diff
--- php.ini-recommended Thu Dec 26 08:07:59 2002
+++ /usr/local/lib/php.ini Wed Jan 29 01:03:00 2003
@@ -127,7 +127,7 @@
; also.
; Note: output_handler must be empty if this is set 'On' !!!!
; Instead you must use zlib.output_handler.
-zlib.output_compression = Off
+zlib.output_compression = On
; You cannot specify additional output handlers if
zlib.output_compression
; is activated here. This setting does the same as output_handler but
in
/usr/local/apache/bin/httpd -X
Doing this it still fails only takes about 1 refresh and it's dead.
------------------------------------------------------------------------
[2003-01-29 00:43:44] sniper@php.net
Just add output of this command:
# diff -u php.ini-recommended /usr/local/lib/php.ini
That'll show us what the changes were.
And easier to reproduce this is propably by running apache
in foreground:
# /usr/local/apache/bin/apachectl stop
# /usr/local/apache/bin/httpd -X
Try that and let us know if you can get it fail then.
------------------------------------------------------------------------
[2003-01-29 00:23:00] rubberneck@wwisp.com
I used the php.ini-recommended. If you need i can post all of my
php.ini settings or anything else you need.
Also some updates from testing a little more it seems to stop working
per httpd process. Witch is where the working coming and going is
coming from. Once that once process stops compressing it stops till you
restart apache. I was able to find this by making a script that did
getmypid() and sitting there realoading it checking the pid numbers.
Also the best way i have found to reproduce this is to keep refreshing
a script that has phpinfo(); in it on my servers after about 5-10
refreshes the compression starts going flaky.
------------------------------------------------------------------------
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/21854
--
Edit this bug report at http://bugs.php.net/?id=21854&edit=1