解决php编译报错configure: error: mcrypt.h not found. Please reinstall libmcrypt.
yuminstall-yepel-releaseyuminstall-ylibmcrypt-devel两个不能一起安装,因为CentOs6默认的yum源没有libmcrypt-devel这个包,只能借助epel的yum源,所以先安装epel,再安装libmcrypt。cat/etc/redhat-release//查看版本wgethttp://download.fedoraproject.org/