PHP/ apache problem

They have: 53 posts

Joined: Oct 2005

Hello all!
What I have is a problem with my apache server and I don't know how to deal with it...

I have a PHP page that is supposed to create an empty file, using "system" command, then open it ("fopen") na dwrite some stuff in there...
But, when I point to the reffering page, it says ...
"Permission denied" and the file is not created..

Because I don't know much about servers, is there somewhere in my Linux filesystem that I should tell PHP to create the file where it will not have such restrictions?
when you tell PHP to create a file, which 'user' does this?
The Apache user?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.