3

I want to install the mcrypt on vagrant machine.

The OS is Ubuntu.

Which is the command?

Lluís Puig Ferrer
  • 1,128
  • 7
  • 19
  • 49

1 Answers1

8

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

Ashish Viradiya
  • 389
  • 9
  • 17