Page 1 of 1

Problem with fopen

Posted: Tue Oct 08, 2002 2:17 pm
by jidospod
Warning: fopen("config.php", "w+") - Permission denied in /home/jidospod/public_html/index.php on line 342

Code: Select all

$conf_file = fopen('config.php',"w+");
I dont know why I am getting permission denied on this! Any help would be appreciated. I even chmod'd the file to 755 and still not working.

Posted: Tue Oct 08, 2002 7:53 pm
by volka
755 is allow read by group/other and allow execute by group/other.
Who is the owner of this file? You or the webserver/php process?