Problem with self compiled PHP after upgrade to mariadb 10.5.25
by hornschorsch from LinuxQuestions.org on (#6PTV0)
Hi, i have a strange problem with self compiled PHP after upgrading all packages to the current versions. mariadb was upgraded from 10.5.18 to 10.5.25 and i built PHP with "--with-mysqli=/usr/bin/mysql_config".
After that "php -i" shows:
Code:MysqlI Support => enabled
Client API library version => 3.1.23
Active Persistent Links => 0
Inactive Persistent Links => 0
Active Links => 0
Client API header version => 10.5.25-MariaDBand running a script that uses mysqli_connect() results in this warning:
Code:Warning: mysqli_connect(): Headers and client library minor version mismatch. Headers:100525 Library:30123 in /tmp/x.php on line 5When building PHP with "--with-mysqli=mysqlnd" (which is probably the recommended way) the warning does not appear. So the problem is not really severe but i am curious why this happens.
After that "php -i" shows:
Code:MysqlI Support => enabled
Client API library version => 3.1.23
Active Persistent Links => 0
Inactive Persistent Links => 0
Active Links => 0
Client API header version => 10.5.25-MariaDBand running a script that uses mysqli_connect() results in this warning:
Code:Warning: mysqli_connect(): Headers and client library minor version mismatch. Headers:100525 Library:30123 in /tmp/x.php on line 5When building PHP with "--with-mysqli=mysqlnd" (which is probably the recommended way) the warning does not appear. So the problem is not really severe but i am curious why this happens.