红联Linux门户
Linux帮助

Ubuntu 16.04中安装PHP 5.5.36&PHP 5.6.22

发布时间:2016-06-01 15:00:02来源:linux网站作者:Linux公社

PHP 5.5.36 & PHP 5.6.22 双方最近发布,PHP是一种流行的通用脚本语言,特别适合于Web开发。快速,灵活,务实的。


PHP 5.5.36 更新日志:

Core:
Fixed bug #72114 (Integer underflow / arbitrary null write in fread/gzread). (CVE-2016-5096)
Fixed bug #72135 (Integer Overflow in php_html_entities). (CVE-2016-5094)
GD:
Fixed bug #72227 (imagescale out-of-bounds read). (CVE-2013-7456)
Intl:
Fixed bug #72241 (get_icu_value_internal out-of-bounds read). (CVE-2016-5093)
Phar:
Fixed bug #71331 (Uninitialized pointer in phar_make_dirstream()). (CVE-2016-4343)


PHP 5.6.22 更新日志

Core:
Fixed bug #72172 (zend_hex_strtod should not use strlen).
Fixed bug #72114 (Integer underflow / arbitrary null write in fread/gzread). (CVE-2016-5096)
Fixed bug #72135 (Integer Overflow in php_html_entities). (CVE-2016-5094)
GD:
Fixed bug #72227 (imagescale out-of-bounds read). (CVE-2013-7456)
Intl:
Fixed bug #64524 (Add intl.use_exceptions to php.ini-*).
Fixed bug #72241 (get_icu_value_internal out-of-bounds read). (CVE-2016-5093)
Postgres:
Fixed bug #72151 (mysqli_fetch_object changed behaviour).


Ubuntu 16.04 (Xenial Xerus), Ubuntu 15.10 (Wily Werewolf), Ubuntu 15.04(Vivid Vervet), Ubuntu 14.04 (Trusty Tahr) 安装 PHP 5.5.36 & PHP 5.6.22

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update


For PHP 5.5.36

sudo apt-get install php5.5


For PHP 5.6.22

sudo apt-get install php5.6

To verify the version installed, run the following command:

sudo php -v


If you want to remove PHP installed, then run the following commands:

sudo apt-get update

sudo apt-get purge php5-common -y

sudo apt-get --purge autoremove -y


本文永久更新地址:http://www.linuxdiyf.com/linux/21146.html