RE: [PHP-INST] php.ini changes not taking
| From: | Rich Gray | Date: | Thu, 06 Mar 2003 14:34:45 +0000 |
| Subject: | RE: [PHP-INST] php.ini changes not taking | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10302@lists.php.net to get a copy of this message | ||
> This is strange. I just changed the local value of
> session.gc.maxlifetime
> from 1400 to 12345 with ini_set.
>
> ini_set("session.gc_maxlifetime",12345);
> ini_set("register_globals",1);
>
> register_globals continues to remain "Off".
>
> (ps, I tried passing "on" and "On" and "1" as arguments, none
> work).
>
> Is there another security setting I'm overlooking?
>
AFAIK you can't reset the register_globals setting via ini_set... by the
time your script is run the register_globals setting has already taken
effect... same goes for settings such as magic_quotes_gpc etc
HTH
Rich