W3cubDocs

/MariaDB

How to match API version for php5_mysql and mariadb client?

Hello! I have recent php5 and php5_mysql installed from Ubuntu repos. When i'm running scripts connecting to DB i get "mysql_connect(): Headers and client library minor version mismatch. Headers:50149 Library:50203".

I suppose i could suppress errors but it isn't my way. But what is the correct way to fix it?

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.

© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/installation-issues-with-php5/1079