php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #40118 libmysql.dll needed under win32 for correct work of mysqli
Submitted: 2007-01-13 11:29 UTC Modified: 2007-02-06 11:21 UTC
From: r dot ejem at seznam dot cz Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
40 + 36 = ?
Subscribe to this entry?

 
 [2007-01-13 11:29 UTC] 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_*"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-06 11:21 UTC] bjori@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 23:01:28 2024 UTC