php资料权限

WBOY
Release: 2016-06-13 13:12:32
Original
1236 people have browsed it

php文件权限
php文件权限

linux下 PHP安全又可以运行,权限多少? chmod

文件夹又设为多少

------解决方案--------------------
文件夹一般设置为755或者664,详细区别见:
http://www.zzee.com/solutions/linux-permissions.shtml#zzee_link_6_1077830297

如果你有一个php文件,只希望是机器运行,如cron程序,用:
chown root:root /var/www/html/your-page.php
或者只有管理员可以运行:
chown your-user-name:users /var/www/html/your-page.php

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
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!