I had to do a Debian dist-upgrade on my server… in the process, PHP got upgraded to 5.4. We use ioncube which only supports up to 5.3 atm, and I'm having some trouble finding how to downgrade to 5.3 from 5.4. Anyone know how?
Php – Downgrade PHP 5.4 to 5.3 in Debian
debianPHPphp5
Best Answer
Neither of the solutions above worked for me. What did work was pinning the necessary packages to the old stable such as
Add the following to
/etc/apt/sources.lst
Create
/etc/apt/preferences.d/preferences
And add the packages you need downgraded such as in my case
Then run the commands
If you want to know which packages you need to upgrade just run :