How to install mcrypt extension in xampp

Dhaval Koradiya picture Dhaval Koradiya · May 30, 2016 · Viewed 108.1k times · Source

how to install mcrypt in xampp on windows?

My PHP Version 7.0.5 and xampp pack have not mcrypt extension so how can i install mcrypt on xampp ?

Answer

mrdev picture mrdev · Jan 16, 2020

First, you should download the suitable version for your system from here: https://pecl.php.net/package/mcrypt/1.0.3/windows

Then, you should copy php_mcrypt.dll to ../xampp/php/ext/ and enable the extension by adding extension=mcrypt to your xampp/php/php.ini file.