PHP upgrade does not use correct MySQL library

Support/Development for PHP
Kalimari
Forum Regular
Forum Regular
Posts: 526
Joined: Wed Jan 02, 2008 3:21 pm
Location: United Kingdom

PHP upgrade does not use correct MySQL library

Unread post by Kalimari »

Having installed phpMyAdmin stand-alone on Plesk 8.3/RHEL4, I noticed at the bottom of the homepage the following:
Your PHP MySQL library version 4.1.22 differs from your MySQL server version 5.0.51. This may cause unpredictable behavior
After a little research, there seem to be a few different opinions on the cause/solution and I'm left wondering if anything is required, as I used the atomic installer to upgrade PHP/MySQL a few weeks back. So, is the ART php-mysql package compiled against mysql 5, is this normal/expected or has my installation gone awry?

Are any other users having the same issue?

Thanks
hiddenidentity
Forum User
Forum User
Posts: 30
Joined: Sun Nov 26, 2006 5:31 pm

Unread post by hiddenidentity »

AFAIK this is normal behavior - I have the same configuration as well.

From memory Scott said that this version of the client lib is required by the Plesk control panel (that may not be the case anymore with 8.1.x?).

Hasn't caused me any issues using either the PHP mysql or the mysqli extensions in PHP 4 or 5, and that includes using prepared statements. So I wouldn't worry about it personally.
Kalimari
Forum Regular
Forum Regular
Posts: 526
Joined: Wed Jan 02, 2008 3:21 pm
Location: United Kingdom

Unread post by Kalimari »

Thanks for the response hiddenidentity,

At least I am not the only one. I must admit MySQL/PHP are running fine, but alerts of this nature usually deserve investigating... I'd hate to run into trouble later due to ignorance.

Anyone else know of any issues?
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Lemonbit Internet Dedicated Server Management
Kalimari
Forum Regular
Forum Regular
Posts: 526
Joined: Wed Jan 02, 2008 3:21 pm
Location: United Kingdom

Unread post by Kalimari »

Not sure how I missed that entry in the forum? But it tells me everything I need to know. Thanks for the pointer!
Post Reply