> > >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

Reply via email to