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). is divided into four articles, this is the first article.
1. Preliminary notes
Here we will install the latest PHP 5.3.24 and PHP version 5.4.14 and also show how to build some additional PHP extensions, such as apc,memcache,memcached and Ioncube.
PHP-FPM can be used in Apache and Nginx servers, and FastCGI only for Apache servers.
PHP-FPM and FastCGI are mutually exclusive in PHP 5.3 and 5.4, so we've shown two ways to build PHP (PHP-FPM and FastCGI), but you can compile PHP two times,--ENABLE-FPM and--enable-cgi each time , (must use the unused catalogue, PHP-FPM uses/opt/php-5.3.24,fastcgi to use/opt/phpfcgi-5.3.24).
2. Build PHP 5.3.24 (PHP-FPM)
Download and extract PHP 5.3.24:
mkdir/opt/php-5.3.24 mkdir/usr/local/src/php5-build cd/usr/local/src/php5-build wget http://de.php.net/get/ Php-5.3.24.tar.bz2/from/this/mirror-o php-5.3.24.tar.bz2 tar jxf php-5.3.24.tar.bz2 cd php-5.3.24/
To install the prerequisites for establishing PHP5:
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.