#19298 [Opn->Csd]: SAFE MODE error -- uid -1!!!
| From: | derick@php.net | Date: | Mon, 09 Sep 2002 21:05:43 +0000 |
| Subject: | #19298 [Opn->Csd]: SAFE MODE error -- uid -1!!! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18857@lists.php.net to get a copy of this message | ||
ID: 19298
Updated by: derick@php.net
Reported By: kh@waikato.ac.nz
-Status: Open
+Status: Closed
Bug Type: Apache2 related
Operating System: linux 2.2.19
PHP Version: 4.2.3
New Comment:
closing then
Previous Comments:
------------------------------------------------------------------------
[2002-09-09 16:04:41] kh@waikato.ac.nz
The CVS snapshot php4-200209091200 (together with a
necessary update to Sablotron 0.96) has built and run
successfully clearing the reported bug.
My thanks to all concerned.
------------------------------------------------------------------------
[2002-09-09 02:01:47] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-09-08 23:10:13] kh@waikato.ac.nz
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 this bug report at http://bugs.php.net/?id=19298&edit=1