Home > Backend Development > PHP Tutorial > 关于php在window 和linux 权限有关问题

关于php在window 和linux 权限有关问题

WBOY
Release: 2016-06-13 12:20:36
Original
1038 people have browsed it

关于php在window 和linux 权限问题
在window下,可以通过php 设置文件或文件夹的可读,可写,可执行权限吗?或者只有到服务端进行设置呢
在linux下,能通过php 设置文件或文件夹的可读,可写,可执行权限吗?

------解决思路----------------------
一般文件夹权限是755
rwx r-x r-x 懂了?你的web服务的用户一般是nobody  差不多只能做到执行的权限  可读可执行 
------解决思路----------------------
可以啊。chmod 不就是干这个的么。

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