8 yum provides php # 5.4 version comes with only
9 rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm # update the source
10 rpm -Uvh https://mirror.webtatic.com /yum/el7/webtatic-release.rpm
. 11 yum remove Common -Y # PHP-removal system comes Common-PHP
12 is the install yum php56w php56w -Y-opcache php56w-XML-php56w the mcrypt php56w-Gd-devel php56w php56w -mysql php56w-intl php56w-mbstring # install dependencies
13 php -v # version becomes 5.6
14 # yum the Provides PHP-FPM because I was ready to build lnmp, so install php-fpm, where you will be prompted to install multiple sources, select version 5.6 installed on it
15 yum install php56w-fpm-5.6.31-1.w7.x86_64 -y
Installation under php5.6 centos7
Guess you like
Origin blog.csdn.net/ptianfeng/article/details/91421090
Recommended
Ranking