summaryrefslogtreecommitdiff
path: root/php.ini-recommended
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-09-28 02:04:28 +0000
committerJani Taskinen <jani@php.net>2007-09-28 02:04:28 +0000
commitf964370a35476b9470fb2c6db635f61a0d912953 (patch)
tree9cb35494e48b27867ce501eda2ccb354efaeb753 /php.ini-recommended
parent9ecd77367e4387249cd5d124af83d98e5cfaf93a (diff)
downloadphp-git-f964370a35476b9470fb2c6db635f61a0d912953.tar.gz
- 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 - Fixed bug #27372 (parse error loading browscap.ini at apache startup) - Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric characters) @DOC Pierre promised to handle the manual part of this :D
Diffstat (limited to 'php.ini-recommended')
-rw-r--r--php.ini-recommended12
1 files changed, 12 insertions, 0 deletions
diff --git a/php.ini-recommended b/php.ini-recommended
index 1a293231e1..4532d8eeac 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -101,6 +101,18 @@
; since short tags may not be supported on the target server.
;;;;;;;;;;;;;;;;;;;;
+; 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
+
+;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;