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)
Comments
- configure: error: Cannot find OpenSSL's libraries
- configure: error: Please reinstall the BZip2 distribution
- configure: error: jpeglib.h not found.
- configure: error: freetype.h not found.
- 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!)
- pg-conf not found
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.
Last php 5.3 version is 5.3.29 (14 Aug 2014).
Here you can get the lastes version http://php.net/downloads.php
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.
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
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.
Hello.Do you plane create tutorial for php 7 on ubuntu 14.04 LTS?
Thanks
How can I remove available PHP version if I made a mistake when I was adding it ...
Hi,
any pointers, how to use php 5.3 from Centos 7 (and I know, that it's not officially supported )
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,