From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.4pl1 PHP Bug Type: Zlib Related Bug description: zlib file reading functions not working in Apache Module version
most of the zlib file reading functions, like gzfile,gzread,gzpassthru,gzgetc do not work in the Apache Module version of php. the function returns no value - without outputting any error or warning; sometimes the webserver crashes. when i switched php to run as cgi everything works as expected. don't know if this has been fixed, couldn't find an entry in the bugfinder. phil. running extensions: extension=php_zlib.dll extension=php_sablot.dll extension=php_gd.dll extension=php_pdf.dll demo script (test.gz would be ascii text): $log = gzfile('test.gz'); foreach ($log as $l) echo "$l<br>"; -- Edit bug report at: http://bugs.php.net/?id=13852&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]