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.
going back to 5.1.6
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
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?
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
thanks
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.
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.
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: thanks
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.tiretz wrote:I checked out the php.ini between the 5.0.4 and 5.2.6 installations and couldn't find any differences.
Lemonbit Internet Dedicated Server Management