centos里的源还是5.3,没办法,要么编译安装,要么换源
https://webtatic.com/packages/php56/
CentOS/RHEL 7.x:
CentOS/RHEL 6.x:
Now you can install PHP 5.6 (along with an opcode cache) by doing:
本文介绍如何在CentOS/RHEL 6.x 和 7.x 系统中更换软件源以安装 PHP5.6 版本。通过安装特定的软件包仓库,可以使用 yum 命令轻松安装 PHP5.6 及其 opcode 缓存。
centos里的源还是5.3,没办法,要么编译安装,要么换源
https://webtatic.com/packages/php56/
CentOS/RHEL 7.x:
CentOS/RHEL 6.x:
Now you can install PHP 5.6 (along with an opcode cache) by doing:
3483
2450
9255

被折叠的 条评论
为什么被折叠?