From: crunchpack at gmail dot com
Operating system: windows xp sp2
PHP version: 5.2.0
PHP Bug Type: MySQLi related
Bug description: php was not using the php_mysqli.dll
Description:
------------
the php_mysqli.dll is not being located.
Things done:
I uncommented the extension=php_mysql.dll,
extension=php_mysqli.dll(actually added it to the php.ini file).
Placed the libmysqli.dll,libmysql.dll,php_mysqli.dll in the
windows/system32/ directory.
Reproduce code:
---------------
<?
//error is in the next line
$mysqli = new mysqli('localhost','root','iiitb');
$mysqli->select_db('demo');
$result = $mysqli->query("SELECT * FROM members");
while($row = $result->fetch_assoc()) {
print $row['firstName'] . ' ' . $row['lastName'] . '<br/>';
}
?>
Expected result:
----------------
display the values in the table 'members'.
Actual result:
--------------
class mysqli.dll is not found in c:\webs\test\mysqltest.php on line 3.
--
Edit bug report at http://bugs.php.net/?id=39829&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=39829&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=39829&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=39829&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39829&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=39829&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39829&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39829&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39829&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39829&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39829&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=39829&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=39829&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39829&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39829&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39829&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39829&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39829&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39829&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39829&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39829&r=mysqlcfg