Comments on How To Use Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (Ubuntu 12.10)

How To Use Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (Ubuntu 12.10) Since ISPConfig 3.0.5, it is possible to use multiple PHP versions on one server and select the optimal PHP version for a website. This feature works with PHP-FPM (starting with PHP 5.3) and FastCGI (all PHP 5.x versions). This tutorial shows how to build PHP 5.3 and PHP 5.4 as a PHP-FPM and a FastCGI version on an Ubuntu 12.10 server. These PHP versions can be used together with the default PHP (installed through apt) in ISPConfig.

10 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: suther

if i do execute your configure-Command on brand new installed debian Squeeze, i got errors like this:
 
configure: error: xml2-config not found. Please check your libxml2 installation.
  1. configure: error: Cannot find OpenSSL's libraries
  2. configure: error: Please reinstall the BZip2 distribution
  3. configure: error: jpeglib.h not found.
  4. configure: error: freetype.h not found.
  5. configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation. (On i686 system...!!! Seems to be a bug with libc-client2007e-dev  so i only could deactivate imap!)
  6. pg-conf not found
 
FIX:
aptitude install libxml2-dev libcurl4-openssl-dev libbz2-dev libjpeg-dev libpng12-dev libxpm-dev libfreetype6-dev libfreetype6-dev libmysqlclient-dev libpq-dev

 For this, the ./configure works for me

Remember, i start from a metal bare squeeze installation! 

By: Cédric

Hello.

On Ubuntu 14.04, after the fix for "libc-client.a", you also have to do the following :

ln -s /usr/include/freetype2 /usr/include/freetype2/freetype

Otherwise ./configure will failed with a "freetype.h not found" error.

Cédric.

By: DahaS

Last php 5.3 version is 5.3.29  (14 Aug 2014).

Here you can get the lastes version http://php.net/downloads.php

By: m0du1us


I'm running Ubuntu 14.04.4 and I get a configure error with freetype.h not being found. This is mentioned in PHP Bug #64405:
https://bugs.php.net/bug.php?id=64405
 
Here's the fix:
referencing my duplicate #66259, pkg-config or freetype-config are flexible options.  here, they produce different results:
pkg-config --cflags --libs freetype2 -I/usr/include/freetype2 -lfreetype freetype-config --cflags --libs -I/usr/include/freetype2 -lfreetype -lz -lpng15 a quick workaround @ php config-time, changing both perl -pi -e 's|(FREETYPE2_INC_DIR)=.*|$1=\$i/include|g' ./configure perl -pi -e 's|freetype2/freetype/freetype.h|freetype2/freetype.h|g' ./configure and export CPPFLAGS="`pkg-config --cflags freetype2`" which 'fixes' missing incorrect path references in GD ext, allows config & build to complete.

By: dx007

good evening, I'm on debian wheezy and after completing the tutorial, ispconfig3.05 located at https://example.com:8080 displays a blank page. Help me, please. thank you

By: sayed

Thanks for sharing this knowledge. I mixed it with somethings from http://felixc.at/PHP and https://bugs.php.net/bug.php?id=49876 ; and i got php5.3.29 running on ubuntu 14.04 finally. 

By: Pavel

Hello.Do you plane create tutorial for php 7 on ubuntu 14.04 LTS?

Thanks

By: Micro

How can I remove available PHP version if I made a mistake when I was adding it ...

 

By: Elvis

Hi,

any pointers, how to use php 5.3 from Centos 7 (and I know, that it's not officially supported )

By: F0

How can I use this tutorial for ubuntu 16.04 with php7.0?..In line apt-get build-dep php5, I get sources error because older php versions hasn't support.

Thanks,