本文介绍了我安装mcrypt,但它说:“需要mcrypt扩展”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

  yum install php-mcrypt 

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

  yum install php-mcrypt 
加载的插件:fastestmirror,security
从缓存的hostfile加载镜像速度
*原子: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
*更新:ftp.dgn.net.tr
设置安装过程
软件包php-mcrypt-5.6.0-0.6 .beta1.el6.remi.x86_64已安装和最新版本
无法执行

在我的网页上:

 需要mcrypt扩展

和在phpinfo它不是



我如何解决呢?



感谢

解决方案

您可以尝试:

  sudo php5enmod mcrypt 


i use Centos6 . I want to install mcrypt . I try

yum install php-mcrypt

and its installed. when i try again it says :

    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

but on my webpage :

mcrypt extension is required

and on phpinfo it is not

How can i solve it?

Thanks

解决方案

You can try:

sudo php5enmod mcrypt

这篇关于我安装mcrypt,但它说:“需要mcrypt扩展”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 15:22