I have developed a php extension that requires zlib in order to works fine. The problem is that if someone have compiled php without zlib support my extension just crashed when it tries to use some zlib routines.

I wonder if there is a way to check at runtime (or better at startup in the PHP_MINIT_FUNCTION) if php has been compiled with zlib support so I can gracefully reports a WARNING...

Thanks,
Marco Bambini

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to