RE: [PHP-DEV] php_value vs. php_admin_value
-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: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] php_value vs. php_admin_value
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. -Rasmus On Mon, 21 Oct 2002, Jani Taskinen wrote: Can someone explain what the difference between these 'php_value' and 'php_admin_value' directives is? (and same goes of course for php_flag vs. php_admin_flag..) --Jani -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] php_value vs. php_admin_value
On Mon, Oct 21, 2002 at 07:46:53AM +0300, Jani Taskinen wrote: Can someone explain what the difference between these 'php_value' and 'php_admin_value' directives is? (and same goes of course for php_flag vs. php_admin_flag..) As I recall (and I'm not looking at the code right now to back this up), the php_admin_* versions are for INI options that can only be set administratively (i.e. PHP_INI_SYSTEM), meaning they can't be changed by user-level operations. -- Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] php_value vs. php_admin_value
On Sun, 20 Oct 2002, Rasmus Lerdorf wrote: 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. Thanks. This was explained also in manual.. :I --Jani -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php