2

Installing PHP MySQL library to be the same as MySQL server version

view story
linux-howto

http://serverfault.com – 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? A (HowTos)