How to downgrade php from 5.6 to 5.5 on Fedora 21

2.5k views Asked by At

I need to do the subject because I'm developing with the team on PHP 5.5, but my current Fedora version contains PHP 5.6.

I've found a Remi's repo contining PHP 5.5 for FC-21, installed it as described in "Install Howto" section. But I cannot run the Apache to use with PHP v.5.5. Please suggest what I can do to have desired?

1

There are 1 answers

2
Paizo On

you can try to downgrade your current installation using the packet manager by issuing the command yum downgrade php55 see downgrade or rollback updates, where you can also specify a specific version. Before that I suggest you to first verify your installation history about php if its is present.

Another way is to install the specific version you want see the answer here and then add a rule to block further updates in /etc/yum.conf see here for the blocking rule