Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   PHP/ apache problem (http://siteownersforums.com/showthread.php?t=51815)

ncjbhd 10-17-2011 12:23 AM

PHP/ apache problem
 
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?


All times are GMT -7. The time now is 08:23 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.