Posted by william.clarke on 11/11/05 00:54
Sorry to reply to an old post but here is a clear(ish) summary of the
steps required to setup the MySQLi extension on a Windows PHP
installation.
Step 1: Install PHP as usual
Step 2: Copy libmysql.dll and libmysqli.dll from the [PHP_HOME]
directory (in my case "C:\Apache2\modules\php" because
I'm using WinLAMP) into the [WINDOWS]\[SYSTEM]
directory (in my case "C:\Windows\System32").
Step 3: Make that the mysqli.dll and mysql.dll are in the
[PHP_HOME]\ext directory and that the one you wish
to use* is referenced in your php.ini file.
Step 4: Restart you webserver to make the changes take effect.
* NOTE: mysql.dll is for MySQL versions up to and including MySQL 4.0
mysqli.dll is for MySQL versions after MySQL 4.1
[Back to original message]
|