PHP v5.2.6 requires to the php_mysql.dll (v5.2.6) dll to connect to MySql.
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 to. 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. extension=php_mysql.dll 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: http://www.nabble.com/PHP-5.2.6-integrating-MYSQL-5.0.51b-on-APACHE-2.0.63-%2B-Windows-XP-SP2%29-tp17201936p18179649.html Sent from the Php - Database mailing list archive at Nabble.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php