LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Problems upgrading to PHP5 and MySQL 5 (https://www.linuxquestions.org/questions/suse-opensuse-60/problems-upgrading-to-php5-and-mysql-5-a-432053/)

ernesto_cgf 04-05-2006 02:44 PM

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???

onjoo 04-05-2006 06:21 PM

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.

JonathonReinhart 04-05-2006 07:06 PM

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...


All times are GMT -5. The time now is 08:32 PM.