summaryrefslogtreecommitdiffstats
path: root/php.ini
diff options
context:
space:
mode:
Diffstat (limited to 'php.ini')
-rw-r--r--php.ini22
1 files changed, 18 insertions, 4 deletions
diff --git a/php.ini b/php.ini
index 3c6e49b..d52aeaa 100644
--- a/php.ini
+++ b/php.ini
@@ -305,6 +305,7 @@ serialize_precision = -1
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file.
+; Note: disables the realpath cache
; http://php.net/open-basedir
;open_basedir =
@@ -337,6 +338,7 @@ disable_classes =
; Determines the size of the realpath cache to be used by PHP. This value should
; be increased on systems where PHP opens many files to reflect the quantity of
; the file operations performed.
+; Note: if open_basedir is set, the cache is disabled
; http://php.net/realpath-cache-size
;realpath_cache_size = 4096k
@@ -589,7 +591,7 @@ html_errors = On
; to syslog. Only used when error_log is set to syslog.
;syslog.ident = php
-; The syslog facility is used to specify what type of program is logging
+; The syslog facility is used to specify what type of program is logging
; the message. Only used when error_log is set to syslog.
;syslog.facility = user
@@ -598,9 +600,10 @@ html_errors = On
; control characters. If your logger accepts everything, then no filtering
; is needed at all.
; Allowed values are:
-; ascii (only base ASCII characters)
-; no_ctrl (all characters except control characters)
+; ascii (all printable ASCII characters and NL)
+; no-ctrl (all characters except control characters)
; all (all characters)
+; http://php.net/syslog.filter
;syslog.filter = ascii
;windows.show_crt_warning
@@ -889,7 +892,7 @@ default_socket_timeout = 60
; For example:
;
; extension=mysqli
-;
+;
; When the extension library to load is not located in the default extension
; directory, You may specify an absolute path to the library file:
;
@@ -971,8 +974,19 @@ cli_server.color = On
;intl.use_exceptions = 0
[sqlite3]
+; Directory pointing to SQLite3 extensions
+; http://php.net/sqlite3.extension-dir
;sqlite3.extension_dir =
+; SQLite defensive mode flag (only available from SQLite 3.26+)
+; When the defensive flag is enabled, language features that allow ordinary
+; SQL to deliberately corrupt the database file are disabled. This forbids
+; writing directly to the schema, shadow tables (eg. FTS data tables), or
+; the sqlite_dbpage virtual table.
+; https://www.sqlite.org/c3ref/c_dbconfig_defensive.html
+; (for older SQLite versions, this flag has no use)
+;sqlite3.defensive = 1
+
[Pcre]
; PCRE library backtracking limit.
; http://php.net/pcre.backtrack-limit