Comments on How To Use Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (Ubuntu 13.04)
How To Use Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (Ubuntu 13.04) 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 13.04 server. These PHP versions can be used together with the default PHP (installed through apt) in ISPConfig.
4 Comment(s)
Comments
On Ubuntu 15.04 the ./configure Command breaks with this Error:
[...]checking whether build with IMAP works... noconfigure: error: build test failed. Please check the config.log for details.
The content of console.log (a huge amount of errors): http://pastebin.com/raw.php?i=FnRMqLtm
Tried it with Building PHP 5.3.24 (PHP-FPM) and Building PHP 5.3.29 (PHP-FPM)
What could be the problem?
I forgot to mention in my last Comment that the Server is a freshly installed Ubuntu 15.04, all the Steps of this Tutorial and the Perfect-Server-IPSConfig-3 have been completely done.
To solve that error I had to add /usr as path for --with-openssl and --with-imap: --with-openssl=/usr --with-imap=/usr
I was having issues with "configure: error: freetype.h not found."
checking for fabsf... yes
hecking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype.h not found.
This fixed it for me. It was looking for the wrong directory name, and the --with-freetype-dir="/usr/include/freetype2" does not work for the configure.
http://stackoverflow.com/questions/26342868/configure-php-5-3-fail-with-error-freetype-h-not-found-but-libfreetype6-dev-iubuntu 15.10, 64 bitphp-5.3.29