Install libmcrypt and mcrypt Extensions for PHP

Step One: Download the extensions

1.mcrypt 2.libmcrypt

Step Two: Extract and enter the relevant directory

1.Install using phpize 2./usr/local/php/bin/phpize If you do not know the location(whereis phpize) 3. ./configure --with-php-config=/usr/local/php/bin/php-config Here,/usr/local/php/bin/php-configis thephp-configpath; this directory is at the same level as phpize. 4. make && make install

Step Three: Findphp.iniconfiguration

1.Appendextension=mcrypt.so,extension=libmcrypt.so 2.Then restartphp-fpm 3. php -m Check the installed extensions

4.The troublesome part was finding the extension download URLs. It made me work overtime!

Stay updated

Get weekly research updates, market signals, and listing intelligence — follow along on Telegram or X.