mysqli_real_connect(): Headers and client library minor version mismatch.

Discussion in 'General OpenLiteSpeed Discussion' started by while1, Sep 18, 2017.

  1. while1

    while1 New Member

    hi all
    centos7 + php56 by ols1clk

    : mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50552 Library:100126 in

    how to fix it?
     
  2. Cold-Egg

    Cold-Egg Administrator

    I just clean installed CentOS 7 + ./ols1clk.sh -w without any problem.
    You may want to try the following commands to fix the mysql version issue:
    yum -y remove lsphp56-mysql
    yum -y install lsphp56-mysqlnd
    service lsws restart
     
  3. while1

    while1 New Member

    Works great. Thanks.
     

Share This Page