[vox-tech] PHP fopen() bug
Rod Roark
rod at sunsetsystems.com
Sun Mar 20 13:07:02 PST 2005
On Sunday 20 March 2005 11:22 am, Mark Street wrote:
> php will 'try' to create the file. It is up to you to make sure the
> underlying OS permissions are such that a file can be created and the
> configuration of php is such that a file may be created.
>
> I just tried it on my FC3 box with a local file in the dir, and a file in tmp,
> with both modes, w and ab. No problem.
>
> Look to filesystem permissions/ownership or php.ini
I believe it's a problem with the version of PHP that
happens to come with Ubuntu (which BTW is not the very
latest PHP). It's definitely not a permissions problem
since, as I said, it works if you precede the fopen with
a touch.
-- Rod
More information about the vox-tech
mailing list