Is it possible to add an alternative to the dependency php5-mysql?
I want to install php5-mysqlnd (native driver) which does the same job as php5-mysql. However, this is not possible without getting froxlor deinstalled. Of course, I could install it using dpkg ignoring the froxlor dependency (this works) but I want my system clean, and all dependencies resolved.
The reason is the following: I'm getting the error "Headers and client library minor version mismatch. Headers:50535 Library:50617", see below.
After having MySQL 5.6.17 published, some users complained about a warning thrown by their PHP applications :
PHP Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50535 Library:50617
In fact, this could happen with any application linked to libmysqlclient18 in a certain version (php5-mysql from Dotdeb is linked to the 5.5.35 version from the stock Debian distribution) when connecting to a MySQL server in another version (5.6.17 in our case). The warning is thrown by libmysqlclient18 itself. And this is just a warning, there is no reason why any bad behavior would happen in that case.
Of course, I could build php5-mysql against the latest libmysqlclient18 (5.6.17), but it would lead to very bad issues, such as duplicate symbols or segfaults when PHP is loaded with other MySQL-linked modules from the stock Debian distribution (those are linked to libmysqlclient18 5.5.35). For example : mod_php5 + Apache + mod_auth_mysql would crash.
If this this warning really annoys you, feel free to install php5-mysqlnd instead of php5-mysql :
it?s a drop-in replacement
it?s not linked against any libmysqlclient library
it won?t throw any irrelevant warning about version mismatch
Question
Warlock
Hi,
Is it possible to add an alternative to the dependency php5-mysql?
I want to install php5-mysqlnd (native driver) which does the same job as php5-mysql. However, this is not possible without getting froxlor deinstalled. Of course, I could install it using dpkg ignoring the froxlor dependency (this works) but I want my system clean, and all dependencies resolved.
The reason is the following: I'm getting the error "Headers and client library minor version mismatch. Headers:50535 Library:50617", see below.
Source: http://www.dotdeb.org/
Thank you.
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.