Re: turning safe mode off in php 5.6.7

From: Date: Tue, 14 Apr 2015 09:04:48 +0000
Subject: Re: turning safe mode off in php 5.6.7
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-324804@lists.php.net to get a copy of this message
On 14-4-2015 7:26, Tim Dunphy wrote:
Hey all, I'm getting a disparity in results when setting safe_mode in php 5.6.7. This is what I have set in my php.ini file: [root@aoaapld00130la ~]# grep safe_mode /etc/php.ini | grep -i -v -e gid -e exec -e allowed -e sql -e protected -e include safe_mode = Off Yet when I grep the output of php -i I only see sql_safe_mode: [root@aoaapld00130la ~]# php -i | grep safe_mode sql.safe_mode => Off => Off Any ideas on this? Thanks! Tim Well, there's a very simple explenation for that; as per the manual:
( http://php.net/manual/en/features.safe-mode.php ) This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. So it's NOT AVAILABLE _at all_ in PHP 5.6.7. Which also means that PHP won't register it as being enabled or disabled at all (it's just _not there_) --- This email has been checked for viruses by Avast antivirus software. http://www.avast.com

« previous php.general (#324804) next »