Lluís Puig Ferrer
Lluís Puig Ferrer

Reputation: 1146

Install php5-mcrypt on Ubuntu

I want to install the mcrypt on vagrant machine.

The OS is Ubuntu.

Which is the command?

Upvotes: 3

Views: 16311

Answers (1)

Ashish Viradiya
Ashish Viradiya

Reputation: 390

First check php version,

E.g.

php -v

PHP 5.6.38-3+ubuntu18.04.1+deb.sury.org+1 (cli)

Currently php version is 5.6, you will need to install with below command line

sudo apt-get install php5.6-mcrypt

Output

Upvotes: 8

Related Questions