[vox-tech] PHP fopen() bug

Mark Street mark at oswizards.com
Sun Mar 20 13:16:55 PST 2005


Yep, could be the version, mine is php-4.3.10-3.2

On Sunday 20 March 2005 13:07, Rod Roark wrote:
> 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.
-- 
Mark Street, RHCE
http://www.oswizards.com
--
Key fingerprint = 3949 39E4 6317 7C3C 023E  2B1F 6FB3 06E7 D109 56C0
GPG key http://www.oswizards.com/pubkey.asc


More information about the vox-tech mailing list