I cannot thank you enough for these clear instructions. I have been working on this for almost 24 hours straight and your post finally got me up and running again.
I did things slightly differently to get it to actually work, but your steps helped me to get there.
Code: Select all
wget http://www6.atomicorp.com/channels/atomic/centos/5/x86_64/RPMS/php-5.2.17-1.el5.art.i386.rpm
yum downgrade php*
at the end, under Transaction Summary, I took note of everything it said would need to be removed because of dependencies and used wget to grab those packages. Eventually your transaction summary should say to remove 0 packages and reinstall 0 packages, and downgrade several packages, for me it was
php
php-cli
php-common
php-devel
php-gd
php-imap
php-mbstring
php-mysql
php-pdo
php-pgsql
php-xml
At this point I said yes to the downgrade and it went through and did its thing. Then apache stopped working and I was getting PHP Fatal errors regarding the ioncube loader, the zendguard loader, and loading zend optimizer more than once.
I had to go into the php.d and I commented out everything in
ioncube.ini
zend.ini
zendguard.ini
I then copied the original contents of ioncube.ini and copied that line to load before zend in your etc/php.ini file
Code: Select all
zend_extension=/usr/lib64/php/ioncube/ioncube_loader_lin_5.2.so
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
finally I started apache up with success and everything seems to be in order so far