The following is developed by LaravelThe introductory tutorial column will introduce to you the solution to Laravel's insufficient permissions under the LNMP server. I hope it will be helpful to friends in need!
The website root directory permissions follow:
File 644 Folder 755 permissions user and user groupwww
If there is a file permission problem , please execute the following 3 commands:
chown -R www.www /data/wwwroot/ find /data/wwwroot/ -type d -exec chmod 755 {} \; find /data/wwwroot/ -type f -exec chmod 644 {} \;
The author installed oneinstack
This one-click package can deploy the Laravel project normally
For more laravel framework technical articles, please visit laravelTutorial!
The above is the detailed content of Solve the problem of insufficient permissions of Laravel under the LNMP server. For more information, please follow other related articles on the PHP Chinese website!