Compile php with zlib on Debian Lenny (Debian 5.0)
I need to ensure that PHP is compiled with zlib as I would like to use the zip functionality provided with net2ftp.
which option would I use with the php configure script
<php-x-x-dir>/configure --with-zlib --with-zlib-dir=/usr
before compiling, what apt-get install commands do I need to perform to ensure I have zlib on my system as I am not to sure as to which library to use I was thinking of using the following please confirm if this is correct.
apt-get install zlib1g-dbg zlib1g zlib1g-dev
Last edited by mike_phi; 08-24-2010 at 11:58 AM.