Re: safe_mode
| From: | Richard Lynch | Date: | Mon, 22 May 2006 20:44:23 +0000 |
| Subject: | Re: safe_mode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236675@lists.php.net to get a copy of this message | ||
Safe Mode is one of those things that Systems Administrators don't
really want users turning on/off willy-nilly...
So it can only get set in php.ini and maybe httpd.conf, almost-for-sure.
Check the docs on what can be set where -- There's a nifty chart
somewhere on http://php.net
On Fri, May 19, 2006 5:25 pm, tedd wrote:
> Hi gang:
>
> Please excuse me for asking another dumb-ass question, but here goes.
>
> I'm finding that setting safe_mode to ON is more difficult than I
> first thought.
>
> In my phpinfo, safe_mode is set to OFF
>
> However, if I try to set it to ON in my ".htaccess" such as:
>
> php_value safe_mode 1
>
> It doesn't work.
>
> If I set it in my code, such as:
>
> ini_set( 'safe_mode', '1' );
>
> It still doesn't work.
>
> From what I've read about ini_set() , it's said that "Just because
> you're able to set something doesn't mean it will work as expected."
> Is this one of those things that can't be changed?
>
> Or am I doing it wrong?
>
> Feel free to hammer me for not knowing.
>
> Thanks.
>
> tedd
>
> --
> ------------------------------------------------------------------------------------
> http://sperling.com
> http://ancientstones.com
> http://earthstones.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Like Music?
http://l-i-e.com/artists.htm