Bug #18038: about safe_mode
| From: | 77508 at 163 dot com | Date: | Fri, 28 Jun 2002 06:12:54 +0000 |
| Subject: | Bug #18038: about safe_mode | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-12318@lists.php.net to get a copy of this message | ||
From: 77508@163.com
Operating system: freebsd4.4
PHP version: 4.2.1
PHP Bug Type: Apache2 related
Bug description: about safe_mode
I use apache2.0.39. ^_^
While I set Safe_mode to Off, php seems work well.
But I set Safe_mode to On, php return a blank page!
See in apache's error_log file, I found:
------------------------------------------------------
PHP Warning: SAFE MODE Restriction in effect. The script
whose uid/gid is -1/-1 is not allowed to access
/mypage/test.php owned by uid/gid 60001/60001 in Unknown
on line 0
PHP Warning: Failed opening '/mypage/test.php' for inclusion
(include_path='.:/usr/local/lib/php') in Unknown on line 0
-------------------------------------------------------
I run apache by uid/gid nobody/nobody(60001/60001),and set
/mypage/test.php owner/group to nobody/nobody. I can't find
the way from faq page. So I post this report.
--
Edit bug report at http://bugs.php.net/?id=18038&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18038&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18038&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18038&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18038&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18038&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18038&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18038&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18038&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18038&r=globals