Is it possible to downgrade PHP from 5.4.17 to 5.3.x
Is it possible to downgrade PHP from 5.4.17 to 5.3.x
I just accepted a yum update that upgraded PHP to 5.4.17 and it is causing a bunch of problems for me. Is it possible to downgrade back to 5.3.x and if so, how?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Is it possible to downgrade PHP from 5.4.17 to 5.3.x
PHP 5.3 packages are available from the Nucleus repository: https://www.atomicorp.com/products/nucleus.html
PHP 5.3 src.rpms are available on all the mirrors under the /source/ directory (ex: www.atomicorp.com/channels/source/php/)
PHP 5.3 src.rpms are available on all the mirrors under the /source/ directory (ex: www.atomicorp.com/channels/source/php/)
Re: Is it possible to downgrade PHP from 5.4.17 to 5.3.x
Thanks for the info. This may seem like a stupid question but I have always been confused by tangled dependencies and how to get around them. Would it be safe to just simply remove all the packages one by one by forcing and using nodeps then start installing all the new rpms in any order ignoring deps? Or is there a proper way to do this?scott wrote:PHP 5.3 packages are available from the Nucleus repository: https://www.atomicorp.com/products/nucleus.html
PHP 5.3 src.rpms are available on all the mirrors under the /source/ directory (ex: http://www.atomicorp.com/channels/source/php/)
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Is it possible to downgrade PHP from 5.4.17 to 5.3.x
sure thats a way to do it. Normally if Im trying to skip a inter-relationship between packages I'll use --nodeps. Like if its a plesk box for example, you'd want to skip that check so it wouldnt remove the psa-* packages. Then you could just re-install with yum like normal
Re: Is it possible to downgrade PHP from 5.4.17 to 5.3.x
Protip: download the packages via "yumdownloader" beforehand, so you can quickly install with "yum localinstall", by which you minimize the "PHP downtime".scott wrote:sure thats a way to do it. Normally if Im trying to skip a inter-relationship between packages I'll use --nodeps. Like if its a plesk box for example, you'd want to skip that check so it wouldnt remove the psa-* packages. Then you could just re-install with yum like normal
Lemonbit Internet Dedicated Server Management
Re: Is it possible to downgrade PHP from 5.4.17 to 5.3.x
See http://www.atomicorp.com/forum/viewtopic.php?f=2&t=7037 for downgrade instructions.
But I strongly recommend using the Neucleus repo for 5.3 if possible instead of stock Centos. Scott's php is better, and you don't lose mcrypt/eaccelerator etc.
But I strongly recommend using the Neucleus repo for 5.3 if possible instead of stock Centos. Scott's php is better, and you don't lose mcrypt/eaccelerator etc.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>