ID:               21157
 User updated by:  [EMAIL PROTECTED]
-Summary:          when ini settings are changable needs to be further
                   documented
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
-Bug Type:         Documentation problem
+Bug Type:         IIS related
 Operating System: windows 2000 sp3
-PHP Version:      4.4.0-dev
+PHP Version:      4.2.3
 New Comment:

Thank you for the pointer.


Previous Comments:
------------------------------------------------------------------------

[2002-12-23 10:54:26] [EMAIL PROTECTED]

Assuming that 'registry per directory' is an option similar to
.htaccess for IIS, it's worth mentioning that for example safe_mode is
listed as PHP_INI_SYSTEM so it can be set in httpd.conf or php.ini but
not .htaccess (or whatever IIS uses).

You will notice at php.net/ini_set that some options are
PHP_INI_SYSTEM|PHP_INI_PERDIR and some are PHP_INI_ALL, those can be
set per directory.  

This 'when changable' information should be mentioned within every
configuration description in the manual as opposed to only in the
ini_set() docs.  Or at least pointed somewhere.

That said, am marking this as a documentation problem.  Also note that
equivelents for apache's httpd.conf and .htaccess should be mentioned
somewhere too, not sure where (yet).

------------------------------------------------------------------------

[2002-12-23 10:43:13] [EMAIL PROTECTED]

http://www.php.net/manual/en/function.ini-set.php

Contains a comprehensive list of ini settings and it tells you whether
a particular ini setting can be set per directory or not.

------------------------------------------------------------------------

[2002-12-23 10:41:51] [EMAIL PROTECTED]

Thanks for the comments but I lodged the report *after* reading
anything relevant in the docs I could find. I could find nothing about
the 'registry per directory' win32 registry functionality but it
exists. Where would I find info explaining which php.ini options are
accepted for this function? I would be happy to accept any specific
pointers to relevant docs from more knowledgable people than myself.

------------------------------------------------------------------------

[2002-12-23 10:34:19] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Options such as safe_mode, expose_php, etc.. can only be set via
PHP.ini and are NOT 'per directory'.

------------------------------------------------------------------------

[2002-12-22 23:12:24] [EMAIL PROTECTED]

When making use of the 'registry per directory' option to set per
directory php.ini entries it would appear that only selected options
from php.ini are parsed in this registry section. For example error_log
and sendmail_from entries are parsed but safe_mode, user_dir,
expose_php, smtp, doc_root are ignored when here.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21157&edit=1

Reply via email to