Page 1 of 1

Can't upgrade PHP in a brand new Centos 5 32 with Plesk 9

Posted: Sun Feb 21, 2010 10:24 pm
by zooming
Hello,

I'm having problems to upgrade PHP from 5.1.6 to 5.2.12 in two brand new servers at The Planet.

Both are installed with Centos 5 32 bits, Plesk 9 and SiteBuilder (yes, I need SiteBuilder...).

I just can't upgrade these servers, I get these messages after running yum update:

yum update:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.linux.ncsu.edu
* atomic: www4.atomicorp.com
* base: ftp.linux.ncsu.edu
* extras: mirror.skiplink.com
* updates: mirror.raystedman.net
Excluding Packages in global exclude list
Finished
Excluding Packages from Plesk Server Administrator
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-server.i386 0:5.0.90-1.el5.art set to be updated
--> Processing Dependency: mysql = 5.0.90-1.el5.art for package: mysql-server
---> Package nmap.i386 2:4.85-1.el5.art set to be updated
---> Package php-gd.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-gd
--> Processing Dependency: libt1.so.5 for package: php-gd
---> Package php-imap.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-imap
---> Package php-mbstring.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-mbstring
---> Package php-mysql.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-mysql
---> Package php-pdo.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-pdo
---> Package php-xml.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-xml
---> Package psa-kronolith.noarch 0:2.1.8-2.el5.art set to be updated
---> Package psa-mail-pc-driver.i586 0:1.0.0-cos5.build93091230.07 set to be updated
--> Processing Dependency: cyrus-sasl-sqlite3 for package: psa-mail-pc-driver
--> Processing Dependency: cyrus-sasl-md5 for package: psa-mail-pc-driver
--> Processing Dependency: postfix for package: psa-mail-pc-driver
---> Package psa-proftpd.i386 0:1.3.2-6.el5.art set to be updated
---> Package ruby.i386 0:1.8.5-5.el5_4.8 set to be updated
---> Package ruby-devel.i386 0:1.8.5-5.el5_4.8 set to be updated
---> Package ruby-irb.i386 0:1.8.5-5.el5_4.8 set to be updated
---> Package ruby-libs.i386 0:1.8.5-5.el5_4.8 set to be updated
---> Package spamassassin.i386 1:3.2.5-1.el5.art set to be updated
--> Running transaction check
---> Package cyrus-sasl-md5.i386 0:2.1.22-5.el5 set to be updated
---> Package cyrus-sasl-sqlite3.i386 0:1.0.0-0.279666 set to be updated
---> Package mysql-server.i386 0:5.0.90-1.el5.art set to be updated
--> Processing Dependency: mysql = 5.0.90-1.el5.art for package: mysql-server
---> Package php-gd.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-gd
---> Package php-imap.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-imap
---> Package php-mbstring.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-mbstring
---> Package php-mysql.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-mysql
---> Package php-pdo.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-pdo
---> Package php-xml.i386 0:5.2.12-3.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.12-3.el5.art for package: php-xml
---> Package postfix.i386 2:2.3.3-2.1.el5_2 set to be updated
---> Package t1lib.i386 0:5.1.2-2.el5.art set to be updated
--> Finished Dependency Resolution
php-gd-5.2.12-3.el5.art.i386 from atomic has depsolving problems
--> Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-gd-5.2.12-3.el5.art.i386 (atomic)
mysql-server-5.0.90-1.el5.art.i386 from atomic has depsolving problems
--> Missing Dependency: mysql = 5.0.90-1.el5.art is needed by package mysql-server-5.0.90-1.el5.art.i386 (atomic)
php-pdo-5.2.12-3.el5.art.i386 from atomic has depsolving problems
--> Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-pdo-5.2.12-3.el5.art.i386 (atomic)
php-xml-5.2.12-3.el5.art.i386 from atomic has depsolving problems
--> Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-xml-5.2.12-3.el5.art.i386 (atomic)
php-imap-5.2.12-3.el5.art.i386 from atomic has depsolving problems
--> Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-imap-5.2.12-3.el5.art.i386 (atomic)
php-mysql-5.2.12-3.el5.art.i386 from atomic has depsolving problems
--> Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-mysql-5.2.12-3.el5.art.i386 (atomic)
php-mbstring-5.2.12-3.el5.art.i386 from atomic has depsolving problems
--> Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-mbstring-5.2.12-3.el5.art.i386 (atomic)
Error: Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-pdo-5.2.12-3.el5.art.i386 (atomic)
Error: Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-imap-5.2.12-3.el5.art.i386 (atomic)
Error: Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-xml-5.2.12-3.el5.art.i386 (atomic)
Error: Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-mbstring-5.2.12-3.el5.art.i386 (atomic)
Error: Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-gd-5.2.12-3.el5.art.i386 (atomic)
Error: Missing Dependency: mysql = 5.0.90-1.el5.art is needed by package mysql-server-5.0.90-1.el5.art.i386 (atomic)
Error: Missing Dependency: php-common = 5.2.12-3.el5.art is needed by package php-mysql-5.2.12-3.el5.art.i386 (atomic)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

So it's something related to php-common, but I don't know how to complete this upgrade.

php -v:

PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:04)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by ionCube Ltd.

uname info:

2.6.18-164.11.1.el5PAE #1 SMP Wed Jan 20 08:16:13 EST 2010 i686 i686 i386 GNU/Linux

Any help will be appreciated.

Thank you!
Alexandre

Re: Can't upgrade PHP in a brand new Centos 5 32 with Plesk 9

Posted: Mon Feb 22, 2010 1:54 am
by spaceout
I'm having the exact same problem. Also a new server with The Planet. I'll let you know if I find anything, but nothing so far.

Re: Can't upgrade PHP in a brand new Centos 5 32 with Plesk 9

Posted: Mon Feb 22, 2010 2:38 am
by spaceout
I found the problem on my server. I had to edit /etc/yum.conf and remove a few things that were in the exclude list. kernel* and all of the php items. Hope this helps you as well.

Re: Can't upgrade PHP in a brand new Centos 5 32 with Plesk 9

Posted: Mon Feb 22, 2010 11:22 am
by zooming
Thank you spaceout.

Now I'm getting another error:

php-sqlite2-5.1.6-200705230938.i386 from installed has depsolving problems
--> Missing Dependency: php <= 5.2.0 is needed by package php-sqlite2-5.1.6-200705230938.i386 (installed)

After a "yum remove php-sqlite2" the upgrade was completed.

But now I'm not sure if SiteBuilder will work, I'll check out.

Re: Can't upgrade PHP in a brand new Centos 5 32 with Plesk 9

Posted: Mon Feb 22, 2010 1:56 pm
by BruceLee
You could check it by uninstalling suitebuilder and reinstall it via the rpm or the autoinstaller from parallels again.
http://download1.parallels.com/SiteBuil ... tOS_5_i386
http://download1.parallels.com/SiteBuil ... 214.tar.gz
They have a CentOS 5 i386 package for suitebuilder so I it should run.

Re: Can't upgrade PHP in a brand new Centos 5 32 with Plesk 9

Posted: Tue Feb 23, 2010 9:54 am
by zooming
Thank you BruceLee.

Just removing php-sqlite2 (and sb_publish, as a dependancy) worked fine.

The new version of php-sqlite2 is available at http://yum.jardiknas.org/atomic/centos/ ... t.i386.rpm

After all upgrades, you just need to run the Plesk's autoinstaller again to add the sb_publish package.

Re: Can't upgrade PHP in a brand new Centos 5 32 with Plesk

Posted: Wed Jul 07, 2010 2:19 pm
by iamdamnsam
You guys with The Planet, did a straight upgrade make anything not work? I have the small business panel (think that is what it is called). I don't need site builder or anything, but I don't want to f up the server. I really want to upgrade PHP. Thanks for any input.

Re: Can't upgrade PHP in a brand new Centos 5 32 with Plesk

Posted: Thu Jul 08, 2010 8:27 am
by Highland
I just rolled 3 brand new servers up from a stock install without issue (one is running Plesk 9.5.2). The root issue here is php-sqlite and Sitebuilder, which you probably don't need (and it's not installed by default)

Re: Can't upgrade PHP in a brand new Centos 5 32 with Plesk

Posted: Fri Jul 09, 2010 12:48 am
by iamdamnsam
I gave it a try, but I am still getting this

Code: Select all

1:psa-atmail-1.03-6.el5.art.noarch from atomic has depsolving problems
  --> Missing Dependency: psa >= 9.0 is needed by package 1:psa-atmail-1.03-6.el5.art.noarch (atomic)
Error: Missing Dependency: psa >= 9.0 is needed by package 1:psa-atmail-1.03-6.el5.art.noarch (atomic)
can I just skip that? Thanks for all the help :)

Re: Can't upgrade PHP in a brand new Centos 5 32 with Plesk

Posted: Fri Jul 09, 2010 8:13 am
by Highland
You should be able to. atmail is an optional add-on anyways.

Re: Can't upgrade PHP in a brand new Centos 5 32 with Plesk

Posted: Fri Jul 09, 2010 12:07 pm
by iamdamnsam
Thanks! all seems well and atmail still works :) Thanks a ton!