Re: turning safe mode off in php 5.6.7
| From: | Tim Dunphy | Date: | Tue, 14 Apr 2015 18:00:27 +0000 |
| Subject: | Re: turning safe mode off in php 5.6.7 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324806@lists.php.net to get a copy of this message | ||
>
> 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_)
Ok! Got it. Like it when there's a simple explanation. Thanks!
Tim
On Tue, Apr 14, 2015 at 5:04 AM, Maciek Sokolewicz <
maciek.sokolewicz@gmail.com> wrote:
> 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
>
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B