lazercrm
This is a case of php72 installing mcrypt, you can modify the php version to your needs
It will be removed from the core code from PHP 7.2
If it is a new project, please use openssl_decrypt instead of mcrypt_encrypt for two-way encryption and decryption
yum install -y libmcrypt libmcrypt-devel mcrypt mhash
wget http://pecl.php.net/get/mcrypt-1.0.3.tgz
tar -zxvf mcrypt-1.0.3.tgz
cd mcrypt-1.0.3
/www/server/php/72/bin/phpize
./configure --with-php-config=/www/server/php/72/bin/php-config
make && make install
echo "extension=mcrypt.so" >> /www/server/php/72/etc/php.ini
/etc/init.d/php-fpm-72 reload
/www/server/php/72/bin/php -m|grep -i mcrypt