Mcrypt
PHP 7.2 CentOS Pecl Mcrypt¶
- Run following commands:
yum install php-devel pear1u libmcrypt-devel pecl channel-update pecl.php.net pecl install mcrypt-1.0.1
- You will be prompted for libmcrypt prefix, hit enter:
libmcrypt prefix? [autodetect] :
- Finish installation by adding entry to php ini & restart php-fpm:
echo 'extension=mcrypt.so' >> /etc/php.ini systemctl restart php-fpm