【问题标题】:i install mcrypt but it says : "mcrypt extension is required" [duplicate]我安装了 mcrypt,但它说:“需要 mcrypt 扩展”[重复]
【发布时间】:2014-06-03 00:42:48
【问题描述】:

我使用 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 上却不是

我该如何解决?

谢谢

【问题讨论】:

    标签: centos mcrypt


    【解决方案1】:

    你可以试试:

    sudo php5enmod mcrypt
    

    【讨论】:

    • 你确定你可以在 CentOS 6 上运行 php5enmod 吗?
    • 你不能在 CentOS 6 上运行 php5enmod。
    猜你喜欢
    • 2014-05-18
    • 2016-01-23
    • 2014-06-27
    • 2016-07-23
    • 2014-09-26
    • 2014-09-20
    • 2017-05-11
    • 2014-06-29
    相关资源
    最近更新 更多