[PHP] PHP5 with MySQL on windows

2003-06-29 Thread janet
I can't seem to figure out how to get PHP5 working with MySQL support. I just
downloaded the latest PHP5 from snaps (which seems to be yesterday's build)
and it's installed fine, but I can't seem to get MySQL support.

The php.ini file still says 
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.

However, MySQL support is no longer there. There doesn't seem to by any dll
for mysql in the extensions subdirectory. 

There's a libmySQL.dll in dlls, but copying that into my system directory and
adding an extension line for it in the php.ini file doesn't work. I get an
error that says invalid library. Besides, it obviously has a different name
that the other extension dlls.

I am using Windows 2000. I am running MySQL 3.23.54. 

I can find nothing about this on the PHP web site. Everything I find still
says that MySQL support is built-in. Can someone tell me what I need to do to
use MySQL. 

Janet

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



Re: [PHP] PHP5 with MySQL on windows

2003-06-29 Thread Philip Olson
Hello Janet-

Currently you have two choices:

  a) Compile PHP 5 on Windows yourself, with MySQL support
  b) Wait for a DLL to exist

There isn't a DLL right now, nor do I know when one will
exist.  But, you can be pretty sure that one will 
eventually exist, especially before PHP 5 is officially
released.

PHP 5 beta 1 was released today, there isn't a MySQL DLL
in there either.

In PHP 4, MySQL is of course built in.  That all changed
in PHP 5 where it's no longer built in to the Windows
binaries, nor is it bundled or enabled by default in *nix.

Regards,
Philip



On Sun, 29 Jun 2003 [EMAIL PROTECTED] wrote:

 I can't seem to figure out how to get PHP5 working with MySQL support. I just
 downloaded the latest PHP5 from snaps (which seems to be yesterday's build)
 and it's installed fine, but I can't seem to get MySQL support.
 
 The php.ini file still says 
 ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
 
 However, MySQL support is no longer there. There doesn't seem to by any dll
 for mysql in the extensions subdirectory. 
 
 There's a libmySQL.dll in dlls, but copying that into my system directory and
 adding an extension line for it in the php.ini file doesn't work. I get an
 error that says invalid library. Besides, it obviously has a different name
 that the other extension dlls.
 
 I am using Windows 2000. I am running MySQL 3.23.54. 
 
 I can find nothing about this on the PHP web site. Everything I find still
 says that MySQL support is built-in. Can someone tell me what I need to do to
 use MySQL. 
 
 Janet
 
 -- 
 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



Re: [PHP] PHP5 with MySQL on windows

2003-06-29 Thread John Coggeshall
On Sun, 2003-06-29 at 14:19, [EMAIL PROTECTED] wrote:
 However, MySQL support is no longer there. There doesn't seem to by any dll
 for mysql in the extensions subdirectory. 

http://bugs.php.net/bug.php?id=24389

This issue has been addressed and is now available in the snap build of
PHP5.0 available at http://snaps.php.net/ 

John
-- 
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall
john at coggeshall dot org http://www.coggeshall.org/
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-


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