This seem to be a issue in the 32bit version of mcrypt when using yum install php-mcrypt
to install. Take a look @ Installing php-mcrypt on centos 6.4 (32 bytes) causes problem, the mcrypt.ini file has the wrong entry
You need to edit /etc/php.d/mcrypt.ini
and change
extension=module.so
To
extension=mcrypt.so
Then save and restart apache.