Re: PHP5 with MySQL on windows
| From: | Philip Olson | Date: | Sun, 29 Jun 2003 19:24:14 +0000 |
| Subject: | Re: PHP5 with MySQL on windows | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153330@lists.php.net to get a copy of this message | ||
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 janet@valade.com 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
>