Downgrade php7 para 5.6 centos 7

Downgrade php7 para 5.6 centos 7

service httpd stop

then

yum install php56

then

yum –enablerepo=remi-php56 install php56-php php56-php-pear php56-php-bcmath php56-php-pecl-jsond-devel php56-php-mysqlnd php56-php-gd php56-php-common php56-php-fpm php56-php-intl php56-php-cli php56-php php56-php-xml php-php-opcache php56-php-pecl-apcu php56-php-pecl-jsond php56-php-pdo php56-php-gmp php56-php-process php56-php-pecl-imagick php56-php-devel php56-php-mbstring

then

service php70-php-fpm stop

then

rm /usr/bin/php

press y

then

ln -s /usr/bin/php56 /usr/bin/php

then

service httpd restart

and it’s done

check PHP version by running

php -v

That’s it if your hosting not providing support or solution contact us by https://royalclouds.net/support

Sobre o Autor

Diego Elcain administrator