Page 1 of 1

[SOLVED] Upgrade from PHP 5.1.6 to 5.2.6 fails

Posted: Sun Oct 05, 2008 4:53 pm
by mcalthrop
Hi,

I'm having trouble upgrading PHP using yum (Plesk 8.6.0 - just updated via control panel - on 64-bit FC6).

I've followed the instructions here:

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

But I get the following error when I run 'yum update php' or 'yum update':

Error: Missing Dependency: php < 5.2.0 is needed by package php-sqlite

Help!

This is very frustrating, because I really need to run 5.2.x - and I don't even need sqlite...

So I tried removing sqlite with 'yum remove sqlite' - and it then wants me to remove 95 other dependent packages, including all the PSA packages (plesk stuff), httpd, php, etc - which I'm pretty sure I don't want to do!

Any ideas?

thanks in advance,

Matt

Solved!

Posted: Sun Oct 05, 2008 5:08 pm
by mcalthrop
Ah - found the solution!

I only needed to remove the 'php-mysqlite' package, not the 'mysqlite' package.

Did that, ran 'yum update php', restarted httpd, and job done.

Matt