1515; 5. The web server's directory (for SAPI modules), or directory of PHP
1616; (otherwise in Windows)
1717; 6. The directory from the --with-config-file-path compile time option, or the
18- ; Windows directory (usually C:\windows)
18+ ; Windows directory (C:\windows or C:\winnt )
1919; See the PHP docs for more specific information.
2020; http://php.net/configuration.file
2121
5858; An empty string can be denoted by simply not writing anything after the equal
5959; sign, or by using the None keyword:
6060
61- ; foo = ; sets foo to an empty string
62- ; foo = None ; sets foo to an empty string
63- ; foo = "None" ; sets foo to the string 'None'
61+ ; foo = ; sets foo to an empty string
62+ ; foo = None ; sets foo to an empty string
63+ ; foo = "None" ; sets foo to the string 'None'
6464
6565; If you use constants in your value, and these constants belong to a
6666; dynamically loaded extension (either a PHP extension or a Zend extension),
8383; development version only in development environments, as errors shown to
8484; application users can inadvertently leak otherwise secure information.
8585
86- ; This is the php.ini-production INI file.
86+ ; This is php.ini-production INI file.
8787
8888; ;;;;;;;;;;;;;;;;;;
8989; Quick Reference ;
169169; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
170170; user_ini.filename = ".user.ini"
171171
172- ; To disable this feature set this option to an empty value
172+ ; To disable this feature set this option to empty value
173173; user_ini.filename =
174174
175175; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
@@ -248,7 +248,7 @@ output_buffering = 4096
248248; Production Value: "form="
249249; url_rewriter.tags
250250
251- ; URL rewriter will not rewrite absolute URL nor form by default. To enable
251+ ; URL rewriter will not rewrites absolute URL nor form by default. To enable
252252; absolute URL rewrite, allowed hosts must be defined at RUNTIME.
253253; Refer to session.trans_sid_hosts for more details.
254254; Default Value: ""
@@ -380,7 +380,7 @@ expose_php = Off
380380; Maximum execution time of each script, in seconds
381381; http://php.net/max-execution-time
382382; Note: This directive is hardcoded to 0 for the CLI SAPI
383- max_execution_time = 30
383+ max_execution_time = 60
384384
385385; Maximum amount of time each script may spend parsing request data. It's a good
386386; idea to limit this time on productions servers in order to eliminate unexpectedly
@@ -514,7 +514,7 @@ ignore_repeated_errors = Off
514514ignore_repeated_source = Off
515515
516516; If this parameter is set to Off, then memory leaks will not be shown (on
517- ; stdout or in the log). This is only effective in a debug compile, and if
517+ ; stdout or in the log). This has only effect in a debug compile, and if
518518; error reporting includes E_WARNING in the allowed list
519519; http://php.net/report-memleaks
520520report_memleaks = On
@@ -593,16 +593,6 @@ syslog.ident = hestia-php
593593; the message. Only used when error_log is set to syslog.
594594; syslog.facility = user
595595
596- ; Set this to disable filtering control characters (the default).
597- ; Some loggers only accept NVT-ASCII, others accept anything that's not
598- ; control characters. If your logger accepts everything, then no filtering
599- ; is needed at all.
600- ; Allowed values are:
601- ; ascii (only base ASCII characters)
602- ; no_ctrl (all characters except control characters)
603- ; all (all characters)
604- ; syslog.filter = ascii
605-
606596; windows.show_crt_warning
607597; Default value: 0
608598; Development value: 0
@@ -670,7 +660,7 @@ register_argc_argv = Off
670660; first used (Just In Time) instead of when the script starts. If these
671661; variables are not used within a script, having this directive on will result
672662; in a performance gain. The PHP directive register_argc_argv must be disabled
673- ; for this directive to have any effect .
663+ ; for this directive to have any affect .
674664; http://php.net/auto-globals-jit
675665auto_globals_jit = On
676666
@@ -729,7 +719,7 @@ default_charset = "UTF-8"
729719; ;;;;;;;;;;;;;;;;;;;;;;;;
730720
731721; UNIX: "/path1:/path2"
732- ; include_path = ".:/php/includes "
722+ ; include_path = ".:/usr/share/php "
733723;
734724; Windows: "\path1;\path2"
735725; include_path = ".;c:\php\includes"
@@ -752,13 +742,13 @@ user_dir =
752742
753743; Directory in which the loadable extensions (modules) reside.
754744; http://php.net/extension-dir
755- ; extension_dir = "./"
745+ ; extension_dir = "./"
756746; On windows:
757- ; extension_dir = "ext"
747+ ; extension_dir = "ext"
758748
759749; Directory where the temporary files should be placed.
760750; Defaults to the system default (see sys_get_temp_dir)
761- ; sys_temp_dir = "/tmp"
751+ ; sys_temp_dir = "/tmp"
762752
763753; Whether or not to enable the dl() function. The dl() function does NOT work
764754; properly in multithreaded servers, such as IIS or Zeus, and is automatically
@@ -795,9 +785,10 @@ enable_dl = Off
795785
796786; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
797787; of the web tree and people will not be able to circumvent .htaccess security.
788+ ; http://php.net/cgi.dicard-path
798789; cgi.discard_path=1
799790
800- ; FastCGI under IIS supports the ability to impersonate
791+ ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
801792; security tokens of the calling client. This allows IIS to define the
802793; security context that the request runs under. mod_fastcgi under Apache
803794; does not currently support this feature (03/17/2002)
@@ -937,7 +928,6 @@ default_socket_timeout = 60
937928
938929; extension=soap
939930; extension=sockets
940- ; extension=sodium
941931; extension=sqlite3
942932; extension=tidy
943933; extension=xmlrpc
@@ -978,7 +968,7 @@ cli_server.color = On
978968[iconv]
979969; Use of this INI entry is deprecated, use global input_encoding instead.
980970; If empty, default_charset or input_encoding or iconv.input_encoding is used.
981- ; The precedence is: default_charset < input_encoding < iconv.input_encoding
971+ ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
982972; iconv.input_encoding =
983973
984974; Use of this INI entry is deprecated, use global internal_encoding instead.
@@ -1005,19 +995,19 @@ cli_server.color = On
1005995; sqlite3.extension_dir =
1006996
1007997[Pcre]
1008- ; PCRE library backtracking limit.
998+ ; PCRE library backtracking limit.
1009999; http://php.net/pcre.backtrack-limit
10101000; pcre.backtrack_limit=100000
10111001
1012- ; PCRE library recursion limit.
1013- ; Please note that if you set this value to a high number you may consume all
1014- ; the available process stack and eventually crash PHP (due to reaching the
1015- ; stack size limit imposed by the Operating System).
1002+ ; PCRE library recursion limit.
1003+ ; Please note that if you set this value to a high number you may consume all
1004+ ; the available process stack and eventually crash PHP (due to reaching the
1005+ ; stack size limit imposed by the Operating System).
10161006; http://php.net/pcre.recursion-limit
10171007; pcre.recursion_limit=100000
10181008
1019- ; Enables or disables JIT compilation of patterns. This requires the PCRE
1020- ; library to be compiled with JIT support.
1009+ ; Enables or disables JIT compilation of patterns. This requires the PCRE
1010+ ; library to be compiled with JIT support.
10211011; pcre.jit=1
10221012
10231013[Pdo]
@@ -1028,8 +1018,13 @@ cli_server.color = On
10281018; pdo_odbc.db2_instance_name
10291019
10301020[Pdo_mysql]
1021+ ; If mysqlnd is used: Number of cache slots for the internal result set cache
1022+ ; http://php.net/pdo_mysql.cache_size
1023+ pdo_mysql.cache_size = 2000
1024+
10311025; Default socket name for local MySQL connects. If empty, uses the built-in
10321026; MySQL defaults.
1027+ ; http://php.net/pdo_mysql.default-socket
10331028pdo_mysql.default_socket =
10341029
10351030[Phar]
@@ -1054,7 +1049,7 @@ smtp_port = 25
10541049
10551050; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
10561051; http://php.net/sendmail-path
1057- sendmail_path = /usr/sbin/sendmail -t -i
1052+ sendmail_path = /usr/sbin/sendmail -t -i
10581053
10591054; Force the addition of the specified parameters to be passed as extra parameters
10601055; to the sendmail binary. These parameters will always replace the value of
@@ -1111,6 +1106,8 @@ odbc.defaultlrl = 4096
11111106; http://php.net/odbc.defaultbinmode
11121107odbc.defaultbinmode = 1
11131108
1109+ ; birdstep.max_links = -1
1110+
11141111[Interbase]
11151112; Allow or prevent persistent links.
11161113ibase.allow_persistent = 1
@@ -1160,6 +1157,10 @@ mysqli.allow_persistent = On
11601157; http://php.net/mysqli.max-links
11611158mysqli.max_links = -1
11621159
1160+ ; If mysqlnd is used: Number of cache slots for the internal result set cache
1161+ ; http://php.net/mysqli.cache_size
1162+ mysqli.cache_size = 2000
1163+
11631164; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
11641165; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
11651166; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
@@ -1194,10 +1195,12 @@ mysqli.reconnect = Off
11941195[mysqlnd]
11951196; Enable / Disable collection of general statistics by mysqlnd which can be
11961197; used to tune and monitor MySQL operations.
1198+ ; http://php.net/mysqlnd.collect_statistics
11971199mysqlnd.collect_statistics = On
11981200
11991201; Enable / Disable collection of memory usage statistics by mysqlnd which can be
12001202; used to tune and monitor MySQL operations.
1203+ ; http://php.net/mysqlnd.collect_memory_statistics
12011204mysqlnd.collect_memory_statistics = Off
12021205
12031206; Records communication from all extensions using mysqlnd to the specified log
@@ -1206,23 +1209,29 @@ mysqlnd.collect_memory_statistics = Off
12061209; mysqlnd.debug =
12071210
12081211; Defines which queries will be logged.
1212+ ; http://php.net/mysqlnd.log_mask
12091213; mysqlnd.log_mask = 0
12101214
12111215; Default size of the mysqlnd memory pool, which is used by result sets.
1216+ ; http://php.net/mysqlnd.mempool_default_size
12121217; mysqlnd.mempool_default_size = 16000
12131218
12141219; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
1220+ ; http://php.net/mysqlnd.net_cmd_buffer_size
12151221; mysqlnd.net_cmd_buffer_size = 2048
12161222
12171223; Size of a pre-allocated buffer used for reading data sent by the server in
12181224; bytes.
1225+ ; http://php.net/mysqlnd.net_read_buffer_size
12191226; mysqlnd.net_read_buffer_size = 32768
12201227
12211228; Timeout for network requests in seconds.
1229+ ; http://php.net/mysqlnd.net_read_timeout
12221230; mysqlnd.net_read_timeout = 31536000
12231231
12241232; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
12251233; key.
1234+ ; http://php.net/mysqlnd.sha256_server_public_key
12261235; mysqlnd.sha256_server_public_key =
12271236
12281237[OCI8]
@@ -1350,11 +1359,10 @@ session.save_handler = files
13501359; session.save_path = "/tmp"
13511360
13521361; Whether to use strict session mode.
1353- ; Strict session mode does not accept an uninitialized session ID, and
1354- ; regenerates the session ID if the browser sends an uninitialized session ID.
1355- ; Strict mode protects applications from session fixation via a session adoption
1356- ; vulnerability. It is disabled by default for maximum compatibility, but
1357- ; enabling it is encouraged.
1362+ ; Strict session mode does not accept uninitialized session ID and regenerate
1363+ ; session ID if browser sends uninitialized session ID. Strict mode protects
1364+ ; applications from session fixation via session adoption vulnerability. It is
1365+ ; disabled by default for maximum compatibility, but enabling it is encouraged.
13581366; https://wiki.php.net/rfc/strict_sessions
13591367session.use_strict_mode = 0
13601368
@@ -1392,17 +1400,11 @@ session.cookie_path = /
13921400; http://php.net/session.cookie-domain
13931401session.cookie_domain =
13941402
1395- ; Whether or not to add the httpOnly flag to the cookie, which makes it
1396- ; inaccessible to browser scripting languages such as JavaScript.
1403+ ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
13971404; http://php.net/session.cookie-httponly
13981405session.cookie_httponly =
13991406
1400- ; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF)
1401- ; Current valid values are "Lax" or "Strict"
1402- ; https://tools.ietf.org/html/draft-west-first-party-cookies-07
1403- session.cookie_samesite =
1404-
1405- ; Handler used to serialize data. php is the standard serializer of PHP.
1407+ ; Handler used to serialize data. php is the standard serializer of PHP.
14061408; http://php.net/session.serialize-handler
14071409session.serialize_handler = php
14081410
@@ -1411,20 +1413,20 @@ session.serialize_handler = php
14111413; gc_probability/gc_divisor. Where session.gc_probability is the numerator
14121414; and gc_divisor is the denominator in the equation. Setting this value to 1
14131415; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1414- ; the gc will run on any given request.
1416+ ; the gc will run on any give request.
14151417; Default Value: 1
14161418; Development Value: 1
14171419; Production Value: 1
14181420; http://php.net/session.gc-probability
1419- session.gc_probability = 1
1421+ session.gc_probability = 0
14201422
14211423; Defines the probability that the 'garbage collection' process is started on every
14221424; session initialization. The probability is calculated by using the following equation:
14231425; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
1424- ; session.gc_divisor is the denominator in the equation. Setting this value to 100
1425- ; when the session.gc_probability value is 1 will give you approximately a 1% chance
1426- ; the gc will run on any given request. Increasing this value to 1000 will give you
1427- ; a 0.1% chance the gc will run on any given request. For high volume production servers,
1426+ ; session.gc_divisor is the denominator in the equation. Setting this value to 1
1427+ ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1428+ ; the gc will run on any give request. Increasing this value to 1000 will give you
1429+ ; a 0.1% chance the gc will run on any give request. For high volume production servers,
14281430; this is a more efficient approach.
14291431; Default Value: 100
14301432; Development Value: 1000
@@ -1494,7 +1496,7 @@ session.sid_length = 26
14941496session.trans_sid_tags = " a=href,area=href,frame=src,form="
14951497
14961498; URL rewriter does not rewrite absolute URLs by default.
1497- ; To enable rewrites for absolute paths , target hosts must be specified
1499+ ; To enable rewrites for absolute pathes , target hosts must be specified
14981500; at RUNTIME. i.e. use ini_set()
14991501; <form> tags is special. PHP will check action attribute's URL regardless
15001502; of session.trans_sid_tags setting.
@@ -1583,7 +1585,7 @@ zend.assertions = -1
15831585; http://php.net/assert.active
15841586; assert.active = On
15851587
1586- ; Throw an AssertionError on failed assertions
1588+ ; Throw an AssertationException on failed assertions
15871589; http://php.net/assert.exception
15881590; assert.exception = On
15891591
@@ -1613,7 +1615,7 @@ zend.assertions = -1
16131615; http://php.net/com.allow-dcom
16141616; com.allow_dcom = true
16151617
1616- ; autoregister constants of a component's typlib on com_load()
1618+ ; autoregister constants of a components typlib on com_load()
16171619; http://php.net/com.autoregister-typelib
16181620; com.autoregister_typelib = true
16191621
@@ -1644,9 +1646,9 @@ zend.assertions = -1
16441646
16451647; Use of this INI entry is deprecated, use global input_encoding instead.
16461648; http input encoding.
1647- ; mbstring.encoding_translation = On is needed to use this setting.
1649+ ; mbstring.encoding_traslation = On is needed to use this setting.
16481650; If empty, default_charset or input_encoding or mbstring.input is used.
1649- ; The precedence is: default_charset < input_encoding < mbsting.http_input
1651+ ; The precedence is: default_charset < intput_encoding < mbsting.http_input
16501652; http://php.net/mbstring.http-input
16511653; mbstring.http_input =
16521654
@@ -1815,8 +1817,9 @@ ldap.max_links = -1
18151817
18161818; A bitmask, where each bit enables or disables the appropriate OPcache
18171819; passes
1818- ; opcache.optimization_level=0x7FFFBFFF
1820+ ; opcache.optimization_level=0xffffffff
18191821
1822+ ; opcache.inherited_hack=1
18201823; opcache.dups_fix=0
18211824
18221825; The location of the OPcache blacklist file (wildcards allowed).
@@ -1920,4 +1923,4 @@ ldap.max_links = -1
19201923
19211924; Local Variables:
19221925; tab-width: 4
1923- ; End:
1926+ ; End:
0 commit comments