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

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

藏色散人
Release: 2020-05-17 15:39:08
forward
3346 people have browsed it

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 {} \;
Copy after login

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!

Related labels:
source:segmentfault.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