Bug #18038 Updated: about safe_mode
| From: | 77508 at 163 dot com | Date: | Fri, 28 Jun 2002 06:39:10 +0000 |
| Subject: | Bug #18038 Updated: about safe_mode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12322@lists.php.net to get a copy of this message | ||
ID: 18038
Updated by: 77508@163.com
Reported By: 77508@163.com
Status: Closed
Bug Type: Apache2 related
Operating System: freebsd4.4
PHP Version: 4.2.1
New Comment:
Got it!
Thanks!!
Previous Comments:
------------------------------------------------------------------------
[2002-06-28 02:18:30] derick@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net 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 snaps.php.net).
------------------------------------------------------------------------
[2002-06-28 02:17:50] derick@php.net
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 http://www.php.net/support.php
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-06-28 02:12:53] 77508@163.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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18038&edit=1