views:

510

answers:

3

We have installed Apache 2.2 on a windows server 2003.

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

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

BR Larre

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.

A: 

Have you tried giving the "Everyone"-group access to the files? Do not forget to reset this setting in production.

To see which user apache runs under, use the task manager.

alexn
+4  A: 

Look in

Start --> Administrative Tools --> Services

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.

danswain
A: 

It sounds like a permission problem for the user Apache is running under.

If you check the running processes, you should see Apache and the user it is running under. You should be able to give that user write permission.

Marcel Tjandraatmadja