php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48901 LibMySQL*.dll not included in distrobution.
Submitted: 2009-07-13 07:37 UTC Modified: 2009-07-13 11:20 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: yuji1 at mail dot com Assigned:
Status: Not a bug Package: MySQLi related
PHP Version: 5.3.0 OS: W32
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yuji1 at mail dot com
New email:
PHP Version: OS:

 

 [2009-07-13 07:37 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-13 09:53 UTC] pajoye@php.net
The new mysqlnd driver is used instead. You have to load the mysqli extension in your php.ini.
 [2009-07-13 10:12 UTC] yuji1 at mail dot com
mysqlnd? Where can I obtain a libmysql*.dll anyway. ?
 [2009-07-13 10:14 UTC] 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:32 UTC] 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:38 UTC] yuji1 at mail dot com
Channels? IRC? Server and port please? I already have extension=php_mysqli.dll in my ini. Path and file are fine too.
 [2009-07-13 10:41 UTC] pajoye@php.net
...

Verify that you:

a) modify the correct php.ini
b) have restarted apache/other after having changed the php.ini
c) simply try: php -m -d extension_dir=ext -d extension=php_mysqli.dll to see how it works.

now please see http://www.php.net/mailing-lists.php to subscribe to the php-install mailing list (or php-general).
 [2009-07-13 11:20 UTC] yuji1 at mail dot com
"..."

Module 'mysqli' already loaded

Whatever.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 21:01:29 2024 UTC