Reputation: 395
i have setup a newly laravel 5 in my UBUNTU system which is 14.04.
when i ran my project which is http://localhost/blog/public/ it give me a blank page. i have again and again setup laravel in my system but it not working.
i know "php artisan serve". it will run my project on http://localhost:8000/ but i don't want this. i want to run simply by entering a url. please help me and thanks a lot for your solutions.
Upvotes: 1
Views: 6718
Reputation: 395
Run below command on your project directory.
sudo chmod -R 777 storage/
after this its might be working fine.
Upvotes: 6
Reputation: 753
Give write permission to bootstrap/cache & storage folder by using below command
sudo chmod -R 777 bootstrap/cache
sudo chmod -R 777 storage
also make sure new application key generate. if not then use below command
php artisan key:generate
Upvotes: 0
Reputation: 5338
You could try any of these pointers.
sudo chmod -R 777 bootstrap/cache storage
php artisan key:generate
setenforce permissive
Hope this helps!
Upvotes: 0