1 --- php-7.2.1/php.ini 2018-01-02 22:36:07.000000000 +0000
2 +++ php-7.2.1/php.ini 2018-01-07 18:48:58.353614413 +0000
4 ; much more verbose when it comes to errors. We recommend using the
5 ; development version only in development environments, as errors shown to
6 ; application users can inadvertently leak otherwise secure information.
8 +; This is the default settings file for new PHP installations on TLD Linux.
10 +; It is based mainly on php.ini-production, but with some changes made with
11 +; security in mind (http://php.net/manual/en/security.php).
13 +; Please note, that in TLD Linux file /etc/php74/php.ini contains global
14 +; settings for all SAPIs (cgi, cli, apache...), and after reading this file
15 +; SAPI-specific file is included so you don't have to duplicate whole large
16 +; file to override only few options.
18 ; This is php.ini-production INI file.
26 ; Development Value: Off
27 ; Production Value: Off
30 ;user_ini.filename = ".user.ini"
32 ; To disable this feature set this option to empty value
36 ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
37 ;user_ini.cache_ttl = 300
39 ; documents, however this remains supported for backward compatibility reasons.
40 ; Note that this directive does not control the <?= shorthand tag, which can be
41 ; used regardless of this directive.
44 ; Development Value: Off
45 ; Production Value: Off
46 ; http://php.net/short-open-tag
48 ; threat in any way, but it makes it possible to determine whether you use PHP
49 ; on your server or not.
50 ; http://php.net/expose-php
58 ; Directory in which the loadable extensions (modules) reside.
59 ; http://php.net/extension-dir
60 -; extension_dir = "./"
61 +;extension_dir = "/usr/lib/php"
63 ; extension_dir = "ext"
66 ; http://php.net/enable-dl
69 -; cgi.force_redirect is necessary to provide security running PHP as a CGI under
70 -; most web servers. Left undefined, PHP turns this on by default. You can
71 -; turn it off here AT YOUR OWN RISK
72 -; **You CAN safely turn this off for IIS, in fact, you MUST.**
73 -; http://php.net/cgi.force-redirect
74 -;cgi.force_redirect = 1
76 -; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
77 -; every request. PHP's default behavior is to disable this feature.
80 -; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
81 -; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
82 -; will look for to know it is OK to continue execution. Setting this variable MAY
83 -; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
84 -; http://php.net/cgi.redirect-status-env
85 -;cgi.redirect_status_env =
87 -; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
88 -; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
89 -; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
90 -; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
91 -; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
92 -; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
93 -; http://php.net/cgi.fix-pathinfo
96 -; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
97 -; of the web tree and people will not be able to circumvent .htaccess security.
98 -; http://php.net/cgi.dicard-path
101 -; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
102 -; security tokens of the calling client. This allows IIS to define the
103 -; security context that the request runs under. mod_fastcgi under Apache
104 -; does not currently support this feature (03/17/2002)
105 -; Set to 1 if running under IIS. Default is zero.
106 -; http://php.net/fastcgi.impersonate
107 -;fastcgi.impersonate = 1
109 -; Disable logging through FastCGI connection. PHP's default behavior is to enable
111 -;fastcgi.logging = 0
113 -; cgi.rfc2616_headers configuration option tells PHP what type of headers to
114 -; use when sending HTTP response code. If set to 0, PHP sends Status: header that
115 -; is supported by Apache. When this option is set to 1, PHP will send
116 -; RFC2616 compliant header.
118 -; http://php.net/cgi.rfc2616-headers
119 -;cgi.rfc2616_headers = 0
121 -; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
122 -; (shebang) at the top of the running script. This line might be needed if the
123 -; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
124 -; mode skips this line and ignores its content if this directive is turned on.
125 -; http://php.net/cgi.check-shebang-line
126 -;cgi.check_shebang_line=1
131 @@ -961,19 +916,19 @@
132 ; Use of this INI entry is deprecated, use global input_encoding instead.
133 ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
134 ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
135 -;iconv.input_encoding =
136 +iconv.input_encoding = UTF-8
138 ; Use of this INI entry is deprecated, use global internal_encoding instead.
139 ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
140 ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
141 -;iconv.internal_encoding =
142 +iconv.internal_encoding = UTF-8
144 ; Use of this INI entry is deprecated, use global output_encoding instead.
145 ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
146 ; The precedence is: default_charset < output_encoding < iconv.output_encoding
147 ; To use an output encoding conversion, iconv's output handler must be set
148 ; otherwise output encoding conversion cannot be performed.
149 -;iconv.output_encoding =
150 +iconv.output_encoding = UTF-8
153 ;intl.default_locale =
154 @@ -1165,6 +1120,9 @@
155 ; http://php.net/mysqli.default-socket
156 mysqli.default_socket =
158 +; The name of the character set to use as the default character set.
159 +;mysqli.connect_charset=utf8
161 ; Default host for mysql_connect() (doesn't apply in safe mode).
162 ; http://php.net/mysqli.default-host
163 mysqli.default_host =
164 @@ -1741,7 +1699,7 @@
166 ; Sets the directory name where SOAP extension will put cache files.
167 ; http://php.net/soap.wsdl-cache-dir
168 -soap.wsdl_cache_dir="/tmp"
169 +soap.wsdl_cache_dir="/var/cache/php"
171 ; (time to live) Sets the number of second while cached file will be used
172 ; instead of original one.