Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-24-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 2
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
or
<php-x-x-dir>/configure --with-zlib-dir=/usr
or both
<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
Regards Mic
- 08-25-2010 #2Just Joined!
- Join Date
- Aug 2010
- Location
- Italy
- Posts
- 35
For what i can see on the net, the php provided has already the zlib extension:
Debian -- Details of package libapache2-mod-php5 in lenny
The following extensions are built in: bcmath bz2 calendar ctype date dba dom exif filter ftp gettext hash iconv json libxml mbstring mime_magic openssl pcre posix Reflection session shmop SimpleXML soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib.


Reply With Quote
