Re: Error message not understood
| From: | sueandant | Date: | Sat, 16 Oct 2010 20:16:00 +0000 |
| Subject: | Re: Error message not understood | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308750@lists.php.net to get a copy of this message | ||
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@gmail.com>
To: "Tommy Pham" <tommyhp2@gmail.com>
Cc: "'sueandant'" <hollandsathome@tiscali.co.uk>; "'PHP'" <php-general@lists.php.net>
Sent: Friday, October 15, 2010 10:46 PM
Subject: Re: [PHP] 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@gmail.com] Sent: Friday, October 15, 2010 2:16 PM To: 'sueandant'; 'PHP' Subject: RE: [PHP] Error message not understooduse-----Original Message----- From: sueandant [mailto:hollandsathome@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 thollandIt 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 ora distribution? Regards, TommyForgot 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