Encounter error like “configure: error: mcrypt.h not found. Please reinstall libmcrypt.” when trying to build php on CentOS 6 or alike?
Can not Yum install php-mcrypt?
This is becasue CentOS 6.3 Yum base repository dropped support of libmCrypt php-mcrypt… Here is a quick fix to install libmCrypt php-mcrypt on CentOS 6 (and RHEL 6 etc.)