Page 1 of 1

PHP upgrade does not use correct MySQL library

Posted: Mon Jan 21, 2008 1:06 pm
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

Posted: Tue Jan 22, 2008 6:36 am
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.

Posted: Tue Jan 22, 2008 8:27 am
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?

Posted: Wed Jan 23, 2008 5:30 am
by breun

Posted: Wed Jan 23, 2008 5:57 am
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!