#40118 [NEW]: libmysql.dll needed under win32 for correct work of mysqli
| From: | r dot ejem at seznam dot cz | Date: | Sat, 13 Jan 2007 11:29:01 +0000 |
| Subject: | #40118 [NEW]: libmysql.dll needed under win32 for correct work of mysqli | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969374760@lists.php.net to get a copy of this message | ||
From: r dot ejem at seznam dot cz
Operating system: Windows XP
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: libmysql.dll needed under win32 for correct work of mysqli
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 bug report at http://bugs.php.net/?id=40118&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40118&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40118&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40118&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40118&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40118&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40118&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40118&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40118&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40118&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40118&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40118&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40118&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40118&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40118&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40118&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40118&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40118&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40118&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40118&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40118&r=mysqlcfg