190 lines
4.3 KiB
INI
190 lines
4.3 KiB
INI
|
[PHP]
|
||
|
;;;;;;;;;;;;;;;;;;;
|
||
|
; Quick Reference ;
|
||
|
;;;;;;;;;;;;;;;;;;;
|
||
|
;;;;;;;;;;;;;;;;;;;;
|
||
|
; Language Options ;
|
||
|
;;;;;;;;;;;;;;;;;;;;
|
||
|
engine = On
|
||
|
short_open_tag = Off
|
||
|
precision = 14
|
||
|
output_buffering = 4096
|
||
|
zlib.output_compression = Off
|
||
|
implicit_flush = Off
|
||
|
unserialize_callback_func =
|
||
|
serialize_precision = -1
|
||
|
disable_functions =
|
||
|
disable_classes =
|
||
|
zend.enable_gc = On
|
||
|
zend.exception_ignore_args = On
|
||
|
zend.exception_string_param_max_len = 0
|
||
|
|
||
|
;;;;;;;;;;;;;;;;;
|
||
|
; Miscellaneous ;
|
||
|
;;;;;;;;;;;;;;;;;
|
||
|
expose_php = Off
|
||
|
;;;;;;;;;;;;;;;;;;;
|
||
|
; Resource Limits ;
|
||
|
;;;;;;;;;;;;;;;;;;;
|
||
|
|
||
|
max_execution_time = 30
|
||
|
max_input_time = 60
|
||
|
memory_limit = 2048M
|
||
|
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||
|
display_errors = Off
|
||
|
display_startup_errors = Off
|
||
|
log_errors = On
|
||
|
log_errors_max_len = 1024
|
||
|
ignore_repeated_errors = Off
|
||
|
ignore_repeated_source = Off
|
||
|
report_memleaks = On
|
||
|
;;;;;;;;;;;;;;;;;
|
||
|
; Data Handling ;
|
||
|
;;;;;;;;;;;;;;;;;
|
||
|
|
||
|
variables_order = "GPCS"
|
||
|
request_order = "GP"
|
||
|
register_argc_argv = Off
|
||
|
auto_globals_jit = On
|
||
|
post_max_size = 8M
|
||
|
auto_prepend_file =
|
||
|
auto_append_file =
|
||
|
default_mimetype = "text/html"
|
||
|
default_charset = "UTF-8"
|
||
|
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
; Paths and Directories ;
|
||
|
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
; UNIX: "/path1:/path2"
|
||
|
include_path = ".:/pear/lib:/var/www/pear/lib"
|
||
|
doc_root =
|
||
|
user_dir =
|
||
|
extension_dir = "/usr/local/lib/php-8.0/modules"
|
||
|
enable_dl = Off
|
||
|
|
||
|
;;;;;;;;;;;;;;;;
|
||
|
; File Uploads ;
|
||
|
;;;;;;;;;;;;;;;;
|
||
|
file_uploads = On
|
||
|
upload_max_filesize = 2048M
|
||
|
max_file_uploads = 20
|
||
|
|
||
|
;;;;;;;;;;;;;;;;;;
|
||
|
; Fopen wrappers ;
|
||
|
;;;;;;;;;;;;;;;;;;
|
||
|
allow_url_fopen = Off
|
||
|
allow_url_include = Off
|
||
|
default_socket_timeout = 60
|
||
|
|
||
|
;;;;;;;;;;;;;;;;;;;
|
||
|
; Module Settings ;
|
||
|
;;;;;;;;;;;;;;;;;;;
|
||
|
|
||
|
[CLI Server]
|
||
|
; Whether the CLI web server uses ANSI color coding in its terminal output.
|
||
|
cli_server.color = On
|
||
|
|
||
|
[Date]
|
||
|
; Defines the default timezone used by the date functions
|
||
|
; http://php.net/date.timezone
|
||
|
date.timezone = UTC
|
||
|
|
||
|
[mail function]
|
||
|
SMTP = localhost
|
||
|
; http://php.net/smtp-port
|
||
|
smtp_port = 25
|
||
|
mail.add_x_header = Off
|
||
|
|
||
|
[ODBC]
|
||
|
odbc.allow_persistent = On
|
||
|
odbc.check_persistent = On
|
||
|
odbc.max_persistent = -1
|
||
|
odbc.max_links = -1
|
||
|
odbc.defaultlrl = 4096
|
||
|
odbc.defaultbinmode = 1
|
||
|
|
||
|
[PostgreSQL]
|
||
|
; Allow or prevent persistent links.
|
||
|
; http://php.net/pgsql.allow-persistent
|
||
|
pgsql.allow_persistent = On
|
||
|
|
||
|
; Detect broken persistent links always with pg_pconnect().
|
||
|
; Auto reset feature requires a little overheads.
|
||
|
; http://php.net/pgsql.auto-reset-persistent
|
||
|
pgsql.auto_reset_persistent = Off
|
||
|
|
||
|
; Maximum number of persistent links. -1 means no limit.
|
||
|
; http://php.net/pgsql.max-persistent
|
||
|
pgsql.max_persistent = -1
|
||
|
|
||
|
; Maximum number of links (persistent+non persistent). -1 means no limit.
|
||
|
; http://php.net/pgsql.max-links
|
||
|
pgsql.max_links = -1
|
||
|
|
||
|
; Ignore PostgreSQL backends Notice message or not.
|
||
|
; Notice message logging require a little overheads.
|
||
|
; http://php.net/pgsql.ignore-notice
|
||
|
pgsql.ignore_notice = 0
|
||
|
|
||
|
; Log PostgreSQL backends Notice message or not.
|
||
|
; Unless pgsql.ignore_notice=0, module cannot log notice message.
|
||
|
; http://php.net/pgsql.log-notice
|
||
|
pgsql.log_notice = 0
|
||
|
|
||
|
[bcmath]
|
||
|
; Number of decimal digits for all bcmath functions.
|
||
|
; http://php.net/bcmath.scale
|
||
|
bcmath.scale = 0
|
||
|
|
||
|
[Session]
|
||
|
; Handler used to store/retrieve data.
|
||
|
; http://php.net/session.save-handler
|
||
|
session.save_handler = files
|
||
|
session.use_cookies = 1
|
||
|
session.use_only_cookies = 1
|
||
|
session.name = PHPSESSID
|
||
|
session.auto_start = 0
|
||
|
session.cookie_lifetime = 0
|
||
|
session.cookie_path = /
|
||
|
session.cookie_domain =
|
||
|
session.cookie_httponly =
|
||
|
session.cookie_samesite =
|
||
|
session.serialize_handler = php
|
||
|
session.gc_probability = 1
|
||
|
session.gc_divisor = 1000
|
||
|
session.gc_maxlifetime = 1440
|
||
|
session.referer_check =
|
||
|
session.cache_limiter = nocache
|
||
|
session.cache_expire = 180
|
||
|
session.use_trans_sid = 0
|
||
|
session.sid_length = 26
|
||
|
session.trans_sid_tags = "a=href,area=href,frame=src,form="
|
||
|
session.sid_bits_per_character = 5
|
||
|
|
||
|
[Assertion]
|
||
|
zend.assertions = -1
|
||
|
|
||
|
[Tidy]
|
||
|
tidy.clean_output = Off
|
||
|
|
||
|
[soap]
|
||
|
soap.wsdl_cache_enabled=1
|
||
|
soap.wsdl_cache_dir="/tmp"
|
||
|
soap.wsdl_cache_ttl=86400
|
||
|
soap.wsdl_cache_limit = 5
|
||
|
|
||
|
[ldap]
|
||
|
; Sets the maximum number of open links or -1 for unlimited.
|
||
|
ldap.max_links = -1
|
||
|
|
||
|
[opcache]
|
||
|
; Determines if Zend OPCache is enabled
|
||
|
opcache.enable=1
|
||
|
opcache.enable_cli=1
|
||
|
opcache.interned_strings_buffer=8
|
||
|
opcache.max_accelerated_files=10000
|
||
|
opcache.memory_consumption=128
|
||
|
opcache.save_comments=1
|
||
|
opcache.revalidate_freq=1
|
||
|
|
||
|
|