Page MenuHomePhabricator

php7.2 ini vs php 5.5 (wmf version)

Authored By
Paladox
Mar 22 2018, 11:31 PM
Size
29 KB
Referenced Files
None
Subscribers
None

php7.2 ini vs php 5.5 (wmf version)

81,83c81,83
< ; php.ini-development is very similar to its production variant, except it is
< ; much more verbose when it comes to errors. We recommend using the
< ; development version only in development environments, as errors shown to
---
> ; php.ini-development is very similar to its production variant, except it's
> ; much more verbose when it comes to errors. We recommending using the
> ; development version only in development environments as errors shown to
140a141,150
> ; session.bug_compat_42
> ; Default Value: On
> ; Development Value: On
> ; Production Value: Off
>
> ; session.bug_compat_warn
> ; Default Value: On
> ; Development Value: On
> ; Production Value: Off
>
146c156
< ; session.sid_bits_per_character
---
> ; session.hash_bits_per_character
160a171,175
> ; url_rewriter.tags
> ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
> ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
> ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
>
198a214,217
> ; Allow ASP-style <% %> tags.
> ; http://php.net/asp-tags
> asp_tags = Off
>
242,258d260
< ; URL rewriter function rewrites URL on the fly by using
< ; output buffer. You can set target tags by this configuration.
< ; "form" tag is special tag. It will add hidden input tag to pass values.
< ; Refer to session.trans_sid_tags for usage.
< ; Default Value: "form="
< ; Development Value: "form="
< ; Production Value: "form="
< ;url_rewriter.tags
<
< ; URL rewriter will not rewrites absolute URL nor form by default. To enable
< ; absolute URL rewrite, allowed hosts must be defined at RUNTIME.
< ; Refer to session.trans_sid_hosts for more details.
< ; Default Value: ""
< ; Development Value: ""
< ; Production Value: ""
< ;url_rewriter.hosts
<
297c299
< ; When floats & doubles are serialized, store serialize_precision significant
---
> ; When floats & doubles are serialized store serialize_precision significant
300,303c302
< ; The value is also used for json_encode when encoding double values.
< ; If -1 is used, then dtoa mode 0 is used which automatically select the best
< ; precision.
< serialize_precision = -1
---
> serialize_precision = 17
307c306,307
< ; or per-virtualhost web server configuration file.
---
> ; or per-virtualhost web server configuration file. This directive is
> ; *NOT* affected by whether Safe Mode is turned On or Off.
312c312,313
< ; It receives a comma-delimited list of function names.
---
> ; It receives a comma-delimited list of function names. This directive is
> ; *NOT* affected by whether Safe Mode is turned On or Off.
314c315
< disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
---
> disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
317c318,319
< ; It receives a comma-delimited list of class names.
---
> ; It receives a comma-delimited list of class names. This directive is
> ; *NOT* affected by whether Safe Mode is turned On or Off.
341c343
< ;realpath_cache_size = 4096k
---
> ;realpath_cache_size = 16k
374c376
< expose_php = Off
---
> expose_php = On
383c385
< max_execution_time = 30
---
> max_execution_time = 10
434c436
< ; relying on the fact it is automatically initialized to an
---
> ; relying on the fact it's automatically initialized to an
467,468c469,470
< ; For production environments, we recommend logging errors rather than
< ; sending them to STDOUT.
---
> ; It's recommended that errors be logged on production servers rather than
> ; having the errors sent to STDOUT.
482,483c484,485
< ; debugging configuration problems. We strongly recommend you
< ; set this to 'off' for production servers.
---
> ; debugging configuration problems. But, it's strongly recommended that you
> ; leave this setting off on production servers.
528d529
< ; This directive is DEPRECATED.
530c531
< ; Development Value: Off
---
> ; Development Value: On
533c534
< ;track_errors = Off
---
> track_errors = Off
585c586
< ; Log errors to syslog (Event Log on Windows).
---
> ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
623,629c624,630
< ; This directive determines which super global data (G,P & C) should be
< ; registered into the super global array REQUEST. If so, it also determines
< ; the order in which that data is registered. The values for this directive
< ; are specified in the same manner as the variables_order directive,
< ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
< ; in the variables_order directive. It does not mean it will leave the super
< ; globals array REQUEST empty.
---
> ; This directive determines which super global data (G,P,C,E & S) should
> ; be registered into the super global array REQUEST. If so, it also determines
> ; the order in which that data is registered. The values for this directive are
> ; specified in the same manner as the variables_order directive, EXCEPT one.
> ; Leaving this value empty will cause PHP to use the value set in the
> ; variables_order directive. It does not mean it will leave the super globals
> ; array REQUEST empty.
672c673
< post_max_size = 8M
---
> post_max_size = 10M
682,683c683,685
< ; By default, PHP will output a media type using the Content-Type header. To
< ; disable this, simply set it to be empty.
---
> ; By default, PHP will output a character encoding using
> ; the Content-type: header. To disable sending of the charset, simply
> ; set it to be empty.
685c687
< ; PHP's built-in default media type is set to text/html.
---
> ; PHP's built-in default is text/html
689c691
< ; PHP's default character set is set to UTF-8.
---
> ; PHP's default character set is set to empty.
691c693
< default_charset = "UTF-8"
---
> ;default_charset = "UTF-8"
693,707c695,699
< ; PHP internal character encoding is set to empty.
< ; If empty, default_charset is used.
< ; http://php.net/internal-encoding
< ;internal_encoding =
<
< ; PHP input character encoding is set to empty.
< ; If empty, default_charset is used.
< ; http://php.net/input-encoding
< ;input_encoding =
<
< ; PHP output character encoding is set to empty.
< ; If empty, default_charset is used.
< ; See also output_buffer.
< ; http://php.net/output-encoding
< ;output_encoding =
---
> ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
> ; to disable this feature. If post reading is disabled through
> ; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
> ; http://php.net/always-populate-raw-post-data
> always_populate_raw_post_data = -1
778,782d769
< ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
< ; of the web tree and people will not be able to circumvent .htaccess security.
< ; http://php.net/cgi.dicard-path
< ;cgi.discard_path=1
<
796,797c783,784
< ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
< ; is supported by Apache. When this option is set to 1, PHP will send
---
> ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
> ; is supported by Apache. When this option is set to 1 PHP will send
803,809d789
< ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
< ; (shebang) at the top of the running script. This line might be needed if the
< ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
< ; mode skips this line and ignores its content if this directive is turned on.
< ; http://php.net/cgi.check-shebang-line
< ;cgi.check_shebang_line=1
<
825c805
< upload_max_filesize = 2M
---
> upload_max_filesize = 10M
870c850,862
< ; extension=modulename
---
> ; extension=modulename.extension
> ;
> ; For example, on Windows:
> ;
> ; extension=msql.dll
> ;
> ; ... or under UNIX:
> ;
> ; extension=msql.so
> ;
> ; ... or with a path:
> ;
> ; extension=/path/to/extension/msql.so
872c864,865
< ; For example:
---
> ; If you only provide the name of the extension, PHP will look for it in its
> ; default extension directory.
874,926d866
< ; 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:
< ;
< ; extension=/path/to/extension/mysqli.so
< ;
< ; Note : The syntax used in previous PHP versions ('extension=<ext>.so' and
< ; 'extension='php_<ext>.dll') is supported for legacy reasons and may be
< ; deprecated in a future PHP major version. So, when it is possible, please
< ; move to the new ('extension=<ext>) syntax.
< ;
< ; Notes for Windows environments :
< ;
< ; - ODBC support is built in, so no dll is needed for it.
< ; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+)
< ; extension folders as well as the separate PECL DLL download (PHP 5+).
< ; Be sure to appropriately set the extension_dir directive.
< ;
< ;extension=bz2
< ;extension=curl
< ;extension=fileinfo
< ;extension=gd2
< ;extension=gettext
< ;extension=gmp
< ;extension=intl
< ;extension=imap
< ;extension=interbase
< ;extension=ldap
< ;extension=mbstring
< ;extension=exif ; Must be after mbstring as it depends on it
< ;extension=mysqli
< ;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
< ;extension=openssl
< ;extension=pdo_firebird
< ;extension=pdo_mysql
< ;extension=pdo_oci
< ;extension=pdo_odbc
< ;extension=pdo_pgsql
< ;extension=pdo_sqlite
< ;extension=pgsql
< ;extension=shmop
<
< ; The MIBS data available in the PHP distribution must be installed.
< ; See http://www.php.net/manual/en/snmp.installation.php
< ;extension=snmp
<
< ;extension=soap
< ;extension=sockets
< ;extension=sqlite3
< ;extension=tidy
< ;extension=xmlrpc
< ;extension=xsl
939c879
< ;date.timezone =
---
> date.timezone = <%= @timezone %>
961,976c901,903
< ; Use of this INI entry is deprecated, use global input_encoding instead.
< ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
< ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
< ;iconv.input_encoding =
<
< ; Use of this INI entry is deprecated, use global internal_encoding instead.
< ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
< ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
< ;iconv.internal_encoding =
<
< ; Use of this INI entry is deprecated, use global output_encoding instead.
< ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
< ; The precedence is: default_charset < output_encoding < iconv.output_encoding
< ; To use an output encoding conversion, iconv's output handler must be set
< ; otherwise output encoding conversion cannot be performed.
< ;iconv.output_encoding =
---
> ;iconv.input_encoding = ISO-8859-1
> ;iconv.internal_encoding = ISO-8859-1
> ;iconv.output_encoding = ISO-8859-1
984c911,914
< ;intl.use_exceptions = 0
---
>
> [sqlite]
> ; http://php.net/sqlite.assoc-case
> ;sqlite.assoc_case = 0
1001,1004d930
< ;Enables or disables JIT compilation of patterns. This requires the PCRE
< ;library to be compiled with JIT support.
< ;pcre.jit=1
<
1048c974
< ; the 5th parameter to mail().
---
> ; the 5th parameter to mail(), even in safe mode.
1057c983
< ; Log mail to syslog (Event Log on Windows).
---
> ; Log mail to syslog (Event Log on NT, not valid in Windows 95).
1059a986,989
> [SQL]
> ; http://php.net/sql.safe-mode
> sql.safe_mode = Off
>
1133a1064,1121
> [MySQL]
> ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
> ; http://php.net/mysql.allow_local_infile
> mysql.allow_local_infile = On
>
> ; Allow or prevent persistent links.
> ; http://php.net/mysql.allow-persistent
> mysql.allow_persistent = On
>
> ; If mysqlnd is used: Number of cache slots for the internal result set cache
> ; http://php.net/mysql.cache_size
> mysql.cache_size = 2000
>
> ; Maximum number of persistent links. -1 means no limit.
> ; http://php.net/mysql.max-persistent
> mysql.max_persistent = -1
>
> ; Maximum number of links (persistent + non-persistent). -1 means no limit.
> ; http://php.net/mysql.max-links
> mysql.max_links = -1
>
> ; Default port number for mysql_connect(). If unset, mysql_connect() will use
> ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
> ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
> ; at MYSQL_PORT.
> ; http://php.net/mysql.default-port
> mysql.default_port =
>
> ; Default socket name for local MySQL connects. If empty, uses the built-in
> ; MySQL defaults.
> ; http://php.net/mysql.default-socket
> mysql.default_socket =
>
> ; Default host for mysql_connect() (doesn't apply in safe mode).
> ; http://php.net/mysql.default-host
> mysql.default_host =
>
> ; Default user for mysql_connect() (doesn't apply in safe mode).
> ; http://php.net/mysql.default-user
> mysql.default_user =
>
> ; Default password for mysql_connect() (doesn't apply in safe mode).
> ; Note that this is generally a *bad* idea to store passwords in this file.
> ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
> ; and reveal this password! And of course, any users with read access to this
> ; file will be able to reveal the password as well.
> ; http://php.net/mysql.default-password
> mysql.default_password =
>
> ; Maximum time (in seconds) for connect timeout. -1 means no limit
> ; http://php.net/mysql.connect-timeout
> mysql.connect_timeout = 60
>
> ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
> ; SQL-Errors will be displayed.
> ; http://php.net/mysql.trace-mode
> mysql.trace_mode = Off
>
1198,1210d1185
< ; Records communication from all extensions using mysqlnd to the specified log
< ; file.
< ; http://php.net/mysqlnd.debug
< ;mysqlnd.debug =
<
< ; Defines which queries will be logged.
< ; http://php.net/mysqlnd.log_mask
< ;mysqlnd.log_mask = 0
<
< ; Default size of the mysqlnd memory pool, which is used by result sets.
< ; http://php.net/mysqlnd.mempool_default_size
< ;mysqlnd.mempool_default_size = 16000
<
1220,1228d1194
< ; Timeout for network requests in seconds.
< ; http://php.net/mysqlnd.net_read_timeout
< ;mysqlnd.net_read_timeout = 31536000
<
< ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
< ; key.
< ; http://php.net/mysqlnd.sha256_server_public_key
< ;mysqlnd.sha256_server_public_key =
<
1309a1276,1314
> [Sybase-CT]
> ; Allow or prevent persistent links.
> ; http://php.net/sybct.allow-persistent
> sybct.allow_persistent = On
>
> ; Maximum number of persistent links. -1 means no limit.
> ; http://php.net/sybct.max-persistent
> sybct.max_persistent = -1
>
> ; Maximum number of links (persistent + non-persistent). -1 means no limit.
> ; http://php.net/sybct.max-links
> sybct.max_links = -1
>
> ; Minimum server message severity to display.
> ; http://php.net/sybct.min-server-severity
> sybct.min_server_severity = 10
>
> ; Minimum client message severity to display.
> ; http://php.net/sybct.min-client-severity
> sybct.min_client_severity = 10
>
> ; Set per-context timeout
> ; http://php.net/sybct.timeout
> ;sybct.timeout=
>
> ;sybct.packet_size
>
> ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
> ; Default: one minute
> ;sybct.login_timeout=
>
> ; The name of the host you claim to be connecting from, for display by sp_who.
> ; Default: none
> ;sybct.hostname=
>
> ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
> ; Default: 0
> ;sybct.deadlock_retry_count=
>
1334,1336c1339,1341
< ; store the session data in those directories. This is useful if
< ; your OS has problems with many files in one directory, and is
< ; a more efficient layout for servers that handle many sessions.
---
> ; store the session data in those directories. This is useful if you
> ; or your OS have problems with lots of files in one directory, and is
> ; a more efficient layout for servers that handle lots of sessions.
1351c1356
< ;session.save_path = "/var/lib/php/sessions"
---
> ;session.save_path = "/var/lib/php5"
1371c1376
< ; not the be-all and end-all of session hijacking defense, but it's a good start.
---
> ; not the end all be all of session hijacking defense, but it's a good start.
1441a1447,1471
> ; PHP 4.2 and less have an undocumented feature/bug that allows you to
> ; to initialize a session variable in the global scope.
> ; PHP 4.3 and later will warn you, if this feature is used.
> ; You can disable the feature and the warning separately. At this time,
> ; the warning is only displayed, if bug_compat_42 is enabled. This feature
> ; introduces some serious security problems if not handled correctly. It's
> ; recommended that you do not use this feature on production servers. But you
> ; should enable this on development servers and enable the warning as well. If you
> ; do not enable the feature on development servers, you won't be warned when it's
> ; used and debugging errors caused by this can be difficult to track down.
> ; Default Value: On
> ; Development Value: On
> ; Production Value: Off
> ; http://php.net/session.bug-compat-42
> session.bug_compat_42 = Off
>
> ; This setting controls whether or not you are warned by PHP when initializing a
> ; session value into the global space. session.bug_compat_42 must be enabled before
> ; these warnings can be issued by PHP. See the directive above for more information.
> ; Default Value: On
> ; Development Value: On
> ; Production Value: Off
> ; http://php.net/session.bug-compat-warn
> session.bug_compat_warn = Off
>
1447a1478,1490
> ; How many bytes to read from the file.
> ; http://php.net/session.entropy-length
> ;session.entropy_length = 32
>
> ; Specified here to create the session id.
> ; http://php.net/session.entropy-file
> ; Defaults to /dev/urandom
> ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
> ; If neither are found at compile time, the default is no entropy file.
> ; On windows, setting the entropy_length setting will activate the
> ; Windows random source (using the CryptoAPI)
> ;session.entropy_file = /dev/urandom
>
1458c1501
< ; Use of trans sid may risk your users' security.
---
> ; Use of trans sid may risk your users security.
1469,1501c1512,1520
< ; 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
< ; Default Value: 32
< ; Development Value: 26
< ; Production Value: 26
< session.sid_length = 26
<
< ; The URL rewriter will look for URLs in a defined set of HTML tags.
< ; <form> is special; if you include them here, the rewriter will
< ; add a hidden <input> field with the info which is otherwise appended
< ; to URLs. <form> tag's action attribute URL will not be modified
< ; unless it is specified.
< ; Note that all valid entries require a "=", even if no value follows.
< ; Default Value: "a=href,area=href,frame=src,form="
< ; Development Value: "a=href,area=href,frame=src,form="
< ; Production Value: "a=href,area=href,frame=src,form="
< ; http://php.net/url-rewriter.tags
< session.trans_sid_tags = "a=href,area=href,frame=src,form="
<
< ; URL rewriter does not rewrite absolute URLs by default.
< ; To enable rewrites for absolute pathes, target hosts must be specified
< ; at RUNTIME. i.e. use ini_set()
< ; <form> tags is special. PHP will check action attribute's URL regardless
< ; of session.trans_sid_tags setting.
< ; If no host is defined, HTTP_HOST will be used for allowed host.
< ; Example value: php.net,www.php.net,wiki.php.net
< ; Use "," for multiple hosts. No spaces are allowed.
< ; Default Value: ""
< ; Development Value: ""
< ; Production Value: ""
< ;session.trans_sid_hosts=""
---
> ; Select a hash function for use in generating session ids.
> ; Possible Values
> ; 0 (MD5 128 bits)
> ; 1 (SHA-1 160 bits)
> ; This option may also be set to the name of any hash function supported by
> ; the hash extension. A list of available hashes is returned by the hash_algos()
> ; function.
> ; http://php.net/session.hash-function
> session.hash_function = 0
1513c1532,1543
< session.sid_bits_per_character = 5
---
> session.hash_bits_per_character = 5
>
> ; The URL rewriter will look for URLs in a defined set of HTML tags.
> ; form/fieldset are special; if you include them here, the rewriter will
> ; add a hidden <input> field with the info which is otherwise appended
> ; to URLs. If you want XHTML conformity, remove the form entry.
> ; Note that all valid entries require a "=", even if no value follows.
> ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
> ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
> ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
> ; http://php.net/url-rewriter.tags
> url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
1560,1562c1590,1592
< ; Only write session data when session data is changed. Enabled by default.
< ; http://php.net/session.lazy-write
< ;session.lazy_write = On
---
> [MSSQL]
> ; Allow or prevent persistent links.
> mssql.allow_persistent = On
1564,1574c1594,1595
< [Assertion]
< ; Switch whether to compile assertions at all (to have no overhead at run-time)
< ; -1: Do not compile at all
< ; 0: Jump over assertion at run-time
< ; 1: Execute assertions
< ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
< ; Default Value: 1
< ; Development Value: 1
< ; Production Value: -1
< ; http://php.net/zend.assertions
< zend.assertions = -1
---
> ; Maximum number of persistent links. -1 means no limit.
> mssql.max_persistent = -1
1575a1597,1642
> ; Maximum number of links (persistent+non persistent). -1 means no limit.
> mssql.max_links = -1
>
> ; Minimum error severity to display.
> mssql.min_error_severity = 10
>
> ; Minimum message severity to display.
> mssql.min_message_severity = 10
>
> ; Compatibility mode with old versions of PHP 3.0.
> mssql.compatibility_mode = Off
>
> ; Connect timeout
> ;mssql.connect_timeout = 5
>
> ; Query timeout
> ;mssql.timeout = 60
>
> ; Valid range 0 - 2147483647. Default = 4096.
> ;mssql.textlimit = 4096
>
> ; Valid range 0 - 2147483647. Default = 4096.
> ;mssql.textsize = 4096
>
> ; Limits the number of records in each batch. 0 = all records in one batch.
> ;mssql.batchsize = 0
>
> ; Specify how datetime and datetim4 columns are returned
> ; On => Returns data converted to SQL server settings
> ; Off => Returns values as YYYY-MM-DD hh:mm:ss
> ;mssql.datetimeconvert = On
>
> ; Use NT authentication when connecting to the server
> mssql.secure_connection = Off
>
> ; Specify max number of processes. -1 = library default
> ; msdlib defaults to 25
> ; FreeTDS defaults to 4096
> ;mssql.max_procs = -1
>
> ; Specify client character set.
> ; If empty or not set the client charset from freetds.conf is used
> ; This is only used when compiled with FreeTDS
> ;mssql.charset = "ISO-8859-1"
>
> [Assertion]
1580,1584c1647
< ; Throw an AssertationException on failed assertions
< ; http://php.net/assert.exception
< ;assert.exception = On
<
< ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
---
> ; Issue a PHP warning for each failed assertion.
1628d1690
< ; This affects mb_send_mail() and mbstring.detect_order.
1632d1693
< ; Use of this INI entry is deprecated, use global internal_encoding instead.
1634,1637c1695,1698
< ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
< ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
< ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
< ;mbstring.internal_encoding =
---
> ; Some encoding cannot work as internal encoding.
> ; (e.g. SJIS, BIG5, ISO-2022-*)
> ; http://php.net/mbstring.internal-encoding
> ;mbstring.internal_encoding = UTF-8
1639d1699
< ; Use of this INI entry is deprecated, use global input_encoding instead.
1641,1643d1700
< ; mbstring.encoding_traslation = On is needed to use this setting.
< ; If empty, default_charset or input_encoding or mbstring.input is used.
< ; The precedence is: default_charset < intput_encoding < mbsting.http_input
1645c1702
< ;mbstring.http_input =
---
> ;mbstring.http_input = UTF-8
1647,1653c1704,1705
< ; Use of this INI entry is deprecated, use global output_encoding instead.
< ; http output encoding.
< ; mb_output_handler must be registered as output buffer to function.
< ; If empty, default_charset or output_encoding or mbstring.http_output is used.
< ; The precedence is: default_charset < output_encoding < mbstring.http_output
< ; To use an output encoding conversion, mbstring's output handler must be set
< ; otherwise output encoding conversion cannot be performed.
---
> ; http output encoding. mb_output_handler must be
> ; registered as output buffer to function
1655c1707
< ;mbstring.http_output =
---
> ;mbstring.http_output = pass
1666c1718
< ; "auto" detect order is changed according to mbstring.language
---
> ; auto means
1687d1738
< ; Default: Off
1700c1751
< ;gd.jpeg_ignore_warning = 1
---
> ;gd.jpeg_ignore_warning = 0
1761a1813,1823
> [mcrypt]
> ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
>
> ; Directory where to load mcrypt algorithms
> ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
> ;mcrypt.algorithms_dir=
>
> ; Directory where to load mcrypt modes
> ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
> ;mcrypt.modes_dir=
>
1767c1829
< ;opcache.enable=1
---
> ;opcache.enable=0
1773c1835
< ;opcache.memory_consumption=128
---
> opcache.memory_consumption=128
1776c1838
< ;opcache.interned_strings_buffer=8
---
> opcache.interned_strings_buffer=16
1779,1780c1841,1842
< ; Only numbers between 200 and 1000000 are allowed.
< ;opcache.max_accelerated_files=10000
---
> ; Only numbers between 200 and 100000 are allowed.
> opcache.max_accelerated_files=7963
1793c1855
< ;opcache.validate_timestamps=1
---
> opcache.validate_timestamps=<%= @opcache_validate %>
1806a1869,1876
> ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
> ; may be always stored (save_comments=1), but not loaded by applications
> ; that don't need them anyway.
> ;opcache.load_comments=1
>
> ; If enabled, a fast shutdown sequence is used for the accelerated code
> opcache.fast_shutdown=1
>
1853,1888d1922
< ; Allows calling OPcache API functions only from PHP scripts which path is
< ; started from specified string. The default "" means no restriction
< ;opcache.restrict_api=
<
< ; Mapping base of shared memory segments (for Windows only). All the PHP
< ; processes have to map shared memory into the same address space. This
< ; directive allows to manually fix the "Unable to reattach to base address"
< ; errors.
< ;opcache.mmap_base=
<
< ; Enables and sets the second level cache directory.
< ; It should improve performance when SHM memory is full, at server restart or
< ; SHM reset. The default "" disables file based caching.
< ;opcache.file_cache=
<
< ; Enables or disables opcode caching in shared memory.
< ;opcache.file_cache_only=0
<
< ; Enables or disables checksum validation when script loaded from file cache.
< ;opcache.file_cache_consistency_checks=1
<
< ; Implies opcache.file_cache_only=1 for a certain process that failed to
< ; reattach to the shared memory (for Windows only). Explicitly enabled file
< ; cache is required.
< ;opcache.file_cache_fallback=1
<
< ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
< ; This should improve performance, but requires appropriate OS configuration.
< ;opcache.huge_code_pages=1
<
< ; Validate cached file permissions.
< ;opcache.validate_permission=0
<
< ; Prevent name collisions in chroot'ed environment.
< ;opcache.validate_root=0
<
1894,1911d1927
< [openssl]
< ; The location of a Certificate Authority (CA) file on the local filesystem
< ; to use when verifying the identity of SSL/TLS peers. Most users should
< ; not specify a value for this directive as PHP will attempt to use the
< ; OS-managed cert stores in its absence. If specified, this value may still
< ; be overridden on a per-stream basis via the "cafile" SSL stream context
< ; option.
< ;openssl.cafile=
<
< ; If openssl.cafile is not specified or if the CA file is not found, the
< ; directory pointed to by openssl.capath is searched for a suitable
< ; certificate. This value must be a correctly hashed certificate directory.
< ; Most users should not specify a value for this directive as PHP will
< ; attempt to use the OS-managed cert stores in its absence. If specified,
< ; this value may still be overridden on a per-stream basis via the "capath"
< ; SSL stream context option.
< ;openssl.capath=
<
1914a1931,1934
>
> [apc]
> apc.stat = 0
>

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5658125
Default Alt Text
php7.2 ini vs php 5.5 (wmf version) (29 KB)

Event Timeline