Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is this possible at all? I have installed the php 5.4.5 from the remi repositories on my CentOS installation, however, it seems that the PHP MySQL library isn't the same as my MySQL library.

The error:
Your PHP MySQL library version 5.0.92 differs from your MySQL server version 5.5.25a. This may cause unpredictable behavior.

Now I was googling this, and it seems that the only way to fix this is to recompile the PHP MySQL library or downgrading MySQL server, which I don't really want to do.

Is there any other alternative? And if not where/how do I recompile php mysql library the right way? As I can't find the right resources online.

As you can see below, the culprit is mysqlclient15 from lxcenter, however, when trying to remove it, it complains about removing practically my whole kloxo installation, which obviously I don't want to do.

[root@237266 ~]# yum list installed | grep mysql
mysql.i386                                    5.5.25a-1.el5.remi       installed
mysql-devel.i386                              5.5.25a-1.el5.remi       installed
mysql-libs.i386                               5.5.25a-1.el5.remi       installed
mysql-server.i386                             5.5.25a-1.el5.remi       installed
mysqlclient15.i386                            5.0.92-lxcenter.1        installed
mysqlclient15-devel.i386                      5.0.92-lxcenter.1        installed
php-mysql.i386                                5.4.5-1.el5.remi         installed

Any help is appreciated.


locked by HopelessN00b Apr 9 '15 at 19:13

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as off-topic by HopelessN00b Apr 9 '15 at 19:13

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 0 down vote accepted

Most likely you have some old PHP packages hanging around from before you installed the remi repository.

First, make sure everything is up to date:

yum update

This should bring your PHP version to 5.4.5 (as long as you still have remi-test enabled).

So again same thing. Two PHP versions, phpMyAdmin runs on the old version. Thanks anyway! – Hosh Sadiq Jul 30 '12 at 1:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.