Call to undefined function mcrypt_get_block_size

yum update
yum install php-mcrypt*

添加 extension=/usr/lib64/php/modules/mcrypt.so到php.ini

重启php