Unable to load dynamic library '...\php_mysql.dll'
Posted on 2006-03-26
I installed MySQL yesterday, and it used to work correctly. I restarted the machine today, and now it drops this error message on every PHP page:
HP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\Includes\php_mysql.dll' - The specified module could not be found. in Unknown on line 0
Please notice that MySQL server is running and I can access the database using other software. Also, the php_mysql.dll is in its place (C:\Program Files\PHP\Includes\php_mysql.dll) and IIS user has read permission over it.
Relevant parts of Php.ini file:
extension_dir = "C:\Program Files\PHP\Includes"
Other dll's placed in the same directory are being loaded correctly.