删除之前的版本

yum remove php*

CentOS/RHEL 6.x源

rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

追加CentOS 6.x的epel及remi源

rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

开始安装

yum install php71w-bcmath.x86_64 php71w-cli.x86_64 php71w-common.x86_64 php71w-dba.x86_64 php71w-devel.x86_64 php71w-embedded.x86_64 php71w-enchant.x86_64 php71w-gd.x86_64 php71w-imap.x86_64 php71w-interbase.x86_64 php71w-intl.x86_64 php71w-ldap.x86_64 php71w-mbstring.x86_64 php71w-mysqlnd.x86_64 php71w-odbc.x86_64 php71w-opcache.x86_64 php71w-pdo.x86_64 php71w-pdo_dblib.x86_64 php71w-pear.noarch php71w-pecl-apcu.x86_64 php71w-pecl-apcu-devel.x86_64 php71w-pecl-imagick.x86_64 php71w-pecl-imagick-devel.x86_64 php71w-pecl-mongodb.x86_64 php71w-pecl-redis.x86_64 php71w-pecl-xdebug.x86_64 php71w-pgsql.x86_64 php71w-phpdbg.x86_64 php71w-process.x86_64 php71w-pspell.x86_64 php71w-recode.x86_64 php71w-snmp.x86_64 php71w-soap.x86_64 php71w-tidy.x86_64 php71w-xml.x86_64 php71w-xmlrpc.x86_64 php71w-fpm.x86_64


Last modification:December 17th, 2019 at 10:01 am