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
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: r dot ejem at seznam dot cz
New email:
PHP Version: OS:

 

 [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 May 18 10:01:32 2024 UTC