leftso 1142 0 2019-07-04 13:37:49

文章位置:左搜> 编程技术> 正文
解决PHP程序以root启动导致部分Apache创建的文件权限不足问题
For CentOS and other Red Hat distros, add the umask setting to /etc/sysconfig/httpd and restart apache.
[root ~]$ echo "umask 002" >> /etc/sysconfig/httpd
[root ~]$ service httpd restart
编程技术 php linux