Bug #13852 Updated: zlib file reading functions not working in Apache Module version
| From: | jeroen@php.net | Date: | Sun, 28 Oct 2001 16:37:49 +0000 |
| Subject: | Bug #13852 Updated: zlib file reading functions not working in Apache Module version | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69188@lists.php.net to get a copy of this message | ||
ID: 13852
Updated by: jeroen
Reported By: me@phillipoertel.com
Old Status: Open
Status: Bogus
Bug Type: Zlib Related
Operating System: Windows 2000
PHP Version: 4.0.4pl1
New Comment:
Probably not a bug (cgi does work, so very unlikely to be a bug in PHP or zlib). Ask support
questions on http://www.php.net/support.php , or reopen
if I'm wrong.
Try this:
Please check the location of your php.ini, that you're editing the right one. (check wether
modifications show up in a phpinfo() page).
And check your error reporting level, set it to E_ALL (error_reporting(E_ALL); before anything). My
guess is it's giving undefined function errors.
Previous Comments:
------------------------------------------------------------------------
[2001-10-27 16:58:01] me@phillipoertel.com
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 this bug report at http://bugs.php.net/?id=13852&edit=1