ShuDudu's Home was started in 2011, but the web data is lost, so now begin again, I would like to make some friends, I hope you like ShuDudu's home.
Current position: ShuDudu > Net Web >

LAMP/LNMP installable PHP version documenting

Monday on February 10th, 2020Net Web

Recently developed LAMP/LNMP a key installation command, you need to do this record:

Ubuntu 16 + Apache + PPA: PHP 5.6,7.0,7.1,7.2,7.3,7.4 (this PPA deleted PHP 5.4,5.5)

Ubuntu 16 + Nginx + PPA: PHP 5.6,7.0,7.1,7.2,7.3,7.4 (this PPA deleted PHP 5.4,5.5)

CentOS 7.6 + Apache + epel-release: PHP 5.4,5.5,5.6,7.0,7.1,7.2,7.3,7.4

CentOS 7.6 + Nginx + epel-release: PHP 5.4,5.5,5.6,7.0,7.1,7.2,7.3,7.4

CentOS 5 + Apache comes with software source: PHP 5.1

Ubuntu 12 + Apache comes with software source: PHP 5.3

Ubuntu 14 + Apache comes with software source: PHP 5.5

Ubuntu 16 + Apache comes with software source: PHP 7.0, Ubuntu 16 + PHP 7.0 PHP under the default environment does not perform, we need to use other versions, or Ubuntu 16 + PPA + PHP 7.0.

Debian 10 comes with software source: PHP 7.3.

The rest of the environment is being debugged and finishing.

2019-09-24 17:52 UPDATE:

After a lot of debugging these days, found today, php and php-fpm of installation of LAMP and LNMP, its software source is identical.

Ubuntu 16/18/19 + PPA + PHP or php-fpm, deleted PHP 5.4,5.5, support PHP 5.6, PHP 7.0 ~ 7.4.

Debian 8/9/10 + sury + PHP or php-fpm, also deleted PHP 5.4,5.5, support PHP 5.6, PHP 7.0 ~ 7.4.

CentOS 6/7 + epel-release + PHP or php-fpm, with the same, but more support PHP 5.4,5.5. Currently, CentOS 6 source software only supports PHP 7.3, CentOS 7.6 support PHP 7.4.

2019-10-11 10:29 UPDATE:

Debian 8 system is a classic, because Debian 8 retains rc.local functionality, Debian 9 removed rc.local.

Debian 8.0 and 8.2,8.5 three versions are more commonly used server version, test it today, Debian comes with the source 8.0 and 8.2, it is PHP 5.6.40.

2019-10-11 13:45 UPDATE:

8.5 is built Debian source PHP 5.6.40;

Debian comes with source 8.11 is PHP 5.6.40, if using Debian sources.list 8.0 Debian 8.11, then comes the source is PHP 7.0.

The record comes with source version, in development need to use.

Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/netweb/LAMP-LNMP-installable-PHP-version-documenting.htm