我安装mcrypt,但它说:" mcrypt扩展是必需的"

时间:2014-04-18 13:32:28

标签: centos mcrypt

我使用Centos6。我想安装mcrypt。我试试

yum install php-mcrypt

并安装它。当我再试一次它说:

    yum install php-mcrypt
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * atomic: www7.atomicorp.com
 * base: ftp.dgn.net.tr
 * epel: mirror.vit.com.tr
 * extras: ftp.dgn.net.tr
 * remi: remi.schlundtech.de
 * remi-php55: remi.schlundtech.de
 * remi-php56: remi.schlundtech.de
 * remi-test: remi.schlundtech.de
 * updates: ftp.dgn.net.tr
Setting up Install Process
Package php-mcrypt-5.6.0-0.6.beta1.el6.remi.x86_64 already installed and latest version
Nothing to do

但在我的网页上:

mcrypt extension is required

并且在phpinfo上它不是

我该如何解决?

由于

1 个答案:

答案 0 :(得分:-1)

您可以尝试:

sudo php5enmod mcrypt