ID: 29350 Comment by: reuf_m at hotmail dot com Reported By: marcel at virtua dot ch Status: Open Bug Type: Output Control Operating System: FreeBSD 4.8p24 PHP Version: 4.3.8 New Comment:
System ------ FreeBSD 5.3 BETA 6 AMD64(tried on 5.2.1 also); Apache/2.0.50 (FreeBSD) PHP/5.0.1 "zlib" is loaded as module. Result (here phpinfo(); with zlib compression ON) ------ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title></title> </head> <body> ‹ </body> </html> -------------------------------------------------- Previous Comments: ------------------------------------------------------------------------ [2004-07-29 00:32:50] frank at atteveld dot demon dot nl I have the same problem. Zlib won't work when it's compilled as a module. Therefor I have to add it to the Makefile myself. I'm running a FreeBSD I386 5.2-release with php 4.3.8 ------------------------------------------------------------------------ [2004-07-23 14:13:00] marcel at virtua dot ch Description: ------------ After installing lang/php4-4.3.8_1 + php4-zlib and setting "zlib.output_compression = On" in php.ini, all I get is garbage (looking like compressed data). Tried different browsers. I had to compile php with --with-zlib, and not with zlib as a loadable module to get it working correctly. Reproduce code: --------------- any .php file Expected result: ---------------- normal html code Actual result: -------------- unreadable binary data. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29350&edit=1