ID:               48901
 Updated by:       [email protected]
 Reported By:      yuji1 at mail dot com
 Status:           Bogus
 Bug Type:         MySQLi related
 Operating System: W32
 PHP Version:      5.3.0
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[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] [email protected]

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

Reply via email to