LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-28-2016, 09:31 PM   #1
masterross
Member
 
Registered: Nov 2005
Distribution: CentOS 7.x
Posts: 107

Rep: Reputation: 17
Problem with compiling PHP (Headers and client library minor version mismatch)


Hi guys,

Recently I upgraded mysql from 5.1.73 to 5.7.10.
There wasnt problem util I decided to upgrade PHP too.
After that I'm getting this error:
(Headers and client library minor version mismatch)
My php configure is:
Quote:
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-gd --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/lib --with-freetype-dir=/usr/lib --enable-gd-native-ttf --with-apxs2=/usr/local/apache2/bin/apxs --enable-mbstring --enable-opcache --with-openssl --with-curl
I'm pretty sure there is some old mysql libs but cant find them.
Can you help?

Thanks in advance!
 
Old 01-28-2016, 11:13 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Hint: Look into /usr/local/*. Cruft left there will be the showstopper.
 
Old 01-29-2016, 05:20 PM   #3
masterross
Member
 
Registered: Nov 2005
Distribution: CentOS 7.x
Posts: 107

Original Poster
Rep: Reputation: 17
Thx mate,

I've cleared all from /usr/local/mysql (except tables) and re-installed MySQL.
After that I've recompiled PHP and now all is OK!

Thanks!
 
Old 01-29-2016, 06:22 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You are welcome!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP version mismatch roopakl Linux - Newbie 9 04-16-2012 08:47 PM
SASL library version mismatch: expected 2.1.23, got 2.1.22 slast Linux - Newbie 1 08-21-2009 01:20 AM
Headers and client library minor version mismatch ??? - Need Help phpinfo Linux - Server 2 07-27-2009 06:24 PM
NVRM: RM/client version mismatch bratch Linux - Software 1 07-12-2005 04:54 AM
Re-compiling PHP with GD library ubers0ldat Linux - Software 1 08-20-2003 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration