Re: Problem with the fwrite function (not as simple as it sounds though)

From: Date: Sun, 20 Nov 2005 20:26:43 +0000
Subject: Re: Problem with the fwrite function (not as simple as it sounds though)
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-226163@lists.php.net to get a copy of this message
On Sun, 2005-11-20 at 09:38, Łukasz Hejnak wrote: > Brian V Bonini napisał(a): > > You are saying: > > From the CLI you can write to a file all day long, no prob. > Yes, the shell command "php test.php" works fine when executed as root > (any other user has the same problem as from the web) > > From the web, if the file does not exist it is created, however, no > > content is appended to it. Furthermore, IF there is content in the file > > it can be appended to via web, but if it's an empty file it will not get > > written too. Am I following correctly? > > Exactly, as strange as it sounds, it's just like it is. > > And another thing, the whole instalation was working perfectly for the > past month or two, and now (friday->saturday) suddenly the above symptom > have appeared. > No config changes, no updates or anything else I could relate was > happening on the server, and there is no info in the log files on this > behaviour, the is_writable says it is writable. The safe mode is disabled. > > Hope this tells You something, and gives You an idea on how to solve this. What does 'df -h' say on your system? -- s/:-[(/]/:-)/g Brian GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu ====================================================================== gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC Key Info: http://gfx-design.com/keys Linux Registered User #339825 at http://counter.li.org

« previous php.general (#226163) next »