0

I'm trying to install all the package's of a Laravel project on a Virtual Machine. I've installed everything but during the composer install action show me the error MCrypt PHP Exstension Required.

But.. Mcrypt is installed! I've also do this actions:

locate mcrypt.ini 
locate mcrypt.so

and writed in mcrypt.ini the mcrypt.so php5 path. so what contain now the mcrypt.ini file? just this text:

exstension=/usr/lib/20131226/mcrypt.so

also used: php5enmod mcrypt and service apache2 restart without any results..

davidev
  • 314
  • 9
  • 22

1 Answers1

0

Do you have enabled your mcrypt extension?

Try with this command, it will tell you all the php extensions you have installed and wich one of them is active and wich one is not

dpkg --get-selections | grep php

If mcrypt is not enabled then try again to enable it with

sudo php5enmod mcrypt

Dimitri Acosta
  • 1,756
  • 12
  • 15
  • Yes, I have installed Mcrypt... dpkg --get-selections return me php5-mcrypt install and yes i've also activated the mcrypt exstension using php5enmod.. – davidev Dec 05 '15 at 09:56