To enable mcrypt extension under Windows you need to:
1) uncomment line "extension=php_mcrypt.dll" in php.ini
2) download libmcrypt.dll from http://files.edin.dk/php/win32/mcrypt/ and put it to System32 directory (for example C:\Windows\System32).
Tested on Windows XP+Apache 1.3.37+PHP 4.4.6 (as SAPI module!!!)
I wrote this because I got "Cannot load mcrypt extension. Please check your PHP configuration." from phpMyAdmin when I simply uncommented "extension=php_mcrypt.dll" line.
rowbearto wrote:I also get this error. I found a way to get rid of it from a comment in this forum: http://us2.php.net/mcrypt . I don't know if it is the best way to fix the problem however. I would appreciate feedback on this issue.
I have no idea what you did but it sounds as if your extension directory is not in the system path.raid2005 wrote:Mine is different, I setup complex installation, separate from the package
SKv wrote:I have no idea what you did but it sounds as if your extension directory is not in the system path.raid2005 wrote:Mine is different, I setup complex installation, separate from the package
Dirty solution would be one mentioned above to copy libmcrypt.dll to system32 folder but that would make any future updates a nightmare. If you by any chance would like to do it properly you should put extension extension directory to the system path. You can find how to do it on apache.org
Off course the best option is to forget about "complex installation" and use package but I guess that you have good reasons why you didn't do it at the first place.
Users browsing this forum: JJ_Tagy and 68 guests