I upload my laravel 5.6 project on Linux Server but the website is not running in the browser and I am getting the given error. Please Help.
Asked
Active
Viewed 7,677 times
-4
-
please a look on https://laravel.com/docs/5.6/installation#configuration. In addition this might also help: https://stackoverflow.com/questions/30639174/file-permissions-for-laravel-5-and-others – Tschitsch Aug 16 '18 at 13:46
-
1Please state the errors. The text on the picture is too small to read. In addition, the text cannot be indexed by search engines for future visitors. – jww Aug 16 '18 at 13:47
1 Answers
1
The framework is unable to create a cache of the views from the looks of the logs. You need to update the permissions on the storage
folder.
If the storage
folder is owned by a different user to your server software (i.e. user is not www-data
), you need to set the permissions using:
chmod -R 777 storage
If the storage
folder is owned by www-data
(or the appropriate system user for your server software), you can use the less open:
chmod -R 755 storage
If you run into permission issues, you may need to prefix the above commands with sudo
.

Niraj Shah
- 15,087
- 3
- 41
- 60
-
1Sorry but its not working with me. Same error and getting the same msg on the browser: This page isn’t working. – Abhinav Aug 16 '18 at 17:49
-
Ohh thanks i think it works when i added one more command into this: php artisan view:clear – Abhinav Aug 16 '18 at 18:06
-