标签:mod roo lease not usr gre pack 查看 decrypt
CentOS php
Fatal error: Call to undefined function mcrypt_decrypt()
// yum安装没有
#yum install libmcrypt libmcrypt-devel mcrypt mhash
Setting up Install Process
No package php-mcrypt available.
Error: Nothing to do
yum install epel-release //扩展包更新包
#yum update //更新yum源
yum install libmcrypt libmcrypt-devel mcrypt mhash 就ok了
yum install php-mcrypt
// 查看发现已经装上了。。。
[root@123 php]# find / * | grep "mcrypt.so"
/usr/lib64/php/modules/mcrypt.so
/usr/lib64/libmcrypt.so.4
/usr/lib64/libmcrypt.so.4.4.8
/usr/lib64/libmcrypt.so
vi /etc/php.ini 在末尾加上:extension=mcrypt.so
service httpd reload
OK
标签:mod roo lease not usr gre pack 查看 decrypt
原文地址:http://www.cnblogs.com/dwj192/p/7088510.html