PDA

View Full Version : recompile php for ispconfig with zlib


madie
2nd November 2006, 18:15
Anyone have a HowTo for recompile php for ispconfig with zlib?

I have install a Server with Debian 3.1, ISPConfig 2.2.7 and PHP5.1.6 like in the Howtos perfect Debian.

Thanks.

till
3rd November 2006, 11:51
1) Download the latest ISPConfig installer and unpack it.
2) Edit the file install_ispconfig/compile_apps/compile and enable zlib in the configure string for PHP.
3) Run the normal ISPConfig setup script, your installation will be upgraded then.

mike_phi
4th January 2009, 22:09
does this imply editing
install_ispconfig/compile_apps/compile and adding --with-zlib
then



cd install_ispconfig

In this directory please check the file dist.txt and see if the values given there suit to your
Linux installation (they should be suitable for standard installations). If you change any
values please be sure not to change the format of the file.
Then start the setup-script from there:

./setup

The installer will now compile an Apache with PHP5 that will run on port 81 and is needed by the ISPConfig system itself. It will not interfere with your existing Apache installation so you can go on unworried.



will this wipe my previous ISPConfig and replace it with a fresh one i.e. all configuration and previusly conigured websites or will it detect the existing installation and just update php

and I would not need to do the following steps all over again


When the ISPConfig Apache is built, a custom SSL certificate is built. Therefore you are asked a few questions. You can accept the default values, or you can enter new values there, this does not matter:



basically my question is will this just do a upgrade and not disrupt my existing installation or will it re-install and disrupt existing configuration and content

cheets mic

falko
5th January 2009, 11:44
basically my question is will this just do a upgrade and not disrupt my existing installation or will it re-install and disrupt existing configuration and content

cheets mic

It will do an upgrade. However, you should back up /root/ispconfig, /home/admispconfig and the ISPConfig database before you try this - the upgrade could fail if something is wrong with the modifications.