1.下载libmcrypt wget http://jaist.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz 2.解压 .tar.gz 3.配置编译参数 cd libmcrypt- ./configure 4.编译安装 make && make install…
Centos安装PHP时,安装php依赖包时yum install libmcrypt libmcrypt-devel,报错如下: No package libmcrypt available. No package libmcrypt-devel available. Error: Nothing to do 然后编译的时候,又报错: checking for mcrypt support... yes configure: error: mcrypt.h not found. Please…