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

WBOY
Release: 2016-06-06 20:21:59
Original
1242 people have browsed it

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

回复内容:

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

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

Related labels:
source:php.cn
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!