hello @bondan20
login as root and do the following (you may have to install libmcrypt library packages and depedencies first on your system) :
- download source of mcrypt : wget http://pecl.php.net/get/mcrypt-1.0.4.tgz
- tar -xvzf mcrypt-1.0.4.tgz
- cd mcrypt-1.0.4
- /www/server/php/73/bin/phpize
- ./configure --with-php-config=/www/server/php/73/bin/php-config
- make
- make install
you will get the output at the end :
Installing shared extensions: /www/server/php/73/lib/php/extensions/no-debug-non-zts-20190902/
add following line at the botton of /www/server/php/73/etc/ini file :
extension = /www/server/php/73/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so
restart your php-fpm-73 service and web server service and then try phpinfo.
Good luck!