By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,016 Members | 2,297 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,016 IT Pros & Developers. It's quick & easy.

SAFE MODE Restriction in effect (with or without calling any php-file)

P: n/a
Hello,

I have a php-enabled vhost in the apache2 configuration file. In the
document root there are only html-files. So no php parsed file is
called when the domain is viewed in a browser. But sometimes I get a
warning notice about safe mode restrictions:

Warning: Unknown(): SAFE MODE Restriction in effect. The script whose
uid/gid is 80/80 is not allowed to access /usr/home/zak owned by
uid/gid 1094/1095 in Unknown on line 0

Sometime the error messages differs in some details (id/gid):

Warning: Unknown(): SAFE MODE Restriction in effect. The script whose
uid/gid is 0/0 is not allowed to access /usr/home/zak owned by uid/gid
1094/1095 in Unknown on line 0

In the error.log I can see the additional informationen that the
referer is sometimes the index.html or the css-file included in the
index.html.

I get this error message sometimes also with php-parsed files in
another vhost on the same server

When I restart apache everything works fine.. but for a few minutes
only.

I'm running PHP4.4.4 with Apache 2.0.59 on FreeBSD 5.3. If you need any
furhter information don't hesitate to contact me.

Regards,

Falk

Aug 23 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.