mcrypt.h not found. Please reinstall libmcrypt”的解决方法
CentOS源不能安装libmcrypt-devel,由于版权的原因没有自带mcrypt的包。有两种方法解决,一种是使用第三方源,这样还可以使用yum来安装,简单方便,坏处是第三方源多少有中不可靠的感觉。
解决办法一
1、安装第三方yum源
wget http://www.atomicorp.com/installers/atomic
2、使用yum命令安装
yuminstallphp-mcryptlibmcryptlibmcrypt-devel
页:
[1]