php-windows Digest 7 Feb 2006 07:34:03 -0000 Issue 2883

Topics (messages 26682 through 26683):

PHP 5 - MySQL extensions : MYSQL_CONNECT fails to complete
        26682 by: G. Eggold
        26683 by: Armando

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin 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? 

--- End Message ---
--- Begin Message --- mysqli is not required for mysql 4.0.x, only for 4.1 and above. Two things to suggest:

1. In php.ini, set "display_errors = On" to see if you're getting any errors on the page. 2. Provide the code that you are using so we can see exactly how you're going about defining your connection. You may be doing something wrong there. Cheers.

Armando
-------------------------------------------------

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?

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---

Reply via email to