Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd August 2010, 15:52
mike_phi mike_phi is offline
Junior Member
 
Join Date: Mar 2008
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compile php for ispconfig with zlib on Debian Lenny (Debian 5.0) [ISPConfig 2

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
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
Error when install ISPConfig 2 with components built from source X-admin Installation/Configuration 5 30th April 2010 13:22
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 18:20
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 08:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.