Hi there my fedora ISPConfig with zlib for PHP install went well, I have now set up a debian machine using the
"The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 2]"
I need to ensure that PHP is compiled with zlib in this case too as I have written a ISPConfig module that will run on port 81, just thought I would ask first seeing that this will be a fresh installation and I would like to keep it clean.
I am using
ISPConfig-2.2.37.tar.gz
as far as enabling it is concerned I will edit the (please correct where I am wrong I am wrong)
install_ispconfig/compile_aps/compile and add --with-zlib
Code:
cd ../${PHP}
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --with-zlib --enable-sockets --enable-mbstring=all --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php ${WITH_OPENSSL} ${WITH_MYSQL} ${WITH_XML} ${WITH_ZLIB_DIR} --without-pear --with-mcrypt=${INSTALL_ROOT}/libmcrypt || error "Could not configure PHP"
or
Code:
cd ../${PHP}
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-sockets --enable-mbstring=all --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php ${WITH_OPENSSL} ${WITH_MYSQL} ${WITH_XML} ${WITH_ZLIB_DIR}=/usr --without-pear --with-mcrypt=${INSTALL_ROOT}/libmcrypt || error "Could not configure PHP"
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 follwing please confirm if this is correct.
Code:
apt-get install zlib1g-dbg zlib1g zlib1g-dev
I am not sure whether these are the correct libraries zlib1g-dbg zlib1g zlib1g-dev
Regards Mic
Recent comments
6 hours 59 min ago
11 hours 52 min ago
20 hours 44 min ago
21 hours 44 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 6 hours ago
1 day 13 hours ago
1 day 22 hours ago
2 days 2 min ago