Home  >  Article  >  PHP Framework  >  Solve the problem of insufficient permissions of Laravel under the LNMP server

Solve the problem of insufficient permissions of Laravel under the LNMP server

藏色散人
藏色散人forward
2020-05-17 15:39:083279browse

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!

Solve the problem of insufficient permissions of Laravel under the LNMP server

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 oneinstackThis 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!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete