[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] php write_access
- Subject: Re: [cobalt-users] php write_access
- From: John Rood <john@xxxxxxxxx>
- Date: Tue Jul 25 04:13:02 2000
On Sat, 22 Jul 2000, viva technologies wrote:
> hi,
>
> can someone tell me how i assign
> file_create permissions to php ?
There's no need to do this, since php can write files by default. The only
problem you'll encounter is that php runs as the same uid as apache, in
thise case httpd. And if this user doesn't have write permissions on a
certain dir or file, php just can't write files. There are several ways
around this problem. From creating a dir owned by httpd to giving the
rest of the world (and thus httpd) rw access to a file or dir (chmod
o+rw). You'll have to pick a mix of ownership/permissions which suits you
best.
John
--
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
--
John C. Rood
UNIX programmer/Database developer/System administrator
SFARC Networks, The Netherlands - http://www.sfarc.net