Support the ongoing development of Laravel.io →
Installation Configuration

Hello, I'm trying to learn how to use laravel, but I am encountering a problem with the installation. I'm trying to install laravel on ubuntu server, so I:

  1. Installed basic LAMP-stack
  2. installed openssl and mcrypt:
sudo apt-get install openssl
sudo apt-get install php5-mcrypt
sudo php5enmod mcrypt
  1. Installed composer:
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
  1. Went to my html folder and created a new laravel project using composer:
cd /var/www/html
composer create-project laravel/laravel --prefer-dist
  1. Added write permissions to the storage folder:
sudo chmod 777 /var/www/html/laravel/storage

Now when I launch a browser and navigate to localhost/laravel/public a see a blanc page.

Also, Error reporting in php.ini is set to E_ALL.

I'm really struggling for quite some time now.. Can someone help me with this? What am I missing?

Thanks!

EDIT: Solved the problem, I did dit not change permissions recursively with the -R flag...

Last updated 3 years ago.
0

In future, you will have a problem, where your views won't show up in laravel, even after everything is set exactly as it should be. If it happens, then try to

chmod -R 777  /YourLaravelDirectory

again.

Last updated 10 years ago.
0

I installed Laravel with twitter bootstrap by following the instructions at https://www.rosehosting.com/blog/how-to-install-laravel-4-with-twitter-bootstrap-on-linux-vps/

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.