📅  最后修改于: 2022-03-11 14:54:42.198000             🧑  作者: Mango
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 then enable the extension by adding extension=mcrypt to your xampp/php/php.ini file.
It works for me.