vurentjie Posted June 4, 2008 Share Posted June 4, 2008 hi, i just looked at the docs for the zlib module,in install instructs it says Zlib support in PHP is not enabled by default. You will need to configure PHP --with-zlib[=DIR] I looked through php.ini and find at first glance ;output_handler = //with options ob_gzhandler" or "zlib.output_compression zlib.output_compression = Off ;zlib.output_handler = extension=php_zlib_filter.dll //which i enabled?? These settings I am sure I could figure out with a bit of fiddling and reading. But mainly need a tip as to where does the above quote come into play? ie --with-zlib[=DIR] Not too sure about this. Any help appreciated. Quote Link to comment Share on other sites More sharing options...
Caesar Posted June 4, 2008 Share Posted June 4, 2008 Means when you recompile PHP, you add: --with-zlib --with-zlib-dir=/usr In the command line. Quote Link to comment Share on other sites More sharing options...
DarkWater Posted June 4, 2008 Share Posted June 4, 2008 Don't touch those lines in php.ini. And zlib is added in when you compile your own builds. Example build: wget http://us3.php.net/get/php-5.2.6.tar.gz/from/this/mirror tgz php-5.2.6.tar.gz mv php-5.2.6 phpbuild cd phpbuild ./buildconfig ./configure --with-zlib make sudo make install You need to actually do a build to get zlib on an already-built PHP binary. Quote Link to comment Share on other sites More sharing options...
vurentjie Posted June 4, 2008 Author Share Posted June 4, 2008 thanks, speedy response. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.