Results 1 to 3 of 3
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:
Code:
Warning: mysql_pconnect() [function.mysql-pconnect]: Headers ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-26-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 12
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:
Any ideas of what has gone wrong? Thanks!Code:Warning: mysql_pconnect() [function.mysql-pconnect]: Headers and client library minor version mismatch. Headers:40120 Library:50136 in
- 07-27-2009 #2Just Joined!
- Join Date
- Jan 2009
- Posts
- 12
When I rpm -qa | grep -i '^mysql-' is shows:
MySQL-devel-community-5.1.36-0.rhel4
MySQL-client-community-5.1.36-0.rhel4
MySQL-shared-community-5.1.36-0.rhel4
MySQL-server-community-5.1.36-0.rhel4
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-'
MySQL-devel-community-5.1.36-0.rhel4
MySQL-client-community-5.1.36-0.rhel4
MySQL-shared-community-5.1.36-0.rhel4
MySQL-server-community-5.1.36-0.rhel4
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://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-server-community-5.1.36-0.rhel4.i386.rpm/from/h**p://opensource.become.com/mysql/
wget h**p://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-client-community-5.1.36-0.rhel4.i386.rpm/from/h**p://opensource.become.com/mysql/
wget h**p://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-shared-community-5.1.36-0.rhel4.i386.rpm/from/h**p://opensource.become.com/mysql/
wget h**p://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-devel-community-5.1.36-0.rhel4.i386.rpm/from/h**p://opensource.become.com/mysql/
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
- 07-27-2009 #3Just Joined!
- Join Date
- Jan 2009
- Posts
- 12
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.


Reply With Quote
