Note: Narration language is Bangla in this tutorial
I explain initial steps to install Laravel on Ubuntu 13.10. Please note that I do these tutorial as I try to do the task during my development, so there may be trial and errors involved in my steps. Surely I go back to previous step if I face an error, correct it and move on.
Here are the commands you will need to execute to fix the mcrypt problem after lamp installation:
(for Ubuntu 14.10, ignore this line)
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available
sudo php5enmod mcrypt
sudo service apache2 restart