当前位置:web 服务器 > Apache >>

Linux中Apache 更改创建文件用户名和用户组的配置文件


方法 超级简单


#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch. 
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
#在这里修改就行了

User daemon
Group daemon

我们只要把user 和group后面的名字修改成你自己喜欢的就行了,然后重启你的 apache和重新生成哦。

补充:Php教程,apache
Apache
IIS
Nginx
Tomcat
如果你遇到web 服务器难题:
访问www.zzzyk.com 试试
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,