LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 04-05-2006, 02:44 PM   #1
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Rep: Reputation: 30
Problems upgrading to PHP5 and MySQL 5


What's the best way to upgrade a SuSE 10 box to have MySQL 5 and PHP 5?

I downloaded the latest stable MySQL RPMs from dev.mysql.org and the PHP5 RPMs from ftp://ftp.suse.com/pub/projects/apache/php5/10.0-i386/

I first installed MySQL and I had no problems. The server is up and running. But when I try to install PHP it gives me the following error:

Code:
ernesto@antares:~/Downloads/php5> sudo rpm -Uvh *.rpm
warning: apache2-mod_php5-5.1.2-2.1.20060126.i586.rpm: V3 DSA signature: NOKEY, key ID efb694ea
error: Failed dependencies:
        apache_mmn_20051115 is needed by apache2-mod_php5-5.1.2-2.1.20060126
        libmysqlclient.so.14 is needed by php5-mysql-5.1.2-2.1.20060126
        libmysqlclient.so.14 is needed by php5-mysqli-5.1.2-2.1.20060126
It turns out that the latest MySQL-Shared RPM provides libmysqlclient.so.15 instead of .14

And the first failed dependency (apache_mmn_20051115) I don't know how to satisfy it.

Any ideas please???
 
Old 04-05-2006, 06:21 PM   #2
onjoo
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Suse 10, Suse-factory , RHEL4, SLES9, SLED10
Posts: 380

Rep: Reputation: 30
Quote:
Originally Posted by ernesto_cgf
It turns out that the latest MySQL-Shared RPM provides libmysqlclient.so.15 instead of .14
And the first failed dependency (apache_mmn_20051115) I don't know how to satisfy it.
Any ideas please???
apache_mmn_20051115 is provided by apache2.2.0-x.rpm so i guess you are using apache2.0.0
which has older apache_mmm*-file. So you'll probably need to update also apache.

Official suse php-mysql (downloaded from suse factory) requires libmysqlclient.so.15 instead of that old .14. You should get packages from one place, so you could trust that there won't be any conflicts...
Factory tree offers mysql-5 packages.Here you can find also the newest version of apache and php. Those are for the upcoming suse 10.1, but you maybe can use those... ?
http://ftp.opensuse.org/pub/opensuse...rce/suse/i586/

For the php5 you can use just the cds/dvd or you can also download everyhing from suse 10.0-mirrors. Here is the main source : http://ftp.opensuse.org/pub/opensuse...t-source/suse/
apache2.0,php5, mysql -packages are in the i586/x86_64 folder

The thing is that you are going update your system to a non-supported one, so you will need to update your system manually in the future. That is why i recommend you wait for suse 10.1. or update the packages with factory tree.

Last edited by onjoo; 04-05-2006 at 06:25 PM.
 
Old 04-05-2006, 07:06 PM   #3
JonathonReinhart
Member
 
Registered: Nov 2005
Location: Ohio
Distribution: SuSE
Posts: 34

Rep: Reputation: 15
Yes, using the factory tree is what I just did. Simply go into YaST and click Installation Source. Add a new one and point it to the first link that he provided. I also turned off the CD/DVD source.

However, be prepared to deal with some conflicts. There were quite a few packages that I had to upgrade because of the intertwined dependencies. Had to also just unintall a couple because new versions just weren't there. One of which was Xorg-x11-Mesa.

I did run into a problem now, after I rebooted. Here's the thread on that one...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
php5 and mysql eric_f Slackware 2 10-05-2006 08:19 AM
Problems upgrading MySQL on Ubuntu, with Apache2/PHP4 peruvianllama Linux - Software 0 08-16-2005 09:27 AM
upgrading php 4.2.3 to php5 pelegk2 Linux - Software 1 10-17-2004 05:45 PM
PHP can't connect MySQL after upgrading to php5 Mikessu *BSD 2 08-13-2004 02:55 PM
Upgrading to MySQL 4 problems Rv5 Linux - Software 1 02-19-2004 01:37 PM


All times are GMT -5. The time now is 07:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration