I've run both programs. [1] outputs Client library version 5.1.51, but [2]
gives no output. However I have checked MySql status via the command
prompt which tells me mysql Ver 14.14 Distrib 5.1.51 for Win32(ia32).
I originally installed PHP 5.3 but I couldn't get it to communicate with
mysqli (and I tried everything!) so I unstalled it and replaced it with
version 5.2.14. PHP info tells me this that the Client API library version
is 5.1.51 and the header version is 5.0.51a.
Does this help identify a solution?
Thanks and best wishes
tholland
----- Original Message -----
From: "Luigi Pressello" <radq89@xxxxxxxxx>
To: "Tommy Pham" <tommyhp2@xxxxxxxxx>
Cc: "'sueandant'" <hollandsathome@xxxxxxxxxxxxx>; "'PHP'"
<php-general@xxxxxxxxxxxxx>
Sent: Friday, October 15, 2010 10:46 PM
Subject: Re: Error message not understood
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:tommyhp2@xxxxxxxxx]
Sent: Friday, October 15, 2010 2:16 PM
To: 'sueandant'; 'PHP'
Subject: RE: Error message not understood
-----Original Message-----
From: sueandant [mailto:hollandsathome@xxxxxxxxxxxxx]
Sent: Friday, October 15, 2010 2:02 PM
To: PHP
Subject: 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