Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Centos 我安装了mcrypt,但它说:“需要mcrypt扩展”_Centos_Mcrypt - Fatal编程技术网

Centos 我安装了mcrypt,但它说:“需要mcrypt扩展”

Centos 我安装了mcrypt,但它说:“需要mcrypt扩展”,centos,mcrypt,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.vi

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

我怎样才能解决它

谢谢

您可以尝试:

sudo php5enmod mcrypt

你确定你可以在CentOS 6上运行php5enmod吗?你不能在CentOS 6上运行php5enmod。