Wind Network (ithov.com) original article: Ispconfig 3.0.5 can use multiple PHP versions on a single server and choose the best PHP version for a website. This feature is available for PHP-FPM (PHP 5.3 and above) and FastCGI (PHP 5.x version). This tutorial describes how to build PHP 5.3 and PHP 5.4来 on the http://www.aliyun.com/zixun/aggregation/13835.html ">ubuntu 13.04 Server" as a php-fpm and FastCGI version. These versions of PHP can be used with the default PHP in Ispconfig (installed via APT). This tutorial is divided into four articles, this is the fourth article.
Continuation of the third "PHP multiple version (PHP-FPM & FastCGI) support for the installation of Ispconfig 3 instructions three" ...
5. Build PHP 5.4.14 (FastCGI)
Download and extract PHP 5.4.14:
mkdir/opt/phpfcgi-5.4.14 mkdir/usr/local/src/php5-build cd/usr/local/src/php5-build wget http://de.php.net/get/ Php-5.4.14.tar.bz2/from/this/mirror-o php-5.4.14.tar.bz2 tar jxf php-5.4.14.tar.bz2 cd php-5.4.14/
If you use--with-imap to build PHP, you need to enter the last command, otherwise./configure will stop with the following error: Checking for crypt In-lcrypt ... yes Configure:error:Cannot Find IMAP library (LIBC-CLIENT.A). Please check your c-client installation. root@server1:/usr/local/src/php5-build/php-5.4.14#
Configure and build PHP 5.4.14 as follows (can be adjusted according to your requirements./configure command):
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.