|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-11-13 13:16 UTC] johannes@php.net
-Status: Open
+Status: Not a bug
[2013-11-13 13:16 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 20:00:01 2025 UTC |
Description: ------------ CentOS 6 with remi repository & ubuntu 13.04 having php-mysql extension compiled with libmysqlclient.so.18 library from mysql 5.5. During 5.6 release mysql development team wasn't confirmed any major changes in library, thus just a minor library version bumped (5.5: libmysqlclient.so.18.0, 5.6: libmysqlclient.so.18.1). Why we need major mysql version check in ./ext/mysql/php_mysql.c ./ext/mysqli/mysqli_nonapi.c ? Currently it's not possible to deploy both libmysqlclient.so.18 libraries from 5.5 and & 5.6 in shared-compat package, because both versions are providing library file with the same major version. Test script: --------------- <?php $link = mysql_connect('localhost', 'root', ''); Expected result: ---------------- Shouldn't produce any output Actual result: -------------- PHP Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50534 Library:50614 in test-mysql.php on line 2