A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
composer create-project laravel/laravel /var/www/laravel/ 4.1
I was having the same issue in 14.04. I tried all of the symlinks and everything I could find. I finally got it to work by:
1) Removing the existing php5-mcrypt package:
sudo apt-get purge php5-mcrypt
2) Reinstalling the php5-mcrypt package:
sudo apt-get install php5-mcrypt
The reinstall put php5-mcrypt into mods-available where it should be.
4) Enable the mod:
sudo php5enmod mcrypt
5) Restart Apache
sudo service apache2 restart