php - The laravel page can be entered normally without reporting an error, but the display is blank.
给我你的怀抱
给我你的怀抱 2017-05-16 12:59:25
0
3
679

When I change the storage directory to 777, the page can be displayed normally, or the log under logs can be accessed normally after deleting it. However, I have set the storage directory to 777 a long time ago, and every time I set it like this, it will take a while. The time cannot be displayed normally again

给我你的怀抱
给我你的怀抱

reply all(3)
Ty80

Possible reasons
I have encountered a situation where the owner is between apache and root users. There will be such a situation. The user apache specified by php-fpm uses the root user when granting permissions. Especially when using the daily mode of laravel logs. The new file does not have 777 permissions.

Check
Check whether the user specified by php-fpm has all permissions for storage.

Solution
Change the user group where the folder is located.

刘奇

Enable debugging of the .env file, if not, check the server log

淡淡烟草味

chown to set up user nginx or Apache
chmod and add -R

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template