Re: Local vs Master Configure values

From: Date: Sat, 10 Nov 2007 02:16:24 +0000
Subject: Re: Local vs Master Configure values
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-264404@lists.php.net to get a copy of this message
At 6:38 PM -0600 11/9/07, David Giragosian wrote:
On 11/9/07, Nathan Nobbe <quickshiftin@gmail.com> wrote:
On Nov 9, 2007 5:01 PM, Nathan Nobbe <quickshiftin@gmail.com> wrote:
On Nov 9, 2007 4:24 PM, tedd <tedd@sperling.com> wrote:
Hi gang: I'm confronting a safe_mode problem and have a question. My PHP Info states that safe_mode is ON for local and OFF for master -- what does that mean? o i forgot about this part. the global column depicts values in php.ini. the local column indicates the value has been overridden in one of the various allowed locations. i.e. httpd.conf .htaccess ini_set() if its on for local and off for master; most likely it is being
enabled in http.conf or a .htaccess file. at least thats what i would imagine based on the
locations that are allowed to override it as stated in the manual. -nathan
safe_mode 's changeability is described as PHP_INI_SYSTEM, so the option can be set in php.ini or httpd.conf only. Constant Value Meaning PHP_INI_USER 1 Entry can be set in user scripts PHP_INI_PERDIR 2 Entry can be set in php.ini, .htaccess or httpd.conf PHP_INI_SYSTEM 4 Entry can be set in php.ini or httpd.conf PHP_INI_ALL 7 Entry can be set anywhere David
Thanks to all. I realize now that I can't change safe_mode unless I have access to the php.ini or httpd.conf files. Considering this is problem is on a virtual host, that stops me -- I give up. The only question that remains for me is what's the difference between Local and Master Configure values in php_info? Why two? Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#264404) next »