Headers and client library minor version mismatch
-
Hallo Zusammen,
ich habe letzte Woche das Upgrade von 1.4.8 auf 1.8 durchgeführt. Nach dem erfolgreichen Upgrade auf 1.8, bekomme ich nun folgenden Fehler, wenn ich auf die Startseite surfe:
mysqli_connect(): Headers and client library minor version mismatch. Headers:50550 Library:100121 (/var/www/idoit/src/classes/components/isys_component_database_mysqli.class.php:53)
OS: CentOS Linux release 7.3.1611 (Core)
PHP: 5.4
MariaDB-server-10.1.21-1.el7.centos.x86_64Für jeglichen Hinweis bin ich sehr dankbar.
Herzlichen Dank, Peter -
Hallo,
wir hatten den Fehler auch mit RHEL 7 und haben statt php5-mysql dann das Paket php5-mysqlnd installiert, wenn ich mich recht entsinne.
Ciao
Sven
-
Genau richtig. Das ursprüngliche PHP-Modul mysql wird seit den Nullerjahren nicht mehr weiterentwickelt. Daher gilt die klare Empfehlung, das Modul mysqlnd zu verwenden. Unter RHEL (also auch CentOS) ist es im Paket php-mysqlnd verfügbar, siehe auch unsere Knowledge Base.
-
Super, herzlichen Dank für die Info.
$ yum remove php-mysql
$ yum install php-mysqlndhas das Problem gelöst.
- LG, Peter
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login