ID: 37626 Updated by: [EMAIL PROTECTED] Reported By: p dot szumny at bwm dot com dot pl -Status: Open +Status: Bogus Bug Type: Dynamic loading Operating System: WinXP x64 Edition; SP1 PHP Version: 5.1.4 New Comment:
http://php.net/mysql MySQL is no longer enabled by default, so the php_mysql.dll DLL must be enabled inside of php.ini. *Also, PHP needs access to the MySQL client library. A file named libmysql.dll is included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to be available to the Windows systems PATH.* See the FAQ titled "How do I add my PHP directory to the PATH on Windows" for information on how to do this. Although copying libmysql.dll to the Windows system directory also works (because the system directory is by default in the system's PATH), it's not recommended. Previous Comments: ------------------------------------------------------------------------ [2006-05-29 11:38:23] p dot szumny at bwm dot com dot pl Description: ------------ During starting Apache 2.0.58 mysql library are not loaded: PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\php_pdo_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0 I have configured in php.ini: extension_dir = "c:\php\ext" Rest of modules (ex. bz2, pdo, pdo_pgsql) loads OK. On WinXP 32-bit edition everything was OK. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37626&edit=1
