[Mod_gzip] Empty output with all .php pages
Matt Dickinson
mod_gzip@lists.over.net
Sun, 27 Apr 2003 15:33:43 +0100
Hi
Just setup a RH9 system (httpd-2.0.40-21.1, php-4.2.2-17), and added
mod_gzip-2.0.40 as a DSO. Static HTML content compresses nicely,
[27/Apr/2003:15:30:32 +0100] "GET / HTTP/1.1" 403 1305 "-" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.3a; MultiZilla v1.4.0.3H)
Gecko/20030312" In:2898 Out:1305:55pct
But when I get to any php output, then there's nothing outputted, save for
<html><body></body></html>
[27/Apr/2003:15:31:07 +0100] "GET /phpinfo.php HTTP/1.1" 200 50057 "-"
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a; MultiZilla
v1.4.0.3H) Gecko/20030312" In:0 Out:0:0pct.
This phpinfo.php script just runs <? phpinfo(); ?>. It works uncompressed,
ie when mod_gzip if Off, or the \.php$ type isn't included. It would appear
though, that the php script outputs the html (hence the 50057), and the
mod_gzpip munges it.
Does anyone have any ideas?
Thanks,
Matt