Page MenuHomePhabricator

php7.2 ini vs php 5.5 (wmf version)

Authored By
Paladox
Mar 22 2018, 11:33 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's
< ; much more verbose when it comes to errors. We recommending using the
< ; development version only in development environments as errors shown to
---
> ; 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
141,150d140
< ; 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
<
156c146
< ; session.hash_bits_per_character
---
> ; session.sid_bits_per_character
171,175d160
< ; 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"
<
214,217d198
< ; Allow ASP-style <% %> tags.
< ; http://php.net/asp-tags
< asp_tags = Off
<
260a242,258
> ; 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
>
299c297
< ; When floats & doubles are serialized store serialize_precision significant
---
> ; When floats & doubles are serialized, store serialize_precision significant
302c300,303
< serialize_precision = 17
---
> ; 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
306,307c307
< ; or per-virtualhost web server configuration file. This directive is
< ; *NOT* affected by whether Safe Mode is turned On or Off.
---
> ; or per-virtualhost web server configuration file.
312,313c312
< ; It receives a comma-delimited list of function names. This directive is
< ; *NOT* affected by whether Safe Mode is turned On or Off.
---
> ; It receives a comma-delimited list of function names.
315c314
< 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,
---
> 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,
318,319c317
< ; It receives a comma-delimited list of class names. This directive is
< ; *NOT* affected by whether Safe Mode is turned On or Off.
---
> ; It receives a comma-delimited list of class names.
343c341
< ;realpath_cache_size = 16k
---
> ;realpath_cache_size = 4096k
376c374
< expose_php = On
---
> expose_php = Off
385c383
< max_execution_time = 10
---
> max_execution_time = 30
436c434
< ; relying on the fact it's automatically initialized to an
---
> ; relying on the fact it is automatically initialized to an
469,470c467,468
< ; It's recommended that errors be logged on production servers rather than
< ; having the errors sent to STDOUT.
---
> ; For production environments, we recommend logging errors rather than
> ; sending them to STDOUT.
484,485c482,483
< ; debugging configuration problems. But, it's strongly recommended that you
< ; leave this setting off on production servers.
---
> ; debugging configuration problems. We strongly recommend you
> ; set this to 'off' for production servers.
529a528
> ; This directive is DEPRECATED.
531c530
< ; Development Value: On
---
> ; Development Value: Off
534c533
< track_errors = Off
---
> ;track_errors = Off
586c585
< ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
---
> ; Log errors to syslog (Event Log on Windows).
624,630c623,629
< ; 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.
---
> ; 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.
673c672
< post_max_size = 10M
---
> post_max_size = 8M
683,685c682,683
< ; 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.
---
> ; By default, PHP will output a media type using the Content-Type header. To
> ; disable this, simply set it to be empty.
687c685
< ; PHP's built-in default is text/html
---
> ; PHP's built-in default media type is set to text/html.
691c689
< ; PHP's default character set is set to empty.
---
> ; PHP's default character set is set to UTF-8.
693c691
< ;default_charset = "UTF-8"
---
> default_charset = "UTF-8"
695,699c693,707
< ; 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
---
> ; 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 =
769a778,782
> ; 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
>
783,784c796,797
< ; 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
---
> ; 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
789a803,809
> ; 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
>
805c825
< upload_max_filesize = 10M
---
> upload_max_filesize = 2M
850,862c870
< ; 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
---
> ; extension=modulename
864,865c872
< ; If you only provide the name of the extension, PHP will look for it in its
< ; default extension directory.
---
> ; For example:
866a874,926
> ; 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
879c939
< date.timezone = <%= @timezone %>
---
> ;date.timezone =
901,903c961,976
< ;iconv.input_encoding = ISO-8859-1
< ;iconv.internal_encoding = ISO-8859-1
< ;iconv.output_encoding = ISO-8859-1
---
> ; 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 =
911,914c984
<
< [sqlite]
< ; http://php.net/sqlite.assoc-case
< ;sqlite.assoc_case = 0
---
> ;intl.use_exceptions = 0
930a1001,1004
> ;Enables or disables JIT compilation of patterns. This requires the PCRE
> ;library to be compiled with JIT support.
> ;pcre.jit=1
>
974c1048
< ; the 5th parameter to mail(), even in safe mode.
---
> ; the 5th parameter to mail().
983c1057
< ; Log mail to syslog (Event Log on NT, not valid in Windows 95).
---
> ; Log mail to syslog (Event Log on Windows).
986,989d1059
< [SQL]
< ; http://php.net/sql.safe-mode
< sql.safe_mode = Off
<
1064,1121d1133
< [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
<
1185a1198,1210
> ; 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
>
1194a1220,1228
> ; 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 =
>
1276,1314d1309
< [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=
<
1339,1341c1334,1336
< ; 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.
---
> ; 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.
1356c1351
< ;session.save_path = "/var/lib/php5"
---
> ;session.save_path = "/var/lib/php/sessions"
1376c1371
< ; not the end all be all of session hijacking defense, but it's a good start.
---
> ; not the be-all and end-all of session hijacking defense, but it's a good start.
1447,1471d1441
< ; 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
<
1478,1490d1447
< ; 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
<
1501c1458
< ; Use of trans sid may risk your users security.
---
> ; Use of trans sid may risk your users' security.
1512,1520c1469,1501
< ; 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
---
> ; 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=""
1532,1543c1513
< 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"
---
> session.sid_bits_per_character = 5
1590,1640c1560,1562
< [MSSQL]
< ; Allow or prevent persistent links.
< mssql.allow_persistent = On
<
< ; Maximum number of persistent links. -1 means no limit.
< mssql.max_persistent = -1
<
< ; 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"
---
> ; Only write session data when session data is changed. Enabled by default.
> ; http://php.net/session.lazy-write
> ;session.lazy_write = On
1642a1565,1575
> ; 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
>
1647c1580,1584
< ; Issue a PHP warning for each failed assertion.
---
> ; 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)
1690a1628
> ; This affects mb_send_mail() and mbstring.detect_order.
1693a1632
> ; Use of this INI entry is deprecated, use global internal_encoding instead.
1695,1698c1634,1637
< ; Some encoding cannot work as internal encoding.
< ; (e.g. SJIS, BIG5, ISO-2022-*)
< ; http://php.net/mbstring.internal-encoding
< ;mbstring.internal_encoding = UTF-8
---
> ; 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 =
1699a1639
> ; Use of this INI entry is deprecated, use global input_encoding instead.
1700a1641,1643
> ; 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
1702c1645
< ;mbstring.http_input = UTF-8
---
> ;mbstring.http_input =
1704,1705c1647,1653
< ; http output encoding. mb_output_handler must be
< ; registered as output buffer to function
---
> ; 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.
1707c1655
< ;mbstring.http_output = pass
---
> ;mbstring.http_output =
1718c1666
< ; auto means
---
> ; "auto" detect order is changed according to mbstring.language
1738a1687
> ; Default: Off
1751c1700
< ;gd.jpeg_ignore_warning = 0
---
> ;gd.jpeg_ignore_warning = 1
1813,1823d1761
< [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=
<
1829c1767
< ;opcache.enable=0
---
> ;opcache.enable=1
1835c1773
< opcache.memory_consumption=128
---
> ;opcache.memory_consumption=128
1838c1776
< opcache.interned_strings_buffer=16
---
> ;opcache.interned_strings_buffer=8
1841,1842c1779,1780
< ; Only numbers between 200 and 100000 are allowed.
< opcache.max_accelerated_files=7963
---
> ; Only numbers between 200 and 1000000 are allowed.
> ;opcache.max_accelerated_files=10000
1855c1793
< opcache.validate_timestamps=<%= @opcache_validate %>
---
> ;opcache.validate_timestamps=1
1869,1876d1806
< ; 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
<
1922a1853,1888
> ; 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
>
1927a1894,1911
> [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=
>
1931,1934d1914
<
< [apc]
< apc.stat = 0
<

File Metadata

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

Event Timeline