PHP 5 - MySQL extensions : MYSQL_CONNECT fails to complete
| From: | G. Eggold | Date: | Mon, 06 Feb 2006 16:59:30 +0000 |
| Subject: | PHP 5 - MySQL extensions : MYSQL_CONNECT fails to complete | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-26682@lists.php.net to get a copy of this message | ||
SETUP: PHP 5.0.5 on Windows 2003 Server/ IIS 6
PROBLEM: php_info() display correctly when called and basic PHP
functionality appears to be working UNTIL I attempt to connect to a MySQL
4.0.21 or 4.1.15 database.
WHAT I DID:
1) copied mysqli.dll and mysql.dll to SYSTEM32 folder along with
LIBMYSQL.DLL, just to be sure.
2) enabled mysqli.dll extension in PHP.INI
I understand that in PHP 5, you need to "enable" the extension=mysqli.dll in
PHP.INI, but when I do that php_info() webpage fails (never returns). If I
comments that config line out, php_info() works again.
What am I doing wrong?