centos7 - Downgrade PHP 7.3.2 to PHP 5.4 CentOS 7.6

227

How can i Downgrade PHP 7.3.2 to PHP 5.4 on CentOS 7.6?
I've tried this :

service httpd stop

sudo yum-config-manager --enable remi-php54
sudo yum-config-manager --disable remi-php73

sudo yum -y downgrade php php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath php-json

sudo yum -y --enablerepo=remi-php54 install php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt

But does not work & i am still on php 7.3.2.
How can i do that?

People are also looking for solutions to the problem: swap text/add specific word html/php code

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.