Downgrade php from 5.3 to 5.1.6 in RHEL 6.2
I'm trying to downgrade php in RHEL 6.2 from version 5.3 to 5.1.6 since I need the 5.1.6 version for running a customized software.
my repository file has following details in it
name = RHEL
baseurl = http://ftp.iitm.ac.in/centos/5.8/os/x86_64/
gpgcheck = 1
gpgkey = http://ftp.iitm.ac.in/centos/RPM-GPG-KEY-CentOS-5
I'm trying to use a old repository for the downgrading.
I installed the yum-allowdowngrade package also for this purpose.
The problem is, the php-5.1.6 package has dependencies of old versions, for e.g openssl-0.9 but the one installed in my machine by default is openssl-1.0 it says there is a conflict with the installed version.
Can anyone please help in this regard.
odd that 5.3 is so different than 5.1.6
the two are rather close
first WHY do you think you NEED just that and ONLY that version ?
was their a very old and unused call that was removed from 5.1.7 and up ?
dose the documentation for this old program state to install ( the THEN current) 5.1.6
this IS red hat so you DO have the required support contract
have you asked red hat seeing as you ARE paying them $$$$ every year
if it is some function that was removed from newer versions of php
then install the old version from source
but that might " null and void" your Red hat license and contract
so ask them .
You say RHEL 6.2, but your repo points to Centos 5.8.
You definitely can't mix version nums like that AND if this really RH, they will not support Centos either.
You need to decide
1. are you running/going to run RHEL (needs paid support/updates) OR Centos (free updates/no support)
2. which version 6.x or 5.x and the sub-version nums matter as well.
Many times while installing Oracle database even I come across such problems when we need to use gcc and php of lower versions as compatible by Oracle. But I am surprise about one thing as I am using CentOS 6.2 and my PHP is by default 5.1.6
Firstly I would advise it is not at all a god idea to remove the dependencies of php package instead you can install the php version you want from any of the rpm sites available on net.
If the rpm package doesn't asks for any dependencies or doesn't prompts for any error (which i don't think is possible) then you are good to go but if you find any error messages like
already a file exists or dependencies required then you can use
Thanks for the replies,
There's a specific reason for me to trying to downgrade to php version 5.1.6, the zend optimizer that supports the application I work with seem to support only with php 5.1.6
Understanding that I cannot mix the repositories of CentOS 5.8 with RHEL 6.2, I'm not trying to install using rpm anymore.
I need help with installing from source files of php. The installation procedure should install all modules of php just like it's been installed while OS installation.
I am not using a paid version of RHEL so, I cannot ask for support from Red Hat.
Thanks in advance for your help
|All times are GMT -5. The time now is 01:21 PM.|