PHP Multiple Versions (PHP-FPM & FastCGI) Support Ispconfig 3 installation instructions Four

Source: Internet
Author: User
Keywords ubuntu fastcgi ispconfig php-fpm php Installation
Tags aliyun apt available for client configure how to html http

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/

Install prerequisite software to establish PHP5:

Apt Install build-essential

Apt BUILD-DEP php5

Apt Install libfcgi-dev libfcgi0ldbl libjpeg62-dbg libmcrypt-dev libssl-dev libc-client2007e Libc-client2007e-dev

Ln-s/USR/LIB/LIBC-CLIENT.A/USR/LIB/X86_64-LINUX-GNU/LIBC-CLIENT.A

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):

./configure--help

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.