going back to 5.1.6

Support/Development for PHP
tiretz
New Forum User
New Forum User
Posts: 4
Joined: Thu Nov 27, 2008 6:20 am

going back to 5.1.6

Unread post 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.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post 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?
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I know for a fact X-Cart works with 5.2, and Mysql 5.0
User avatar
JnascECSI
Forum Regular
Forum Regular
Posts: 306
Joined: Mon Apr 14, 2008 8:29 am
Location: Rhode Island

Unread post 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.
tiretz
New Forum User
New Forum User
Posts: 4
Joined: Thu Nov 27, 2008 6:20 am

thanks

Unread post 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.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: thanks

Unread post 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.
Lemonbit Internet Dedicated Server Management
Post Reply