centos7可用第三方源安装php5.6

来源:互联网 发布:哪个软件可以打双色 编辑:程序博客网 时间:2024/06/05 16:27

先安装第三方源

#rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm

#rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm


之后直接yum就行了


yum -y install php56w.x86_64  php56w-bcmath.x86_64 php56w-common.x86_64  php56w-dba.x86_64 php56w-devel.x86_64 php56w-embedded.x86_64 php56w-enchant.x86_64 php56w-gd.x86_64 php56w-imap.x86_64 php56w-interbase.x86_64 php56w-interbase.x86_64 php56w-ldap.x86_64 php56w-mbstring.x86_64 php56w-mcrypt.x86_64 php56w-pdo.x86_64  php56w-mysql.x86_64 php56w-odbc.x86_64  php56w-opcache.x86_64 php56w-pecl-apcu.x86_64 php56w-phpdbg.x86_64 php56w-process.x86_64 php56w-xml.x86_64 php56w-pecl-imagick.x86_64 
0 0
原创粉丝点击