Probably a PHP compilation problem.
The message seems refer to the headers (libmysql.h) used in the ../configure 
phase of the building process.

It seems like your PHP version was compiled using a MySQL 5.0.11 version 
header, while your connecting to a server running MySQL 5.1.51, Have you 
upgraded your MySQL recently? are you using the MySQL server on the same 
machine that runs Apache/IIS/etc.. and PHP?

Sorry for the "Italianese" english :)

Luigi.

Il giorno 15/ott/2010, alle ore 23.19, Tommy Pham ha scritto:

>> -----Original Message-----
>> From: Tommy Pham [mailto:tommy...@gmail.com]
>> Sent: Friday, October 15, 2010 2:16 PM
>> To: 'sueandant'; 'PHP'
>> Subject: RE: [PHP] Error message not understood
>> 
>>> -----Original Message-----
>>> From: sueandant [mailto:hollandsath...@tiscali.co.uk]
>>> Sent: Friday, October 15, 2010 2:02 PM
>>> To: PHP
>>> Subject: [PHP] Error message not understood
>>> 
>>> Can anyone help me with this error message and explain how to correct
>>> the mismatch?
>>> 
>>> PHP Warning:  mysqli_connect() [<a href='function.mysqli-
>>> connect'>function.mysqli-connect</a>]: Headers and client library
>>> minor version mismatch. Headers:50051 Library:50151
>>> 
>>> tholland
>> 
>> It would help if you provide the platform and platform version:
>> Windows, Linux, Mac, FreeBSD, or other variants.
>> 
>> And also the PHP version you're using.  Did you compile PHP yourself or
> use
>> a distribution?
>> 
>> Regards,
>> Tommy
> 
> Forgot to mention this earlier... too hasty on the send button ... lol.
> 
> Since it's only a warning and you are able to connect, run [1] & [2] to see
> what do you get.
> 
> [1] http://us2.php.net/manual/en/mysqli.get-client-info.php
> [2] http://us2.php.net/manual/en/mysqli.info.php
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to