Home >Backend Development >PHP Tutorial >How to configure reasonable file directory permissions in nginx and phpweb environments?

How to configure reasonable file directory permissions in nginx and phpweb environments?

WBOY
WBOYOriginal
2016-09-02 08:42:191386browse

The question is as mentioned.

Path requirements: Upload files, front-end code cache, logs, website scheduled task scripts, and permissions required for website operation itself.
Details: Uploading files requires a disk cache path, and the front-end code requires a slightly longer cache path. Scripts can also be executed by scheduled tasks (sh /www/pro1/script/a.sh)

What are the general control standards for website directory permissions?

Statement:
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