ubuntu安装php5.5,Ubuntu 16.04 中安装 PHP 5.5.36 & PHP 5.6.22

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

f0ca2a2ebf32a3f4f1550c048ac23022.png

sudo apt-get update

c2d1ea6a30e2ef8493dbeadbf996cb08.png

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

PHP 的详细介绍:请点这里

PHP 的下载地址:请点这里

0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值