#48901 [Bgs]: LibMySQL*.dll not included in distrobution.
| From: | yuji1 at mail dot com | Date: | Mon, 13 Jul 2009 10:38:39 +0000 |
| Subject: | #48901 [Bgs]: LibMySQL*.dll not included in distrobution. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-139678@lists.php.net to get a copy of this message | ||
ID: 48901
User updated by: yuji1 at mail dot com
Reported By: yuji1 at mail dot com
Status: Bogus
Bug Type: MySQLi related
Operating System: W32
PHP Version: 5.3.0
New Comment:
Channels? IRC? Server and port please? I already have
extension=php_mysqli.dll in my ini. Path and file are fine too.
Previous Comments:
------------------------------------------------------------------------
[2009-07-13 10:32:15] pajoye@php.net
libmysql.dll is not used anymore. You don't need it at all. myslqnd is
built in php directly, you only have to add:
extension=php_mysqli.dll to your php.ini
Please ask further support question to the support channels (mailing
lists, etc.).
------------------------------------------------------------------------
[2009-07-13 10:14:20] yuji1 at mail dot com
Besides, I have the mysqli extension set to load in the ini. I replaced
all files except ini on 5.2.* to 5.3 upgrade.
------------------------------------------------------------------------
[2009-07-13 10:12:21] yuji1 at mail dot com
mysqlnd? Where can I obtain a libmysql*.dll anyway. ?
------------------------------------------------------------------------
[2009-07-13 09:53:37] pajoye@php.net
The new mysqlnd driver is used instead. You have to load the mysqli
extension in your php.ini.
------------------------------------------------------------------------
[2009-07-13 07:37:25] yuji1 at mail dot com
Description:
------------
PHP 5.3.* distros do not contain libmysql*.dlls.
Reproduce code:
---------------
(PHP.ini set to include extension php_mysqli.dll)
(Crappy Example)
<?php
$clsMySQLi = new mysqli("host", "user", "pass");
$clsMySQLi->close;
?>
Expected result:
----------------
Success.
Actual result:
--------------
Fatal error: Class 'mysqli' not found.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48901&edit=1