I’m running PHP 5.2.8 on Apache 2.2.11 on Windows XP SP 3. In php.ini,
extension_dir = 'C:\Program Files\PHP\ext' extension=php_mysql.dll
In error.log:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
php_mysql.dll is definately located in the extension_dir, and is the version that PHP 5.2.8 is bundled with. What’s up?
Try adding a trailing slash to your
extension_dirpath.This is what I am using in my WAMP setup: