Bug zlib.output_compression not normal work in IIS7.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How I do fix it ?


https://bugs.php.net/bug.php?id=61434 




ID:                 61434  User updated by:    info at ongod dot org  Reported by:        info at ongod dot org  Summary:            zlib.output_compression not normal work in IIS7.5  Status:             Not a bug  Type:               Bug  Package:            Zlib related  Operating System:   windows2008R2x64  PHP Version:        5.4.0  Block user comment: N  Private report:     N  New Comment: it is Should be clean code for check. php5.4 not normal work.  but php5.3.10  normal work in the same server.  who tell me why this ? http://www.ongod.org/test/phpinfo.php Web page compressed?	No Compression type?	none Size, Markup (bytes)	83,611 Size, Compressed (bytes)	0 Compression %	0.0 php5.3.10 http://mail.ipv6china.com/phpinfo.php Web page compressed?	Yes Compression type?	gzip Size, Markup (bytes)	87,124 Size, Compressed (bytes)	13,730 Compression %	84.2 check from http://www.gidnetwork.com/tools/gzip-test.php Previous Comments: ------------------------------------------------------------------------ [2012-03-19 14:14:54] pajoye@xxxxxxx ok, not a bug but a support issue. @info at ongod dot org Please ask further support on the PHP general mailing list or any other support  channel, thanks! ------------------------------------------------------------------------ [2012-03-19 14:10:56] ab@xxxxxxx I cannot reproduce the issue, tried with the latest php 5.4 and IIS7. IIS7 has  compression turned off and the php.ini has both zlib.output_compression=on and  zlib.output_compression_level=-1 set. The page is merely a phpinfo() page. Here  the simple ping pong: GET /i.php HTTP/1.1 Host: localhost Connection: keep-alive Cache-Control: max-age=0 User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.11 (KHTML, like Gecko)  Chrome/17.0.963.79 Safari/535.11 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip,deflate,sdch Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 HTTP/1.1 200 OK Content-Type: text/html Content-Encoding: gzip Vary: Accept-Encoding Server: Microsoft-IIS/7.5 X-Powered-By: PHP/5.4.1RC1-dev Date: Mon, 19 Mar 2012 14:00:09 GMT Content-Length: 6182 The output compression seems to work.  @info at ongod dot org Could you please try such a simple page scenario and post the request/response  headers? ------------------------------------------------------------------------ [2012-03-19 14:01:26] nacin at wordpress dot org I can confirm that WordPress 3.3.1 does not set zlib.output_compression. Looks  like WP never has. ------------------------------------------------------------------------ [2012-03-19 11:40:20] info at ongod dot org Security reasons, I would also send an email to you. ------------------------------------------------------------------------ [2012-03-19 11:25:40] mike@xxxxxxx zlib.output_compression can be disabled at runtime at later stage in PHP 5.4. I'd probably be lost on a Windows box, so I don't think I could help you there. ------------------------------------------------------------------------ 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     https://bugs.php.net/bug.php?id=61434

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux