ID: 40118 Updated by: [EMAIL PROTECTED] 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