Re: [PHP-DEV] Possible glitch in php-4.0.1pl2 ? From: Andi Gutmans (andi <email protected>)
Date: 07/11/00

At 06:58 PM 7/10/00 +0200, ak47 wrote:
><cut>
>6) I've made a diff between
> /usr/src/php-4.0.0/ext/zlib/php_zlib.h
>and
> /usr/src/php-4.0.1pl2/ext/zlib/php_zlib.h
>
>I found that in the latter there were two more declarations
>for gzcompress and gzuncompress, but also some missing
>conditional defines:
>
> #if COMPILE_DL
> #undef HAVE_ZLIB
> #define HAVE_ZLIB 1
> #endif
>
>at line 31.
>With these lines added, now I have a *working* php-4.0.1pl2 dso.
>
>8) Can anyone confirm wether this is a bug or not?

That seems to be quite weird. Those 4 lines shouldn't be needed when
compiling zlib and are actually outdated. Can you make sure if HAVE_ZLIB is
defined in your php_config.h?

Andi

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>