#19298 [NEW]: SAFE MODE error -- uid -1!!!
| From: | kh at waikato dot ac dot nz | Date: | Mon, 09 Sep 2002 04:10:13 +0000 |
| Subject: | #19298 [NEW]: SAFE MODE error -- uid -1!!! | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18700@lists.php.net to get a copy of this message | ||
From: kh@waikato.ac.nz
Operating system: linux 2.2.19
PHP version: 4.2.3
PHP Bug Type: Apache2 related
Bug description: SAFE MODE error -- uid -1!!!
1. Start apache 2 - ./apachectl startssl OR just 'start'
2. Request file phptest.php (containing just phpinfo()
call).
3. Browser reports incomplete page (actually nothing at
all).
4. Stop apache.
5. View apache error_log file which contains -
[notice] Apache/2.0.40 (Unix) mod_ssl/2.0.40
OpenSSL/0.9.6g DAV/2 PHP/4.2.3 configured -- resuming
normal operations
PHP Warning: SAFE MODE Restriction in effect. The script
whose uid is -1 is not allowed to access
/home/htdocs/phptest.php owned by uid 99 in Unknown on line
0
PHP Warning: Failed opening '/home/htdocs/phptest.php' for
inclusion (include_path= ...) in Unknown on line 0
Apache is running as uid 99 and the named file is
owned by that user and permissions rwx are provided - but I
have never heard of a uid -1. I do note that an earlier
bug last year complained of something similar but with uid
1 (as opposed to -1)
--
Edit bug report at http://bugs.php.net/?id=19298&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19298&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19298&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19298&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19298&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19298&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19298&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19298&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19298&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19298&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19298&r=globals