Home >PHP Framework >Laravel >What should I do if the Laravel access page under centos is blank?
The tutorial column of Laravel below will introduce to you the problem of blank page when accessing the website in centos 7.2 Laravel. I hope it will be helpful to everyone!
centos 7.2 The page visited by Laravel is blank?
The page visited by Laravel is blank
After configuring Laravel, I visited the website and found that it was a blank page , I was very confused when using Laravel for the first time.
When using fiddler to check, a 500 error occurs. I checked online that it is because the storage directory under the root directory does not have 777 permissions
As shown in the picture:
Solution:
Use chmod -R 777 storage/
Change the permissions of the directory
The website will be displayed normally when you visit it again :
##
The above is the detailed content of What should I do if the Laravel access page under centos is blank?. For more information, please follow other related articles on the PHP Chinese website!