Where can I find the "official" libmcrypt.dll and php_mcrypt.dll for PHP 5.3 on Windows?

Reference Information. I am running Windows 7 with IIS Express configured to use PHP 5.3 and I need to download the mcrypt module. I can not find the files I need.

I also installed PHP 5.2. for IIS Express and includes both mcrypt files, but they are incompatible with PHP 5.3 because they switched from VC6 to VC9 between 5.2 and 5.3.

There are some packaged PHP distributions, including Apache, etc. But they are all wrapped in installers, and I just need these two files.

Where can I find the files?

+7
source share
2 answers

The documentation says that:

PHP 5.3 Windows binaries use the static version of the MCrypt library, no DLL required.

You should verify this by running phpinfo , which will tell you if mcrypt is loaded. Make sure mcrypt is commented out if you copied the old php.ini file.

+16
source
  • Here you can find the MCrypt library for windows: http://files.edin.dk/php/win32/mcrypt/

  • Save libmcrypt.dll in the / php / ext or / php / folder so that php can find it.

  • Then be sure to update php.ini

    From:

    extension=php_mcrypt.dll 

    To:

     extension=libmcrypt.dll 
+4
source

All Articles