#19217 [Opn->Bgs]: safe_mode defaulting to "on", docs say "off"

From: Date: Tue, 03 Sep 2002 20:36:10 +0000
Subject: #19217 [Opn->Bgs]: safe_mode defaulting to "on", docs say "off"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18329@lists.php.net to get a copy of this message
 ID:               19217
 Updated by:       rasmus@php.net
 Reported By:      roland@astrofoto.org
-Status:           Open
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: RedHat 7.2/Linux 2.4.9
 PHP Version:      4.2.2
 New Comment:

Check your php.ini file or the compile flags on your particular
compiled version.  The default is definitely still off in the code.


Previous Comments:
------------------------------------------------------------------------

[2002-09-03 15:33:50] roland@astrofoto.org

safe_mode is documented to default to "off".  However, after an upgrade
from PHP 4.1.2 to 4.2.2, a call to 

    fopen ("/tmp/mkimg.log", "a");

began to fail.  In order to correct the problem, I had to add a line

    php_admin_value safe_mode off

to my Apache configuration.  Note that this is Apache 1.3.22.  The
webserver is an Apache virtual host distinguished by IP address.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19217&edit=1



Thread (5 messages)

« previous php.bugs (#18329) next »