5

How to install the mcrypt php extension (to use Laravel 4)

by ChrisNovember 3, 2013

When installing Laravel 4 on a fresh Ubuntu or Debian system, you’ll probably get this error message: “Laravel requires the Mcrypt PHP extension.”

To install the mcrypt php extension, do this:

sudo apt-get install php5-mcrypt

and restart the server

sudo service apache2 restart

By the way, this might be off-topic, but let’s be honest: Laravel is a wonderful thing, but the install instructions are .. well… totally incomplete. It’s impossible to install laravel without doing some additional things that are simply not documented. The official tutorial completely misses the installation of the necessary plugins, necessary mod_rewrite shit and necessary vhost actions.

Go here if you need a full tutorial on how to install Laravel 4 on Ubuntu 12.04 LTS.

How to install the mcrypt php extension (to use Laravel 4)
2 votes, 3.50 avg. rating (78% score)
What's your reaction?
Like
Unsure
0%
Dislike
0%