Forum Moderators: coopster
- Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections in php.ini. All directives set in these sections will not be able to be overridden in user-defined ini-files or during runtime in the specified path.
- Improved php.ini handling:
- Added better error reporting for syntax errors in php.ini files
- Allowed "ini-variables" to be used almost everywhere ini php.ini files
- Allowed using alphanumeric/variable indexes in "array" ini options
- Fixed get_cfg_var() to be able to return "array" ini options
+;;;;;;;;;;;;;;;;;;;;
+; php.ini Options ;
+;;;;;;;;;;;;;;;;;;;;
+; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
+;user_ini.filename = ".user.ini"
+
+; To disable this feature set this option to empty value
+;user_ini.filename =
+
+; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
+;user_ini.cache_ttl = 300
What benefits do you see here for you?
Do you see any pitfalls?
Security issues, good or bad?
Added support for special [PATH=/opt/httpd/www.example.com/] sections in php.ini. All directives set in these sections will not be able to be overridden in user-defined ini-files or during runtime in the specified path.
I find that pretty neat, actually. This could be useful for many different reasons. A positive here, methinks
Thanks for bring this up, coop. :)