Simple way to upgrade PHP to 5.2.x?
Posted: Sat Apr 09, 2011 7:14 am
Hi,
Is there a SIMPLE way to select PHP 5.2.x packages instead of 5.3.x as the default PHP update now does with your repositories? ie like I did on another VPS in March...
Like many(I suppose), while I now have requirements for PHP 5.2.x compatability, PHP 5.3.x just 'breaks' way too many applications ie older Joomla & vTiger installations that client just do not want/need to update etc.
I have had a good search, but can't really find anything other than using downgrade(which seems problematic) or manually installing packages(which I am not entirely confident doing).
On the later, a yum list php* finds the following installed packages
Installed Packages
php.x86_64 5.1.6-27.el5_5.3 installed
php-cli.x86_64 5.1.6-27.el5_5.3 installed
php-common.x86_64 5.1.6-27.el5_5.3 installed
php-gd.x86_64 5.1.6-27.el5_5.3 installed
php-imap.x86_64 5.1.6-27.el5_5.3 installed
php-mbstring.x86_64 5.1.6-27.el5_5.3 installed
php-mysql.x86_64 5.1.6-27.el5_5.3 installed
php-pdo.x86_64 5.1.6-27.el5_5.3 installed
php-xml.x86_64 5.1.6-27.el5_5.3 installed
Am I reasonably safe downloading the equivalent 5.2.17 packages and installing using rpm -Uvh --oldpackage php*.rpm ?
BTW, running Plesk 9.5.3 with PHP 5.1.6 on Cento 5.5 x86_64.
Many Thanks,
Scribbly
Is there a SIMPLE way to select PHP 5.2.x packages instead of 5.3.x as the default PHP update now does with your repositories? ie like I did on another VPS in March...
Like many(I suppose), while I now have requirements for PHP 5.2.x compatability, PHP 5.3.x just 'breaks' way too many applications ie older Joomla & vTiger installations that client just do not want/need to update etc.
I have had a good search, but can't really find anything other than using downgrade(which seems problematic) or manually installing packages(which I am not entirely confident doing).
On the later, a yum list php* finds the following installed packages
Installed Packages
php.x86_64 5.1.6-27.el5_5.3 installed
php-cli.x86_64 5.1.6-27.el5_5.3 installed
php-common.x86_64 5.1.6-27.el5_5.3 installed
php-gd.x86_64 5.1.6-27.el5_5.3 installed
php-imap.x86_64 5.1.6-27.el5_5.3 installed
php-mbstring.x86_64 5.1.6-27.el5_5.3 installed
php-mysql.x86_64 5.1.6-27.el5_5.3 installed
php-pdo.x86_64 5.1.6-27.el5_5.3 installed
php-xml.x86_64 5.1.6-27.el5_5.3 installed
Am I reasonably safe downloading the equivalent 5.2.17 packages and installing using rpm -Uvh --oldpackage php*.rpm ?
BTW, running Plesk 9.5.3 with PHP 5.1.6 on Cento 5.5 x86_64.
Many Thanks,
Scribbly