解决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
http://blog.xqlee.com/article/361.html