Windows服务器上的Apache无法写入文件 [英] Apache on windows server can't write to file

查看:30
本文介绍了Windows服务器上的Apache无法写入文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经在 windows server 2003 上安装了 Apache 2.2.

We have installed Apache 2.2 on a windows server 2003.

我们想让 apache 能够写入磁盘上的文件,但我们不知道 Apache 以什么用户身份工作.

We want to make apache able to write to files on the disk but we don't know as what user Apache works as.

我们如何允许 Apache 写入 Windows Server 2003 上的文件?

How do we allow Apache to write to files on a Windows server 2003?

更新:用户以SYSTEM"身份运行,我们已尝试授予该用户对所有文件夹和文件的完全权限.此外,我们已授予所有人"对所有文件夹和文件的完全权限.我们重新启动了 Apache,清除了所有 cookie,重新启动了 IE,但我们仍然收到来自 phpMyAdmin 的消息,表明我们没有写入权限.

UPDATE: The user is running as 'SYSTEM' and we have tried giving that user full permission to all folders and files. Also we have given 'Everyone' full permission to all folders and files. We have restarted Apache, cleared all cookies, restarted IE and still we get a message, from phpMyAdmin, that we don't have write permission.

推荐答案

查看

开始 --> 管理工具 --> 服务

Start --> Administrative Tools --> Services

在该列表中,您应该看到 Apache 服务(假设您将其安装为服务)

in that list you should see the Apache Service (assuming you installed it as a service)

右键单击属性,登录"选项卡应该会告诉您它以谁的身份登录.

Right click properties, Log On tab should tell you who it's logged on as.

这篇关于Windows服务器上的Apache无法写入文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆