By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,821 Members | 1,513 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,821 IT Pros & Developers. It's quick & easy.

fopen(temp/pglog.20050106.log): failed to open stream: Permission denied

P: n/a

In one of my script i'm trying to apend a daily log file (see script
part bellow). When the script runs, this message appears :
fopen(temp/pglog.20050106.log): failed to open stream: Permission
I've searched in many post and the solution seems to change the
permissions (chmod o+777). I did so, but it doesn't change. The server
continues not to be able to write in my directory. Any idea ?

Part of my script :
if($pgdebug) {
$time_start = pg_getmicrotime();
$fpl = fopen($pglogfile, 'a');
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.