Page 1 of 1

going back to 5.1.6

Posted: Thu Nov 27, 2008 7:00 am
by tiretz
hi All,

I have just had a Centos 5 server installed. It had 5.1.6 from and I managed to upgrade it to 5.2.6 from atomic. That part was easy.

Suddenly some php sites (including x-cart in a sub directory )started having problems locating files in different directories. I read that other people are having similar problems with other software.

Anyway, I would like to go back to 5.1.6.

I cant get yum to go back to the previous version and I am too scared to remove the php 5.2.6 as it also wants to remove my psa packages (plesk).

On a test machine with also has 5.2.4 on it, i tried downloading the 5.1.6 rpms php cli common devel and did an rpm --install --force.

php 5.1.6 got installed but when trying to check the version, it encountered a lot of problems with the modules which I guess are for 5.2.4.

I have no idea what to do next. Any suggestions would be greatly appreciated.

regards

Justin.

Posted: Thu Nov 27, 2008 9:06 am
by breun
Set 'exclude=php*' in for [atomic] in atomic.repo. You can download the PHP packages that you use manually from a CentOS mirror: http://mirror.centos.org/centos-5/5/os/ Then run 'rpm -Uvh --oldpackage php*.rpm' to downgrade. Don't forget to restart apache afterwards.

But it might be easier to figure out what the problem with x-cart is. Does it support PHP 5.2 according to the developers? If so, then it should be possible to just get that to work. Do you have a concrete example of 'started having problems locating files in different directories'? Any error messages in the domain's error_log?

Posted: Thu Nov 27, 2008 1:24 pm
by scott
I know for a fact X-Cart works with 5.2, and Mysql 5.0

Posted: Thu Nov 27, 2008 2:04 pm
by JnascECSI
I also can backup that it works fine on 5.2 & MySql 5. We have about 13 clients running x-cart with no issues.

thanks

Posted: Thu Nov 27, 2008 5:31 pm
by tiretz
Hi all,

Thanks for the replies. X-cart says that 5.2.6 is supported and from your responses it seems that I have a local problem.

I checked out the php.ini between the 5.0.4 and 5.2.6 installations and couldn't find any differences.

X-cart want a ssh login so they can check it out. As soon as I work out how to give them a local ssh login i will do that.

I will do some more testing today.

Justin.

Re: thanks

Posted: Thu Nov 27, 2008 7:57 pm
by breun
tiretz wrote:I checked out the php.ini between the 5.0.4 and 5.2.6 installations and couldn't find any differences.
That might be the problem. Did the upgrade to PHP 5.2 bring a php.ini.rpmnew? If so, use that one as your base php.ini.