Re: update ini-set.xml
| From: | Nuno Lopes | Date: | Thu, 20 May 2004 19:15:37 +0000 |
| Subject: | Re: update ini-set.xml | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969360735@lists.php.net to get a copy of this message | ||
> > >Lastly, I believe there are only three php.ini only
> > >directives and that safe_mode is in fact PHP_INI_SYSTEM
> > >but I could be wrong. Also, I too cannot see why
> > >"PHP_INI_PERDIR|PHP_INI_SYSTEM" would need to exist.
> >
> > I agree with you. So I change this to PHP_INI_PERDIR automatically.
>
> Don't do that, it's wrong.
>
> regards,
> Derick
Hi Derick,
First, Thanks for removing those bogus ini settings!
Why is INI_PERDIR diferent from PHP_INI_PERDIR|PHP_INI_SYSTEM?
Following Philip's idea, the manual states:
PHP_INI_PERDIR 2 Entry can be set in php.ini, .htaccess or httpd.conf
PHP_INI_SYSTEM 4 Entry can be set in php.ini or httpd.conf
So PHP_INI_PERDIR|PHP_INI_SYSTEM would have the value 6. If INI_PERDIR can
be set in "php.ini, .htaccess or httpd.conf", where else can you set those
ini options with permissions 6? Can you explain us, please?
Thanks,
Nuno