#40118 [Opn->Bgs]: libmysql.dll needed under win32 for correct work of mysqli
| From: | bjori@php.net | Date: | Tue, 06 Feb 2007 11:21:30 +0000 |
| Subject: | #40118 [Opn->Bgs]: libmysql.dll needed under win32 for correct work of mysqli | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969375337@lists.php.net to get a copy of this message | ||
ID: 40118
Updated by: bjori@php.net
Reported By: r dot ejem at seznam dot cz
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Windows XP
PHP Version: Irrelevant
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
See bug#40053
Previous Comments:
------------------------------------------------------------------------
[2007-01-13 11:29:01] r dot ejem at seznam dot cz
Description:
------------
I found this problem in PHP5: On some WIN32 machines, mysqli appears to
not be installed. User must do two steps which I haven't found in
documentation:
First step, of course, user must add "extension=php_mysqli" to php.ini.
The second step is not so obvious: on some systems PHP has problem with
finding libmysql.dll. In this case, it is good solution to copy
libmysql.dll to %WINDIR%\SYSTEM32. I think it may be useful to add this
to mysqli module documentation.
Reproduce code:
---------------
-- no code needed --
Actual result:
--------------
PHP fails with "undefined class mysqli" or call to undefined function
mysqli_*"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40118&edit=1