Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 20:44:26

Author Topic: php53m warning  (Read 1097 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
php53m warning
« on: 2015-12-12, 12:42:11 »
Warning: mysqli_connect() [function.mysqli-connect]: Headers and client library minor version mismatch. Headers:50173 Library:50312

I'm on MariaDB and secondary php53m

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53m warning
« Reply #1 on: 2015-12-12, 12:55:07 »
It's normal warning because php 5.3 compiled with old version of mysql (possible with mysql 5.1).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php53m warning
« Reply #2 on: 2015-12-12, 16:39:00 »
It's normal warning because php 5.3 compiled with old version of mysql (possible with mysql 5.1).

Just add yum -y install mysqlclient16 to installer and it will be gone forever. You even have this package in your repo ;)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53m warning
« Reply #3 on: 2015-12-13, 00:32:24 »
It's just a warning (no error). To hidden, try change 'mysql_connect' to '@mysql_connect'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php53m warning
« Reply #4 on: 2015-12-13, 12:48:47 »
It's just a warning (no error). To hidden, try change 'mysql_connect' to '@mysql_connect'.

I know, but add:

yum -y install mysqlclient16

and it will be gone.

Then mysql module header will be changed from old MariaDB 5.3 to MySQL 5.1.67 which is perfectly compatible with MariaDB 10.x series.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53m warning
« Reply #5 on: 2015-12-13, 12:53:35 »
It's just a warning (no error). To hidden, try change 'mysql_connect' to '@mysql_connect'.

I know, but add:

yum -y install mysqlclient16

and it will be gone.

Then mysql module header will be changed from old MariaDB 5.3 to MySQL 5.1.67 which is perfectly compatible with MariaDB 10.x series.
CentOS 6 have myslclient16 but CentOS 5 have mysqlclient15.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php53m warning
« Reply #6 on: 2015-12-13, 13:09:40 »
It's just a warning (no error). To hidden, try change 'mysql_connect' to '@mysql_connect'.

I know, but add:

yum -y install mysqlclient16

and it will be gone.

Then mysql module header will be changed from old MariaDB 5.3 to MySQL 5.1.67 which is perfectly compatible with MariaDB 10.x series.
CentOS 6 have myslclient16 but CentOS 5 have mysqlclient15.

Yes, I have CentOS 6.

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.038 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM