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. 2024-04-27, 17:21:51

Author Topic: php53m warning  (Read 3486 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • 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,807
  • Karma: +119/-11
  • 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: 4,050
  • 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,807
  • Karma: +119/-11
  • 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: 4,050
  • 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,807
  • Karma: +119/-11
  • 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: 4,050
  • 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.

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.027 seconds with 19 queries.

web stats analysis