Home > PHP Framework > Laravel > What should I do if the Laravel access page under centos is blank?

What should I do if the Laravel access page under centos is blank?

藏色散人
Release: 2021-12-09 17:11:33
forward
1758 people have browsed it

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:

What should I do if the Laravel access page under centos is blank?

Solution:

Use chmod -R 777 storage/Change the permissions of the directory

The website will be displayed normally when you visit it again :

What should I do if the Laravel access page under centos is blank?##

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!

Related labels:
source:aliyun.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template