#20275 [Com]: Zlib problem

2002-11-06 Thread michal
 ID:   20275
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Zlib Related
 Operating System: Redhat 7.3
 PHP Version:  4CVS-2002-11-06
 New Comment:

Hi.

Sorry. I wrote bad version. I means zlib 1.1.3 which still do that
problem. How can i install zlib 1.1.4. When i compile zlib source
distribution, zlib.so was not compiled. only zlib.a


Thank you.


Previous Comments:


[2002-11-06 08:29:35] [EMAIL PROTECTED]

zlib 1.0.3 is fairly old, considering that the current version is
1.1.4. Upgrade will definately solve @least 1 security vunreability in
zlib and very well may resolve the problem with page compression you
are seeing with PHP.



[2002-11-06 03:15:17] [EMAIL PROTECTED]

Hello.

I have installed newest STABLE PHP4 and Apache 2.0.40.

I have this problem with Zlib version 1.0.3 which is included in PHP4
STABLE.

I am using IE 5.5 at Win2k Prof.

When i am try open some gzipped page (.php script) i get unreadable
code (packed code). But only at some pages. Not at all pages. I am
reinstall system and everything is the same. I am not behind the proxy.
Can you tell me, if Zlib 1.0.3 have some bug?
When i have Apache 1.2.26 and PHP 4.1.2 everything was good.
I am dont using global compress. I am active compress in php script by
this lines:

if (strstr($HTTP_USER_AGENT,'compatible') ) {
 if (extension_loaded('zlib') ) {
   ob_start('ob_gzhandler');
 }
}

Thank you.

Michal Vrabel.




-- 
Edit this bug report at http://bugs.php.net/?id=20275edit=1




#20275 [Com]: Zlib problem

2002-11-06 Thread michal
 ID:   20275
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Zlib Related
 Operating System: Redhat 7.3
 PHP Version:  4CVS-2002-11-06
 New Comment:

Hello.

I tryed this:

Reinstal PC with Windows 2000 Prof, which includes IE 5.0. In IE 5.0
was the same problem. Then i install SP3 for W2K, IE 5.5 and the
problem was still. My friend with IE 5.x(??) try it too, but he have
the same problem with page, which i cannot open too.
I try open that pages at Netscape 7.0 and everything was ok... But when
i had Apache 1.2.x and PHP 4.1.2 i have no problem. Problem is now,
when i uses Apache 2 and PHP 4.3.0-dev.

Thankx.


Previous Comments:


[2002-11-06 12:55:50] [EMAIL PROTECTED]

You can make libz.so (shared zlib library) by adding -shared flag to
the compile line. However, 1.1.3 is fairly recent, so it should be ok
to use (that's what I have). Have you tried to verify this bug in other
browsers such as Mozilla, IE 6.0, Opera? It may be that you've come
across a quirck in your installation of IE 5.5



[2002-11-06 12:48:24] [EMAIL PROTECTED]

Hi.

Sorry. I wrote bad version. I means zlib 1.1.3 which still do that
problem. How can i install zlib 1.1.4. When i compile zlib source
distribution, zlib.so was not compiled. only zlib.a


Thank you.



[2002-11-06 08:29:35] [EMAIL PROTECTED]

zlib 1.0.3 is fairly old, considering that the current version is
1.1.4. Upgrade will definately solve @least 1 security vunreability in
zlib and very well may resolve the problem with page compression you
are seeing with PHP.



[2002-11-06 03:15:17] [EMAIL PROTECTED]

Hello.

I have installed newest STABLE PHP4 and Apache 2.0.40.

I have this problem with Zlib version 1.0.3 which is included in PHP4
STABLE.

I am using IE 5.5 at Win2k Prof.

When i am try open some gzipped page (.php script) i get unreadable
code (packed code). But only at some pages. Not at all pages. I am
reinstall system and everything is the same. I am not behind the proxy.
Can you tell me, if Zlib 1.0.3 have some bug?
When i have Apache 1.2.26 and PHP 4.1.2 everything was good.
I am dont using global compress. I am active compress in php script by
this lines:

if (strstr($HTTP_USER_AGENT,'compatible') ) {
 if (extension_loaded('zlib') ) {
   ob_start('ob_gzhandler');
 }
}

Thank you.

Michal Vrabel.




-- 
Edit this bug report at http://bugs.php.net/?id=20275edit=1