|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-11-11 20:15 UTC] davey at its-explosive dot net
this is a feature I've put a lot of thought into and I really think webhosts specifically will benefit from this feature. It's basically allowing certain ini directives to be set using php_admin_flag/value on a virtualhost basis. The config options I think should be modified are these: open_basedir session.save_path upload_tmp_dir auto_prepend_file auto_append_file I don't know whats involved in changing these, but I would assume it's not a major change. I would love to see this in the forthcoming 4.3 release... - Davey PatcheskXvrbKwH (last revision 2021-07-19 10:49 UTC by sample at email dot tst)5 (last revision 2019-05-31 12:57 UTC by house at gmail dot com) Pull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
I'm reclassifying this and changing to other bug we found when digging into this mess.. :) If you set some directive in httpd.conf with php_admin_value it's not possible to change it anymore in .htaccess. This is okay and the correct behaviour. BUT it does not make PHP_INI_ALL settings not settable with ini_set() though. To test this: httpd.conf: php_admin_value html_errors 0 .htaccess: php_value html_errors 1 test.php: <?php /* Comment this line out to see the effect of .htaccess..*/ ini_set('html_errors', 1); phpinfo(); ?>