abu abu
abu abu

Reputation: 7052

How to Install mcrypt PHP module

I am using Linux Mint 19.1. My PHP configuration is like below

enter image description here

I am getting below error while I am trying to install mcrypt.

enter image description here

Upvotes: 0

Views: 1232

Answers (1)

Simran Munot
Simran Munot

Reputation: 87

Try out using these commands

To install the dependencies :

sudo apt-get -y install gcc make autoconf libc-dev pkg-config
sudo apt-get -y install php7.2-dev
sudo apt-get -y install libmcrypt-dev

Once the dependencies have been installed, you can install mcrypt with the command:

sudo pecl install mcrypt-1.0.1

Upvotes: 1

Related Questions