首页 > 阿里云centos6.6怎么更新yum软件源升级php7?

阿里云centos6.6怎么更新yum软件源升级php7?

我下了多个软件源都提示只可以安装php5.3.3,
这是软件源目录:

php版本:

help help help me...


是高手的话就编译安装,我不是,所以我选择XAMPP for Linux (Apache 2.4.18, MariaDB 10.1.9, PHP 7.0.1 + SQLite 2.8.17/3.7.17 )


安装 remi 源
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

安装php
yum install --enablerepo=remi --enablerepo=remi-php70 php php-opcache php-pecl-apcu php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof php-pdo php-pear php-fpm php-cli php-xml php-bcmath php-process php-gd php-common


yum源只提供这个系统对应的稳定版本。高版本需要编译安装。

【热门文章】
【热门文章】