473,326 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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

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
0 1292

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sean | last post by:
Help. I need a Host based in North America that will allow Global settings to be on and the Safe Mode restriction off... Any ideas..please share... Sean
1
by: Giobibo | last post by:
Hi. I want to send mail with the function mail(). I am on a shared server in SAFE MODE. When I send a mail I get the message: "SAFE MODE Restriction in effect. The fifth parameter is...
0
by: Pjotr Wedersteers | last post by:
(Suse 9.0, Apache 2.048, PHP 4.3.3 - all default install from SuSe ISO) I have in my wwwroot folder (/srv/www/htdocs) a folder called counters. I have embedded a page counter script into several...
2
by: Paul Schmidinger | last post by:
Hi, I created a directory with PHP mkdir (mode 0777). Then I try to move_ulpoaded_file() to move a file into this directory. I get an error: Warning: move_uploaded_file(): SAFE MODE...
0
by: Robert_Wr | last post by:
hello PHP Masters:) my privider set: safe_mode to ON and leave upload_tmp_dir blank I think that there is the reason for my trouble with upload files via POST method. If yes - I will ask my...
2
by: Joseph S. | last post by:
Hi all, Consider this case: I have a free php hosting account (a LAMP host) with an account name (also the name of my directory) 'sample'. Under 'sample', I have php scripts which can create...
3
by: Rik | last post by:
Hello, first of all, my provider sucks, newsserver is down for the #nth time now, offcourse when I have an urgent question.... So this will be me first time using Google Groups, forgive me if...
3
banning
by: banning | last post by:
OK, first off i wanna thank who ever helps me with this problem right off the bat.. it is really confusing and bothering the hell out of me that i can't fix it... or that there is even an error at...
5
by: rdlowrey | last post by:
Hi, I'm pulling my hair out trying to make this work and any help would be appreciated ... When I try to move the uploaded file: move_uploaded_file($_FILES,"/var/www/vhosts/...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.