Upgrade to php version 5.3.1

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Renier
Forum Newbie
Posts: 5
Joined: Wed Jan 13, 2010 1:41 am

Upgrade to php version 5.3.1

Post by Renier »

Hi guys. I'm getting the following warning after upgrading to php version 5.3.1

PHP Warning: mysql_connect(): Headers and client library minor version mismatch.

Any idea what could be wrong?

Thanks in advance
User avatar
Grizzzzzzzzzz
Forum Contributor
Posts: 125
Joined: Wed Sep 02, 2009 8:51 am

Re: Upgrade to php version 5.3.1

Post by Grizzzzzzzzzz »

did you upgrade? Or do it as a fresh install?


Sounds like you have conflicting files, so try a fresh install
Renier
Forum Newbie
Posts: 5
Joined: Wed Jan 13, 2010 1:41 am

Re: Upgrade to php version 5.3.1

Post by Renier »

Upgraded through source.

From version 4.x to 5.3.1


Thx for the reply. Will give it a shot
User avatar
flying_circus
Forum Regular
Posts: 732
Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR

Re: Upgrade to php version 5.3.1

Post by flying_circus »

I'll take a guess...

Was the mysql extension included in the php ./configure file?

Since mysql is an extension, the extension library itself found in the php /ext directory may not have been upgraded with the php core upgrade. See if it was built with php and manually copy it, else you may have to build it.

*Be advised, this a guess by some random chucklehead on the internet. I may have my head burried in my @$$*
Post Reply