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:
sudo apt-get install openssl
sudo apt-get install php5-mcrypt
sudo php5enmod mcrypt
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
cd /var/www/html
composer create-project laravel/laravel --prefer-dist
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...
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.
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/
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community