Installation Mcrypt Extension for Laravel / Mcrypt PHP extension required.

In linux ubuntu

 sudo php5enmod mcrypt
It helped to install mcrypt. If you can not install try the following one.

The above one doesnot help you, because your PHP doesnot compiled with Mcrypt. So we need to install it now.
sudo apt-get install php5-mcrypt

The above one helps you to install mcrypt. After installing php5-mcrypt you have to make a symlink to ini files in mods-available Here is the one:
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/mcrypt.ini

enable :
sudo php5enmod mcrypt

now restart your php5-fpm:
sudo service php5-fpm restart.

That’s it. Remember all the steps needs to restart your server to take effect.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s