There are 2 questions:
1. Local php artisan serve can be used
2. I don’t know why after moving the server, it will create or read files in the / directory, so there is no permission and an error is reported
3 . It is a permission directory, and it has also been 777ed. However, it should not be a simple permission, because it is impossible for the program to read /. All relative directories are used, but I don’t know where this absolute directory is used.
ErrorException in Filesystem.php line 109:
file_put_contents(/b53e72be8b40e01b5dd6a10f6254791b9c073338.php): failed to open stream: Permission denied
Already tried:
php artisan clear-compiled
php artisan optimize
php artisan cache:clear
The problem is found. If there is no views directory, it will go to the root directory
Filesystem.php, if no path is passed, it will be empty...
I deleted the entire storage directory before migrating, but now I forgot to rebuild the views directory when rebuilding
Permission denied
Permission issue
Insufficient permissions:
It is probably a permissions issue. All laravel deployment issues can be solved here. Just choose your own server version http://bbs.earnp.com/blog?tit...