Re: Safe mode
| From: | Rasmus Lerdorf | Date: | Fri, 26 Apr 2002 19:46:13 +0000 |
| Subject: | Re: Safe mode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94811@lists.php.net to get a copy of this message | ||
You need to use php_admin_flag for safe_mode.
But I wouldn't expect any effect here since you defaulted it to On and in
your httpd.conf you are turning it on... So what are you expecting to see
different?
-Rasmus
On Fri, 26 Apr 2002, Ashley M. Kirchner wrote:
>
> On our server, PHP's compiled in Apache with --enable-safe-mode as well as
> the master php.ini file having safe_mode turned on. Does this override
> whatever's in an Apache configuration file? One of my vhosts has the following
> bit in it:
>
> <IfModule mod_php4.c>
> php_value include_path ".:/usr/local/lib/php"
> php_flag safe_mode On
> php_flag magic_quotes_gpc Off
> php_flag track_vars On
> php_flag track_errors On
> </IfModule>
>
> And the safe_mode entry doesn't seem to have any effect what so ever.
>
> --
> W | I haven't lost my mind; it's backed up on tape somewhere.
> +--------------------------------------------------------------------
> Ashley M. Kirchner <mailto:ashley@pcraft.com> .
> 303.442.6410 x130
> IT Director / SysAdmin / WebSmith . 800.441.3873 x130
> Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
> http://www.pcraft.com ..... . . . Boulder, CO
> 80303, U.S.A.
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>