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: Monday, October 18, 2010 1:52 PM
> To: Tommy Pham
> Cc: 'PHP'
> Subject: Re:  Error message not understood
> 
> 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

Huh?  If you downloaded the current version 5.3.3 of PHP.  It should read
this for MySQL & MySQLi extenstions in phpinfo(); :
Client API version 	mysqlnd 5.0.7-dev - 091210 - $Revision: 300533 $

And you shouldn't have problems accessing MySQL 5.1.

Regards,
Tommy

> ----- Original Message -----
> From: "Tommy Pham" <tommyhp2@xxxxxxxxx>
> To: "'sueandant'" <hollandsathome@xxxxxxxxxxxxx>
> Cc: "'PHP'" <php-general@xxxxxxxxxxxxx>
> Sent: Saturday, October 16, 2010 10:49 PM
> Subject: RE:  Error message not understood
> 
> 
> >> -----Original Message-----
> >> From: sueandant [mailto:hollandsathome@xxxxxxxxxxxxx]
> >> Sent: Saturday, October 16, 2010 2:23 PM
> >> To: Tommy Pham
> >> Cc: PHP
> >> Subject: Re:  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@xxxxxxxxx>
> >> To: "'sueandant'" <hollandsathome@xxxxxxxxxxxxx>; "'Luigi Pressello'"
> >> <radq89@xxxxxxxxx>
> >> Cc: "'PHP'" <php-general@xxxxxxxxxxxxx>
> >> Sent: Saturday, October 16, 2010 9:38 PM
> >> Subject: RE:  Error message not understood
> >>
> >>
> >> >> -----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
> >> >
> >
> >



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