I’m trying to load this module: php_mcrypt.dll’
Everything in the php.ini file is correct, see for yourself:
extension_dir = "C:/PHP/5.2.13/ext"
extension=php_mcrypt.dll
The file exists in this path. And other modules are in there as well and are loaded successfully. It only has a problem with this particular module.
I have a 64bit Windows XP, Apache 2.2, PHP 5.2.13…
But i get this warning (error.log of Apache):
PHP Warning: PHP Startup: Unable to load dynamic library ‘C:/PHP/5.2.13/ext\php_mcrypt1.dll’ – The specified module could not be found.\r\n in Unknown on line 0
PHP itself is working fine. But one of our applications needs this module and it throws me this ugly error. Why on earth does it show me two backslashes in the log file?
I’d say there’s some typo on your
php.ini(the extra1). Perhaps you’re loading a differentphp.inifrom what you expect (see the output ofphp.inito make sure).Other than that make sure that
php_mcrypt.dlland PHP:PHP should give you meaning errors if any of the first three conditions above is not satisfied, but I wrote those anyway because I’m not sure for PHP 5.2.