I am trying to install laravel php framework. I have followed official laravel documentation and tried both of methods described there.
laravel folder appears in /var/www/ after installation but when I navigate in browser to http://localhost/laravel it just displays me the contents of laravel folder.
I tried to change permissions, even I have tried to change the permissions of /var/www/laravel/ to 777. it did not work.
Where can be the problem?