You are here: Re: Error and need help???? « PHP Programming Language « IT news, forums, messages
Re: Error and need help????

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация