Re: Error message not understood
| From: | sueandant | Date: | Mon, 18 Oct 2010 20:52:04 +0000 |
| Subject: | Re: Error message not understood | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308806@lists.php.net to get a copy of this message | ||
I'm running PHP as module with Apache. The version I downloaded was your [1], tho it wa version 5.2.14. When I downloaded and unzipped the files I had already installed MySql Ver 14.14 Distrib 5.1.51 for Win32(ia32).
Thanks for the help.
tholland
----- Original Message ----- From: "Tommy Pham" <tommyhp2@gmail.com>
To: "'sueandant'" <hollandsathome@tiscali.co.uk>
Cc: "'PHP'" <php-general@lists.php.net>
Sent: Saturday, October 16, 2010 10:49 PM
Subject: RE: [PHP] Error message not understood
-----Original Message----- From: sueandant [mailto:hollandsathome@tiscali.co.uk] Sent: Saturday, October 16, 2010 2:23 PM To: Tommy Pham Cc: PHP Subject: Re: [PHP] Error message not understood Apologies! Vista Home Premium 32bit with SP2. I uninstalled it using Windows' uninstaller. I didn't compile any of the packages. MySQL was installed using the .msi download and PHP I simply unzipped to my C:\PHP folder. And, yes, they both came from the official sites.Forgot to mention something, please don't top post. It makes hard for others to follow the thread. Are you running PHP with IIS or Apache? If with Apache how are you running PHP as, CGI or module? Since you're using official distributions, you'll have to use PHP VC6 TS build (if not using as CGI/FastCGI) for Apache [1]. If you're running PHP with IIS, you'll have to run NTS build for FastCGI [2]. [1] http://windows.php.net/downloads/releases/php-5.3.3-Win32-VC6-x86.zip [2] http://windows.php.net/downloads/releases/php-5.3.3-nts-Win32-VC9-x86.zip----- Original Message ----- From: "Tommy Pham" <tommyhp2@gmail.com> To: "'sueandant'" <hollandsathome@tiscali.co.uk>; "'Luigi Pressello'" <radq89@gmail.com> Cc: "'PHP'" <php-general@lists.php.net> Sent: Saturday, October 16, 2010 9:38 PM Subject: RE: [PHP] Error message not understoodYou still haven't answer the question of what platform? FreeBSD? Linux? Mac? Windows? And what is the platform version?-----Original Message----- From: sueandant [mailto:hollandsathome@tiscali.co.uk] Sent: Saturday, October 16, 2010 1:16 PM To: Luigi Pressello Cc: PHP Subject: Re: [PHP] 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).with mysqliI originally installed PHP 5.3 but I couldn't get it to communicateHow did you uninstall? Using the OS's software/package manager such package on FreeBSD, yast on some Linux, add/remove programs on Windows, etc.?(and I tried everything!) so I unstalled it and replaced it withDidyou compile any of it - MySQL or PHP - yourself?versionversion 5.2.14. PHP info tells me this that the Client API libraryThis 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 onis 5.1.51 and the header version is 5.0.51a.theMySQL 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 whatyou'reusing, 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... ;)<snip> Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpDoes this help identify a solution? Thanks and best wishes tholland