Thread: PHP/Apache
View Single Post
  #1 (permalink)  
Old Feb 4th, 2006, 08:36
ktsirig ktsirig is offline
Up'n'Coming Member
Join Date: Sep 2005
Location: athens
Age: 26
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
PHP/Apache

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?
Reply With Quote