Re: Bug #13852 Updated: zlib file reading functions not working in Apache Module version
| From: | Paco Ortiz | Date: | Mon, 29 Oct 2001 08:38:06 +0000 |
| Subject: | Re: Bug #13852 Updated: zlib file reading functions not working in Apache Module version | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-69259@lists.php.net to get a copy of this message | ||
Hi,
in case it helps, it works fine for me using 4.0.6, perhaps
you should update.
(Win2000 + PHP 4.0.6 as apache module, Apache Win32 1.3.20,
with Zend Optimizer)
Bye,
F.J. Ortiz
10/28/01 6:55:44 PM, me@phillipoertel.com wrote:
>ID: 13852
>User updated by: me@phillipoertel.com
>Reported By: me@phillipoertel.com
>Status: Bogus
>Bug Type: Zlib Related
>Operating System: Windows 2000
>PHP Version: 4.0.4pl1
>New Comment:
>
>even with error_reporting(E_ALL) i don't get any error messages from the script. i already
>had tried this.
>i have both the cgi and win-apache server module version of php installed parallely. .php files
>are mapped to the php
module and .phpc to cgi. that way it is very easy to compare the output of an identical script by
just renaming it.
>while as cgi the script outputs the textfile as expected, the module doesn't give me
>anything.
>i only have one php.ini on my system, which resides in winnt\system32\php.ini. it is used by the
>cgi and module.
>
><?php
>error_reporting(E_ALL);
>$log = gzfile('test.gz');
>foreach ($log as $l) echo "$l<br>";
>?>
>
>phil.
>
>Previous Comments:
>------------------------------------------------------------------------
>
>[2001-10-28 11:37:48] jeroen@php.net
>
>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.
>
>------------------------------------------------------------------------
>
>[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
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
>For additional commands, e-mail: php-dev-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
___________________________________
Francisco Javier Ortiz Torre
ComuNET,S.A.
mailto:fjortiz@comunet.es
ComuNET, S.A
Gral. Concha 39,6º
48012 Bilbao España
Tel: +34 944 700 101
Fax: +34 944 700 185
http://www.comunet.es
___________________________________