PHP 4.0 Bug #8127 Updated: Safe mode and apache's ID
| From: | jason@php.net | Date: | Thu, 07 Dec 2000 23:53:49 +0000 |
| Subject: | PHP 4.0 Bug #8127 Updated: Safe mode and apache's ID | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40512@lists.php.net to get a copy of this message | ||
ID: 8127
Updated by: jason
Reported By: maxence@antinea.org
Status: Bogus
Bug Type: PHP options/info functions
Assigned To:
Comments:
This is not a bug. If you are using the apache module SAPI, then any files will be written as the
uid of apache, this is a basic UNIX concept. If you desire a different effect, use suexec and
compile php as a cgi.
Previous Comments:
---------------------------------------------------------------------------
[2000-12-05 15:07:09] maxence@antinea.org
When using the FOPEN("w") function in SAFE_MODE, apache will create a file with
apache's UID/GID.
Warning about user which create php script with FOPEN, because this script won't have the same
UID and GID that the PHP which create the script.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8127