#33723 [Opn->Fbk]: php_value overrides php_admin_value

From: Date: Mon, 18 Jul 2005 22:45:22 +0000
Subject: #33723 [Opn->Fbk]: php_value overrides php_admin_value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-82102@lists.php.net to get a copy of this message
ID: 33723 Updated by: sniper@php.net Reported By: ezmlm at mail dot ru -Status: Open +Status: Feedback Bug Type: Apache related Operating System: Linux PHP Version: 5CVS-2005-07-18 New Comment: Try change that php_admin_value line in httpd.conf to this: php_admin_value safe_mode 1 Previous Comments: ------------------------------------------------------------------------ [2005-07-19 00:43:19] sniper@php.net I can't reproduce this override problem when using Apache2. ------------------------------------------------------------------------ [2005-07-19 00:37:23] sniper@php.net Solved. I had wrong permissions and owners set on the path and script I used. safe-mode works as expected. ------------------------------------------------------------------------ [2005-07-18 19:18:20] sniper@php.net I can't get safe-mode to work at all when using PHP CVS HEAD (5.1-dev). No matter where I set it, be it php.ini or httpd.conf ------------------------------------------------------------------------ [2005-07-18 10:35:56] ezmlm at mail dot ru I've tried. safe_mode is really turned off. I can use system and exec and read other users files that are readable by apache. For instance system('cat /etc/passwd') works fine ------------------------------------------------------------------------ [2005-07-18 10:27:18] sniper@php.net Even if phpinfo() shows that some .ini option has different value, it's not necessarily true. Try do something that "safe" mode should prevent you from doing. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33723 -- Edit this bug report at http://bugs.php.net/?id=33723&edit=1

« previous php.bugs (#82102) next »