|
Posted by Erwin Moller on 08/29/05 11:58
racin_vegas wrote:
> I know that I can change the "read-only" check box on the properties of
> the tmp folder but when I do it changes back to "read-only" after I close
> the window.....could it have something to do with the fact the program
> uses a "virtual" drive??
>
Hi,
Under *nix you need to make the folder writable for the user that runs PHP.
In most cases this is an user named 'apache' or 'nobody' or 'www-data'.
Next step is to make the directory where PHP stores the sessionfiles
WRITABLE (and readable) to that user.
You can do this is a few different ways:
- make the folder open for everybody
(This is ok during development, or when just learning)
chmod 777 path/to/your/folder
This is probably a bad idea if you start using the site for real.
- make the folder WRITABLE to the abovementioned user (apache, nobody,
www-data) by modifying the read/writepermission allright for the group (the
abovementioned user is in) or the user.
The same logic goes roughly for W$.
So brush up your permissionknowledge.
Google for it. :-)
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|