Ispconfig version 3.0.5 can use a variety of PHP versions on a single server and can choose the best PHP version for the site. If you have some very old Web sites on your server, they may not work properly with PHP5 and can only be compatible with PHP4. This tutorial describes how to build FastCGI PHP on the http://www.aliyun.com/zixun/aggregation/14417.html ">apache2 Debian wheez Server" How to use the 4.4.9 version. This version of PHP can be used with the Ispconfig default PHP (via apt installation).
Installation usage:
1. Preliminary notes PHP4 cannot be used for PHP-FPM, so here's just a description of how to build a PHP4 FastCGI version. FastCGI is only available for Apache servers, and it cannot be used for nginx.
2. Build PHP 4.4.9 (FastCGI)
To install the prerequisite software that you need to build from your source code:
Apt Install build-essential
PHP 4.4.9 cannot compile the modern OpenSSL version, so we need to install the older OpenSSL version (0.9.8x) First:
cd/tmp wget http://www.openssl.org/source/openssl-0.9.8x.tar.gz tar xvfz openssl-0.9.8x.tar.gz cd openssl-0.9.8x./ Config--prefix=/usr/local/openssl-0.9.8 make make install
Download and extract PHP 4.4.9:
mkdir/opt/phpfcgi-4.4.9 mkdir/usr/local/src/php4-build cd/usr/local/src/php4-build wget http://de.php.net/get/ Php-4.4.9.tar.bz2/from/this/mirror-o php-4.4.9.tar.bz2 tar jxf php-4.4.9.tar.bz2 cd php-4.4.9/
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.