无法载入 mcrypt 扩展,<br />请检查 PHP 配置
windows下好解决,在php.ini里把相关的模块加载就可以了
在Linux,要以编译PHP里,加上相关选项
php config
--with-mcrypt[=DIR] Include mcrypt support
在此之前,应该确认已安装 libmcrypt
可以在下面地址下载,手工编译安装
ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/
也可以用yum安装更方便
yum -y install libmcrypt
yum -y install libmcrypt-devel
如果没有安装,在编译PHP时,会提示如下
configure: error: mcrypt.h not found. Please reinstall libmcrypt.