Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Headers and client library minor version mismatch ??? - Need Help

    This is a new virtual server, where I have installed LAMP.

    When I bring up my website that is being hosted, I get this error:

    Warning: mysql_pconnect() [function.mysql-pconnect]: Headers and client library minor version mismatch. Headers:40120 Library:50136 in
    Any ideas of what has gone wrong? Thanks!

  2. #2
    When I rpm -qa | grep -i '^mysql-' is shows:


    The headers and libraries are installed. I can't figure out why I am receiving the error.

    Is this a PHP install error? Or is it MySQL?

    I have tried re-installing MySQL multiple times via:

    rpm -qa | grep -i '^mysql-'


    rpm --nodeps -ev MySQL-shared-community-5.1.36-0.rhel4
    rpm --nodeps -ev MySQL-server-community-5.1.36-0.rhel4
    rpm --nodeps -ev MySQL-client-community-5.1.36-0.rhel4
    rpm --nodeps -ev MySQL-devel-community-5.1.36-0.rhel4

    wget h**p://**p://
    wget h**p://**p://
    wget h**p://**p://
    wget h**p://**p://

    rpm -Uvh MySQL-server-community-5.1.36-0.rhel4.i386.rpm
    rpm -Uvh MySQL-client-community-5.1.36-0.rhel4.i386.rpm
    rpm -Uvh MySQL-shared-community-5.1.36-0.rhel4.i386.rpm
    rpm -Uvh MySQL-devel-community-5.1.36-0.rhel4.i386.rpm

  3. #3
    Figured it out.

    It was a PHP issue. I did yum remove php and deleted all the PHP 4 files. Then did a fresh PHP 5 ./configure install and everything works well.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts