|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60656 our PHP MySQL library version XXX differs from your MySQL server version YYY
Submitted: 2012-01-04 15:47 UTC Modified: 2020-03-06 09:32 UTC
Avg. Score:4.1 ± 1.0
Reproduced:20 of 20 (100.0%)
Same Version:10 (50.0%)
Same OS:3 (15.0%)
From: e dot a dot botjes at gmail dot com Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: Irrelevant OS: Linux / Ububtu 10.4
Private report: No CVE-ID: None
 [2012-01-04 15:47 UTC] e dot a dot botjes at gmail dot com
I run:
Ubuntu 10.4
PhpMyAdmin 3.4.8
PHP 5.3.2-1ubuntu4.11 
MariaDB 5.3.3

I upgraded from mariadb 5.2.?

Since this upgrade I get the following warning in phpmyadmin:
"Your PHP MySQL library version 5.2.10-MariaDB differs from your MySQL server 
version 5.3.3. This may cause unpredictable behavior."

When previously upgrading from mysql 5.? to mariadb 5.2.? I also recieved this 

The first time I fixed this by using "apt-get install php5-mysql"
But the second time this did not work.

According to
the version differs can be ignored.

According to a chat on freenode #maria
[15:56] <wlad> edzob, I do not think so. I think the correct place to complain 
in this case is PHP. This PHP version check is just pointless, just does not 
work. This will not cause unpredictable behavior
[16:06] <wlad> edzob, it was done by a nice guy indeed, it is done  wrong.. He 
(person who introduced the check) said that long ago in  a galaxy far away, ABI 
or protocol was changed between some of 5.0 releases. And since then he became 
overcautiious. Pierre might know more details to it, and may be (I don't know 
for sure) even has an influence on it in a way that the check is finally removed 
for good.

Thus my request..
Since 2 sources state that the warning can be ignored.
Can this version check be removed from php?
So that this warning without a function (or functional impact as reason) does 
not give this warning anymore?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-06 09:32 UTC]
-Status: Open +Status: Not a bug
 [2020-03-06 09:32 UTC]
This issue appears to have been fixed long ago – in phpMyAdmin[1].

[1] <>
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 14 21:01:30 2024 UTC