diff options
Diffstat (limited to 'php.ini')
| -rw-r--r-- | php.ini | 28 | 
1 files changed, 24 insertions, 4 deletions
| @@ -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 @@ -582,7 +584,7 @@ html_errors = On  ; http://php.net/error-log  ; Example:  ;error_log = php_errors.log -; Log errors to syslog. +; Log errors to syslog (Event Log on Windows).  ;error_log = syslog  ;windows.show_crt_warning @@ -938,6 +940,13 @@ cli_server.color = On  ; otherwise output encoding conversion cannot be performed.  ;iconv.output_encoding = +[imap] +; rsh/ssh logins are disabled by default. Use this INI entry if you want to +; enable them. Note that the IMAP library does not filter mailbox names before +; passing them to rsh/ssh command, thus passing untrusted data to this function +; with rsh/ssh enabled is insecure. +;imap.enable_insecure_rsh=0 +  [intl]  ;intl.default_locale =  ; This directive allows you to produce PHP errors when some error @@ -947,8 +956,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 @@ -1002,12 +1022,12 @@ sendmail_path = /usr/sbin/sendmail -t -i  ;mail.force_extra_parameters =  ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename -mail.add_x_header = On +mail.add_x_header = Off  ; The path to a log file that will log all mail() calls. Log entries include  ; the full path of the script, line number, To address and headers.  ;mail.log = -; Log mail to syslog; +; Log mail to syslog (Event Log on Windows).  ;mail.log = syslog  [ODBC] @@ -1373,7 +1393,7 @@ session.use_trans_sid = 0  ; Set session ID character length. This value could be between 22 to 256.  ; Shorter length than default is supported only for compatibility reason.  ; Users should use 32 or more chars. -; http://php.net/session.sid_length +; http://php.net/session.sid-length  ; Default Value: 32  ; Development Value: 26  ; Production Value: 26 | 
