Reply to Re: session_start() problem

Your name:

Reply:


Posted by Dikkie Dik on 05/06/07 15:34

> Warning: session_start() [function.session-start]: SAFE MODE Restriction in
> effect. The script whose uid is 1113 is not allowed to access /var/tmp owned
> by uid 0 in /home/ZZZZZ/domains/YYYYYYY/public_html/MZ_CRM/config.inc.php on
> line 2
....
> Could you help me what it is? How to fix this problem? My page worked well
> on the previous server and I have never gotten such error?
> Is it a configure problem on the server? Is it a problem which should be
> fixed up by administrator?

As already said, it is a configuration issue. The temp directory's owner
is not the user that runs the PHP script. There are two ways to solve it:

- Use a separate directory for the sessions, that is owned by the
PHP-running user,
- Or configure PHP to use group checking instead of user checking. (the
PHP running user must then be part of the group that owns the temp
directory).

Read the documentation about "safe mode" for more details.

Best regards

[Back to original 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

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