RE: [PHP-DEV] php_value vs. php_admin_value
| From: | Ford, Mike [LSS] | Date: | Tue, 22 Oct 2002 10:11:22 +0000 |
| Subject: | RE: [PHP-DEV] php_value vs. php_admin_value | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-89905@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus@php.net]
> Sent: 21 October 2002 05:49
>
> admin directives can only be used in the httpd.conf file.
> Non-admins can
> be used in both httpd.conf and .htaccess. ie. directives
> that end-users
> should not be able to change themselves should be admin ones.
But the documentation is still not sufficiently clear on how to decide when
to use php_ directives and when to use php_admin_. When I first came to do
a setup using these, I had a number of questions, and whilst I think I can
make an intelligent guess at some of the answers, I'm still not absolutely
sure. The documentation should, clearly and unambiguously, answer all of
these:
* How do I decide when to use php_admin_* and when php_*?
Is it based on the PHP_INI_* settings?
- If so which one(s)?
- If not, what is it based on?
* Can I use php_admin_* to set options have the PHP_INI_USER
attribute (or PHP_INI_ALL)?
- If so does that stop them from subsequently being
altered in other contexts (specifically in user scripts?).
Even after running a number of tests, I'm just not sufficiently sure of the
answers to suggest specific improvements -- but if someone "in the know"
could write a paragraph or two to answer the above questions, it would be a
major improvement.
(Shall I file a "Documentation problem" bug report?)
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211