On Thu, 20 May 2004, Derick Rethans wrote:

> On Wed, 19 May 2004, Philip Olson wrote:
> 
> > 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.
> 
> You're wrong. PHP_INI_PERDIR and PHP_INI_SYSTEM at the same time does
> make sense. And safe_mode has nothing to do with PHP_INI_SYSTEM
> whatsoever.

Please explain your words a little better for the documentation
team as we non-phpdev folk need specifics.  Why do you feel 
PHP_INI_PERDIR doesn't imply PHP_INI_SYSTEM as our definitions 
are:

  PHP_INI_PERDIR : Entry can be set in php.ini, .htaccess or httpd.conf
  PHP_INI_SYSTEM : Entry can be set in php.ini or httpd.conf

If something is the first, it implies the second, right?  Rather
than just say "no" how about you explain your reasoning a little.

Also are you saying safe_mode cannot be set in httpd.conf and can 
you answer Nuno's questions then?  According to main.c it is 
PHP_INI_SYSTEM, is the source wrong?  Because this is what the
ini docs generating script will use:

#if PHP_SAFE_MODE
STD_PHP_INI_BOOLEAN("safe_mode", "1", PHP_INI_SYSTEM, OnUpdateBool,
safe_mode, php_core_globals, core_globals)
#else
STD_PHP_INI_BOOLEAN("safe_mode", "0", PHP_INI_SYSTEM, OnUpdateBool,
safe_mode, php_core_globals, core_globals)
#endif


Regards,
Philip

Reply via email to