|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18038 about safe_mode
Submitted: 2002-06-28 02:12 UTC Modified: 2002-06-28 02:18 UTC
From: 77508 at 163 dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.2.1 OS: freebsd4.4
Private report: No CVE-ID: None
 [2002-06-28 02:12 UTC] 77508 at 163 dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-28 02:17 UTC]
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit

Thank you for your interest in PHP.
 [2002-06-28 02:18 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

Oops :) Meant to say that this was fixing in CVS (try the NON stable snapshot from
 [2002-06-28 02:39 UTC] 77508 at 163 dot com
Got it!
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 21:01:28 2024 UTC