Hi there I origionally posted this here
http://howtoforge.com/forums/showthread.php?t=7875
but thought it more appropiate to start its own thread as this will be a initial compile and not a recompile as well as its Debian specific.
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
1 day 2 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 13 hours ago
2 days 3 hours ago
2 days 3 hours ago
2 days 8 hours ago
2 days 15 hours ago
2 days 16 hours ago
2 days 17 hours ago