RE: Error message not understood

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: sueandant [mailto:hollandsathome@xxxxxxxxxxxxx]
> Sent: Saturday, October 16, 2010 1:16 PM
> To: Luigi Pressello
> Cc: PHP
> Subject: Re:  Error message not understood
> 
> 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).

You still haven't answer the question of what platform? FreeBSD? Linux? Mac?
Windows?  And what is the platform version?

> 
> 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

How did you uninstall?  Using the OS's software/package manager such package
on FreeBSD, yast on some Linux, add/remove programs on Windows, etc.?  Did
you compile any of it - MySQL or PHP - yourself?

> 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.

This just means that there's a mismatch within the PHP.  If you compiled
from source for any of it, PHP's MySQL & MySQLi extensions depends on the
MySQL headers and client library.  Thus, MySQL client has to be compiled
first before you can compile the PHP's MySQL/MySQLi extensions.  This
applies to all platforms if you're doing your compilation from source.  If
you didn't compile any of it - both MySQL and PHP - then the problem lies
within your OS's software/package manager.  Without knowing what you're
using, we can't really tell what happens.  Some Linux distributions do
things differently.  I'm not well versed in Linux but many others here on
this list can help you with it.  I suggest you 'uninstall' both PHP & MySQL.
Then reinstall MySQL 1st and PHP 2nd.  Also, just a bit curious... where did
you get the MySQL & PHP?  I hope directly from the official source... ;)

> 
> Does this help identify a solution?
> 
> Thanks and best wishes
> 
> tholland

<snip>

Regards,
Tommy


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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux