#41548 [Bgs]: Fail to load php_mysql.dll and php_mysqli.dll
| From: | mercury__99 at hotmail dot com | Date: | Thu, 31 May 2007 15:26:50 +0000 |
| Subject: | #41548 [Bgs]: Fail to load php_mysql.dll and php_mysqli.dll | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-113234@lists.php.net to get a copy of this message | ||
ID: 41548
User updated by: mercury__99 at hotmail dot com
Reported By: mercury__99 at hotmail dot com
Status: Bogus
Bug Type: MySQL related
Operating System: Windows XP SP2
PHP Version: 5.2.2
New Comment:
Many thanks for the prompt reply from PHP. I don't think it is the
libmysql.dll issue.
I have the libmysql.dll under the C:\php, and all the php_xx.dll under
the C:\php\ext. I have set the environment paths to point to both
directories, modified the php.ini to point the extension directory, and
re-started my comp. Still, I couldn't load the php_mysql.dll and
php_mysqli.dll. No problem to load other php_xx.dll.
Ok, I have resolved the problem by trial-an-error:
1) Simply uninstall MySQL. I could then see (from phpinfo()) that both
php_mysql.dll and php_mysqli.dll loaded successfully.
2) Then, re-install MySQL. Everything is working fine now.
^_^'
Previous Comments:
------------------------------------------------------------------------
[2007-05-31 10:33:33] johannes@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Most likely your libmysql.dll is not in place.
------------------------------------------------------------------------
[2007-05-31 09:56:48] mercury__99 at hotmail dot com
This is an obvious bug in PHP 5.2.2
------------------------------------------------------------------------
[2007-05-31 09:53:53] mercury__99 at hotmail dot com
Description:
------------
Here is a portion of php.ini
---------------------------------
;extension=php_msql.dll
extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_oci8.dll
;extension=php_openssl.dll
------------------------------------
after restarting apache, in phpinfo();
I got everything loaded EXCEPT:
extension=php_mysql.dll and extension=php_mysqli.dll
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41548&edit=1