ext-mcrypt error while installing laravel on ubuntu 14.04 ext-mcrypt error while installing laravel on ubuntu 14.04 laravel laravel

ext-mcrypt error while installing laravel on ubuntu 14.04


I am open this file

gedit /etc/php5/cli/php.ini

put one line in to this file

extension=mcrypt.so

and this run successfully.

any ways thanks again.


This is how I solved on Mac Yosemite. I have one php.ini in /etc/, and I have mcrypt instaIled. But I faced the same problem.

Run this to find another php.ini.

php -i|grep ini

It returned the followings.

System => Darwin Myname-MacBook-Pro.local 14.1.0 Darwin Kernel Version 14.1.0: Mon Dec 22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64Configuration File (php.ini) Path => /usr/local/etc/php/5.5Loaded Configuration File => /usr/local/etc/php/5.5/php.ini....

I open /usr/local/etc/php/5.5/php.ini and added extension=mcrypt.so to the file.

I hope this will help someone in future.


Mac users with brew just run in CLI:

brew install php56-mcrypt

Doinion Rings.