PHP v5.2.6 requires to the php_mysql.dll (v5.2.6) dll to connect to

It appears the PHP v5.2.6 .msi installation package apparently does not
copy the new php_mysql.dll into the ./ext directory as it is supposed

Download the .zip version of php v5.2.6 and copy the php_mysql.dll file
from the zip archive to your /php/ext folder and make sure the following
line in your php.ini file is uncommented.


If you're having problems with "Unable to initialize module" for
php_mysql.dll then you have copied an incorrect version from a previous
or later release of php.

The php_mysql.dll file properties should show the following version
information for the dll:
File version: 5.2.6
Created: 11 January 2006 18h15

Jeff88 wrote:
> Hi,
> Good Day! I have problem in getting the PHP 5.2.6 to integrate with MYSQL
> 5.0.51b. I had done the following installations and configurations on
> Windows XP (SP2):
> 1. Installed APACHE 2.0.63 - running fine
> 2. Installed PHP 5.2.6 - running fine
> 3. Configured httpd.conf and php.ini - PHP and APACHE is talking. I had
> tested with phpinfo(), both PHP and APACHE info displayed
> 4. Installed MYSQL 5.0.51b - running fine
> 5. I had done the followings try to get PHP5 talking to MYSQL:
>       a. uncommented extension=php_mysql.dll in php.ini
>       b. It does not work, so I copied the libmysql.dll from MYSQL5
> package to override the libmysql.dll in PHP package. It does not work
> either.
>       c. Tested with the phpinfo() but no mysql info displayed
> Can anyone help me on this? Thank you.
> Regards
> Jeff

View this message in context:
Sent from the Php - Database mailing list archive at

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to