Removing of PHP_INI_PERDIR proposed (Was: setting PHP_INI_SYSTEM config. variables in VHost sections (bug 20009))
| From: | Matus "fantomas" Uhlar | Date: | Mon, 28 Oct 2002 13:38:08 +0000 |
| Subject: | Removing of PHP_INI_PERDIR proposed (Was: setting PHP_INI_SYSTEM config. variables in VHost sections (bug 20009)) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90193@lists.php.net to get a copy of this message | ||
Me wrote:
-> I found out that it is not possible with current php stable version (4.2.3)
-> to define some configuration variables per virtual host - e.g.
-> upload_tmp_dir.
-> The upload_tmp_dir is masked ad PHP_INI_SYSTEM which allows changing
-> php_upload_dir in php.ini or in httpd's main config - not in VHost config,
-> which makes me unable to use different directories for each virtual web.
-> I think that is very bad.
-> The definition of PHP_INI_PERDIR allows changing variables in VHost sections
-> or in .htaccess files. I don't understand this - users are usually able to
-> configure .htaccess, which would allow them to overwrite settings in VHost
-> section of httpd's config.
-> I work with Apache, and with other http servers the situation can be
-> different (any way I would wonder as long this is a policy-problem, not
-> implementation problem).
-> Therefore I propose a change:
-> PHP_INI_SYSTEM variables should be allowed to change by admin - in
-> system-wide php.ini or httpd.conf, no matter if it's VHost or not.
-> PHP_INI_PERDIR would be then made useless and .htaccess things can be
-> checked with PHP_INI_USER.
Either nobody read it, ot nobody has any comments. Could then PHP_INI_PERDIR
be removed and all settings moved to PHP_INI_SYSTEM or PHP_INI_USER ?
--
Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I don't wish to receive spam to this address.
Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
42.7 percent of all statistics are made up on the spot.