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
Navigation:
[Reply to this message]
|