|
Posted by Colin McKinnon on 11/09/06 18:33
ramc18@tiscali.it wrote:
> My PHP.INI configuration have safe_mode = Off but in local execution it
> get On.
> I noticed this strange behaviour with a script that shows an error in
> move_uploaded_file.
> I write a minimal script with
>
> <?php
> phpinfo();
> ?>
>
> It shows safe_mode On (local) and safe_mode Off (global).
>
> Anyway I tried this other script
>
> <?php
> ini_set('safe_mode',FALSE);
> phpinfo();
> ?>
>
Well it wouldn't be a very safe safe_mode if it were that easy to turn off!
IIRC, master is the value in the config file, but this can be overridden in
the apache config / .htaccess files or in the script. Check your config
files - also watch out for include files, particularly if auto-prepended.
HTH
C.
Navigation:
[Reply to this message]
|