PHP configure: error: mcrypt.h not found. Please reinstall libmcrypt
This document provides instructions for installing phpMyAdmin on CentOS. The steps include downloading and extracting libmcrypt, configuring compile parameters, and compiling and installing the software.
download libmcrypt
wget http://jaist.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz
exact
tar -zxvf libmcrypt-2.5.8.tar.gz
config compile parameter
cd libmcrypt-2.5.8
./configure
compile and install
make && make install