ID: 21854 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Zlib Related Operating System: Redhat 7.2 PHP Version: 4.3.0 New Comment:
Is zlib.output_compression the only setting you have changed from the php.ini? And which one did you use as base, php.ini-dist or php.ini-recommended ? Previous Comments: ------------------------------------------------------------------------ [2003-01-28 22:05:31] [EMAIL PROTECTED] This also still happens with php4-STABLE-200301282030 ------------------------------------------------------------------------ [2003-01-28 16:57:14] [EMAIL PROTECTED] Compiled this the same expect without the --enable-debug on a different server also running Redhat 7.2. The results are a little different. (Could be the same there is alot less traffic on this server). Basicly i can sit there refreshing a page and sometimes it will compress it sometimes it will not. Below are some of the access log entrys you can see by the sizes of the pages when it is compressing and when it is not. This can also been seen by refreshing phpinfo(); with a browser but no way to really show you that. 209.12.56.114 - - [28/Jan/2003:16:37:33 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:35 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:37 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:39 -0600] "GET / HTTP/1.0" 200 1967 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:41 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:42 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:44 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:46 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:48 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:50 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:53 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:55 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:57 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:37:59 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:38:01 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:38:03 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:38:05 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:38:17 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:38:21 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:38:26 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:38:29 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:38:31 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:38:33 -0600] "GET / HTTP/1.0" 200 9843 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 209.12.56.114 - - [28/Jan/2003:16:38:36 -0600] "GET / HTTP/1.0" 200 1967 "http://Leknor.com/code/gziped.php" "Leknor.com gzip tester" 66.182.128.203 - - [28/Jan/2003:16:49:39 -0600] "GET / HTTP/1.0" 200 1967 "-" "ApacheBench/1.3d" 66.182.128.203 - - [28/Jan/2003:16:49:39 -0600] "GET / HTTP/1.0" 200 9843 "-" "ApacheBench/1.3d" 66.182.128.203 - - [28/Jan/2003:16:49:39 -0600] "GET / HTTP/1.0" 200 9843 "-" "ApacheBench/1.3d" 66.182.128.203 - - [28/Jan/2003:16:49:39 -0600] "GET / HTTP/1.0" 200 9843 "-" "ApacheBench/1.3d" 66.182.128.203 - - [28/Jan/2003:16:49:39 -0600] "GET / HTTP/1.0" 200 9843 "-" "ApacheBench/1.3d" 66.182.128.203 - - [28/Jan/2003:16:49:39 -0600] "GET / HTTP/1.0" 200 9843 "-" "ApacheBench/1.3d" 66.182.128.203 - - [28/Jan/2003:16:49:39 -0600] "GET / HTTP/1.0" 200 1967 "-" "ApacheBench/1.3d" 66.182.128.203 - - [28/Jan/2003:16:49:39 -0600] "GET / HTTP/1.0" 200 1967 "-" "ApacheBench/1.3d" ------------------------------------------------------------------------ [2003-01-23 20:19:37] [EMAIL PROTECTED] ./configure --with-mysql=/usr --with-apxs=/usr/local/apache/bin/apxs --with-zlib --with-gd --with-gmp --enable-bcmath --enable-sockets --enable-debug php.ini zlib.output_compression = On Apache 1.2.37 ./configure \ "--with-layout=Apache" \ "--enable-module=most" \ "--enable-shared=max" \ After the server is running for about 30seconds to 1 min it stops compressing pages. This can been seen by looking at HTTP Response Headers in phpinfo(); and also using http://leknor.com/code/gziped.php to check the page. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21854&edit=1