如何在 xampp 中安装 mcrypt 扩展

2022-01-14 00:00:00 xampp php mcrypt

如何在windows的xampp中安装mcrypt?

how to install mcrypt in xampp on windows?

我的 PHP 7.0.5 版和 xampp 包没有 mcrypt extension 那么我如何在 xampp 上安装 mcrypt 呢?

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

推荐答案

首先,您应该从这里下载适合您系统的版本:https://pecl.php.net/package/mcrypt/1.0.3/windows

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

然后,您应该将 php_mcrypt.dll 复制到 ../xampp/php/ext/ 并通过添加 extension=mcrypt 到你的 xampp/php/php.ini 文件.

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.

相关文章