Home >Backend Development >PHP Tutorial >LAMP环境PHP文件上传目录权限及执行用户问题

LAMP环境PHP文件上传目录权限及执行用户问题

WBOY
WBOYOriginal
2016-06-06 20:21:591297browse

LAMP环境PHP文件上传目录权限应如何设置?
PHP执行时的默认账户是哪个?

回复内容:

LAMP环境PHP文件上传目录权限应如何设置?
PHP执行时的默认账户是哪个?

PHP执行时,账户主要是看Web容器(Apache、Nginx)到底是什么用户启动的,是用的那个用户的权限。
权限的话,766应该比较合适。

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