store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Tue May 21, 2013 6:06 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 
Author Message
 Post subject: Downgrading php?
Unread postPosted: Tue Feb 08, 2011 8:04 am 
Offline
Forum User
Forum User

Joined: Sun Jul 06, 2008 5:18 pm
Posts: 24
Hi all.

I have Plesk 10.1.1 and php 5.1.6.27 works.

Then i update it to 5.2.17 and my web made with cakephp sotp working (i can see some parts, but not all and admin panel is unavailiable).

Well, i enable test repo and then i update to php 5.3.5, but when i try to restart apache:

Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory
[FAILED]

Is any way to downgrade php to 5.1.6? If i try to remove and reinstall all psa need to be reinstalled

yum remove php

Package Arch Version Repository Size
=================================================================================================================================================================================================================
Removing:
php i386 5.3.5-2.el5.art installed 11 M
php x86_64 5.3.5-2.el5.art installed 13 M
Removing for dependencies:
plesk-core x86_64 10.10.1-cos5.build1010110120.18 installed 64 M
plesk-l10n noarch 10.10.1-cos5.build1010110120.18 installed 15 M
pp-sitebuilder noarch 5.1.0-34158.10122501 installed 79 M
psa x86_64 10.1.1-cos5.build1010110120.18 installed 435 k
psa-backup-manager x86_64 10.10.1-cos5.build1010110120.18 installed 13 M
psa-health-monitor noarch 10.10.1-cos5.build1010110112.13 installed 2.3 k
psa-horde noarch 3.3.10-cos5.build1010110119.17 installed 20 M
psa-imp noarch 4.3.9-cos5.build1010110120.12 installed 12 M
psa-ingo noarch 1.2.5-cos5.build1010110112.13 installed 5.0 M
psa-kronolith noarch 2.3.5-cos5.build1010110112.13 installed 6.2 M
psa-migration-agents x86_64 10.10.1-cos5.build1010110120.18 installed 170 k
psa-migration-manager x86_64 10.10.1-cos5.build1010110120.18 installed 1.0 M
psa-mimp noarch 1.1.3-cos5.build1010110112.13 installed 2.7 M
psa-mnemo noarch 2.2.4-cos5.build1010110112.13 installed 4.0 M
psa-passwd noarch 3.1.3-cos5.build1010110112.13 installed 3.7 M
psa-php5-configurator noarch 1.6.1-cos5.build1010110120.18 installed 125
psa-turba noarch 2.3.5-cos5.build1010110112.13 installed 5.9 M
psa-updates noarch 10.1.1-cos5.build1010110112.13 installed 0.0
psa-vhost noarch 10.10.1-cos5.build1010110112.13 installed 178 k

Transaction Summary
=================================================================================================================================================================================================================
Remove 21 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)


Top
 Profile  
 
 Post subject: Re: Downgrading php?
Unread postPosted: Tue Feb 08, 2011 8:39 am 
Offline
Forum User
Forum User

Joined: Sun Jul 06, 2008 5:18 pm
Posts: 24
Ok, i have a problem with mysql

Seems not to be up :(

After restart the service, i casn see one web, but not another web.

Into phpmyadmin i have a warning about lib PHP MySQL 5.0.90 is different than MySQL 5.1.55. into server


Top
 Profile  
 
 Post subject: Re: Downgrading php?
Unread postPosted: Tue Feb 08, 2011 5:35 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3243
Location: Chantilly, VA
Quote:
Starting httpd: httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory


Thats not actually a PHP error, that just means you have the system configured to use mod_file_cache and you dont have that module installed, or the path is wrong. Unless you know you are using file_cache (which is unlikely unless you are doing reverse proxying or something) then you can comment that out.

To downgrade an rpm you can use the --downgrade switch, you'll need to download the rpms you want to downgrade or you can use yum downgrade php. You'll want to read up on both of those options as php has lots of dependencies and you dont want to clobber the wrong thing.

Quote:
Ok, i have a problem with mysql

Seems not to be up :(


What error do you get when you try to start mysql?

Quote:
Into phpmyadmin i have a warning about lib PHP MySQL 5.0.90 is different than MySQL 5.1.55. into server


You can ignore that.

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: Downgrading php?
Unread postPosted: Wed Feb 09, 2011 4:24 am 
Offline
Forum User
Forum User

Joined: Sun Jul 06, 2008 5:18 pm
Posts: 24
Was blinded with php and i dont see mysql service was stopped!!

Need to comment skip-bdb from /etc/my.cnf

http://www.atomicorp.com/wiki/index.php/Mysql


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group