4 |
- |
1 |
[PHP]
|
|
|
2 |
|
|
|
3 |
;;;;;;;;;;;;;;;;;;;
|
|
|
4 |
; About php.ini ;
|
|
|
5 |
;;;;;;;;;;;;;;;;;;;
|
|
|
6 |
; PHP's initialization file, generally called php.ini, is responsible for
|
|
|
7 |
; configuring many of the aspects of PHP's behavior.
|
|
|
8 |
|
|
|
9 |
; PHP attempts to find and load this configuration from a number of locations.
|
|
|
10 |
; The following is a summary of its search order:
|
|
|
11 |
; 1. SAPI module specific location.
|
|
|
12 |
; 2. The PHPRC environment variable. (As of PHP 5.2.0)
|
|
|
13 |
; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
|
|
|
14 |
; 4. Current working directory (except CLI)
|
|
|
15 |
; 5. The web server's directory (for SAPI modules), or directory of PHP
|
|
|
16 |
; (otherwise in Windows)
|
|
|
17 |
; 6. The directory from the --with-config-file-path compile time option, or the
|
179 |
- |
18 |
; Windows directory (usually C:\windows)
|
4 |
- |
19 |
; See the PHP docs for more specific information.
|
56 |
- |
20 |
; http://php.net/configuration.file
|
4 |
- |
21 |
|
56 |
- |
22 |
; The syntax of the file is extremely simple. Whitespace and lines
|
4 |
- |
23 |
; beginning with a semicolon are silently ignored (as you probably guessed).
|
|
|
24 |
; Section headers (e.g. [Foo]) are also silently ignored, even though
|
56 |
- |
25 |
; they might mean something in the future.
|
4 |
- |
26 |
|
|
|
27 |
; Directives following the section heading [PATH=/www/mysite] only
|
|
|
28 |
; apply to PHP files in the /www/mysite directory. Directives
|
|
|
29 |
; following the section heading [HOST=www.example.com] only apply to
|
|
|
30 |
; PHP files served from www.example.com. Directives set in these
|
|
|
31 |
; special sections cannot be overridden by user-defined INI files or
|
|
|
32 |
; at runtime. Currently, [PATH=] and [HOST=] sections only work under
|
|
|
33 |
; CGI/FastCGI.
|
56 |
- |
34 |
; http://php.net/ini.sections
|
4 |
- |
35 |
|
|
|
36 |
; Directives are specified using the following syntax:
|
|
|
37 |
; directive = value
|
|
|
38 |
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
|
|
|
39 |
; Directives are variables used to configure PHP or PHP extensions.
|
|
|
40 |
; There is no name validation. If PHP can't find an expected
|
|
|
41 |
; directive because it is not set or is mistyped, a default value will be used.
|
|
|
42 |
|
|
|
43 |
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
|
|
|
44 |
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
|
|
|
45 |
; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
|
|
|
46 |
; previously set variable or directive (e.g. ${foo})
|
|
|
47 |
|
|
|
48 |
; Expressions in the INI file are limited to bitwise operators and parentheses:
|
|
|
49 |
; | bitwise OR
|
|
|
50 |
; ^ bitwise XOR
|
|
|
51 |
; & bitwise AND
|
|
|
52 |
; ~ bitwise NOT
|
|
|
53 |
; ! boolean NOT
|
|
|
54 |
|
|
|
55 |
; Boolean flags can be turned on using the values 1, On, True or Yes.
|
|
|
56 |
; They can be turned off using the values 0, Off, False or No.
|
|
|
57 |
|
|
|
58 |
; An empty string can be denoted by simply not writing anything after the equal
|
|
|
59 |
; sign, or by using the None keyword:
|
|
|
60 |
|
179 |
- |
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'
|
4 |
- |
64 |
|
|
|
65 |
; If you use constants in your value, and these constants belong to a
|
|
|
66 |
; dynamically loaded extension (either a PHP extension or a Zend extension),
|
|
|
67 |
; you may only use these constants *after* the line that loads the extension.
|
|
|
68 |
|
|
|
69 |
;;;;;;;;;;;;;;;;;;;
|
|
|
70 |
; About this file ;
|
|
|
71 |
;;;;;;;;;;;;;;;;;;;
|
|
|
72 |
; PHP comes packaged with two INI files. One that is recommended to be used
|
|
|
73 |
; in production environments and one that is recommended to be used in
|
|
|
74 |
; development environments.
|
|
|
75 |
|
|
|
76 |
; php.ini-production contains settings which hold security, performance and
|
|
|
77 |
; best practices at its core. But please be aware, these settings may break
|
|
|
78 |
; compatibility with older or less security conscience applications. We
|
|
|
79 |
; recommending using the production ini in production and testing environments.
|
|
|
80 |
|
179 |
- |
81 |
; php.ini-development is very similar to its production variant, except it is
|
|
|
82 |
; much more verbose when it comes to errors. We recommend using the
|
|
|
83 |
; development version only in development environments, as errors shown to
|
4 |
- |
84 |
; application users can inadvertently leak otherwise secure information.
|
|
|
85 |
|
179 |
- |
86 |
; This is the php.ini-production INI file.
|
|
|
87 |
|
4 |
- |
88 |
;;;;;;;;;;;;;;;;;;;
|
|
|
89 |
; Quick Reference ;
|
|
|
90 |
;;;;;;;;;;;;;;;;;;;
|
|
|
91 |
; The following are all the settings which are different in either the production
|
|
|
92 |
; or development versions of the INIs with respect to PHP's default behavior.
|
|
|
93 |
; Please see the actual settings later in the document for more details as to why
|
|
|
94 |
; we recommend these changes in PHP's behavior.
|
|
|
95 |
|
|
|
96 |
; display_errors
|
|
|
97 |
; Default Value: On
|
|
|
98 |
; Development Value: On
|
|
|
99 |
; Production Value: Off
|
|
|
100 |
|
|
|
101 |
; display_startup_errors
|
|
|
102 |
; Default Value: Off
|
|
|
103 |
; Development Value: On
|
|
|
104 |
; Production Value: Off
|
|
|
105 |
|
|
|
106 |
; error_reporting
|
56 |
- |
107 |
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
|
|
|
108 |
; Development Value: E_ALL
|
|
|
109 |
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
|
4 |
- |
110 |
|
|
|
111 |
; html_errors
|
|
|
112 |
; Default Value: On
|
|
|
113 |
; Development Value: On
|
56 |
- |
114 |
; Production value: On
|
4 |
- |
115 |
|
|
|
116 |
; log_errors
|
|
|
117 |
; Default Value: Off
|
|
|
118 |
; Development Value: On
|
|
|
119 |
; Production Value: On
|
|
|
120 |
|
|
|
121 |
; max_input_time
|
|
|
122 |
; Default Value: -1 (Unlimited)
|
|
|
123 |
; Development Value: 60 (60 seconds)
|
|
|
124 |
; Production Value: 60 (60 seconds)
|
|
|
125 |
|
|
|
126 |
; output_buffering
|
|
|
127 |
; Default Value: Off
|
|
|
128 |
; Development Value: 4096
|
|
|
129 |
; Production Value: 4096
|
|
|
130 |
|
|
|
131 |
; register_argc_argv
|
|
|
132 |
; Default Value: On
|
|
|
133 |
; Development Value: Off
|
|
|
134 |
; Production Value: Off
|
|
|
135 |
|
|
|
136 |
; request_order
|
|
|
137 |
; Default Value: None
|
|
|
138 |
; Development Value: "GP"
|
|
|
139 |
; Production Value: "GP"
|
|
|
140 |
|
|
|
141 |
; session.gc_divisor
|
|
|
142 |
; Default Value: 100
|
|
|
143 |
; Development Value: 1000
|
|
|
144 |
; Production Value: 1000
|
|
|
145 |
|
179 |
- |
146 |
; session.sid_bits_per_character
|
4 |
- |
147 |
; Default Value: 4
|
|
|
148 |
; Development Value: 5
|
|
|
149 |
; Production Value: 5
|
|
|
150 |
|
|
|
151 |
; short_open_tag
|
|
|
152 |
; Default Value: On
|
|
|
153 |
; Development Value: Off
|
|
|
154 |
; Production Value: Off
|
|
|
155 |
|
|
|
156 |
; track_errors
|
|
|
157 |
; Default Value: Off
|
|
|
158 |
; Development Value: On
|
|
|
159 |
; Production Value: Off
|
|
|
160 |
|
|
|
161 |
; variables_order
|
|
|
162 |
; Default Value: "EGPCS"
|
|
|
163 |
; Development Value: "GPCS"
|
|
|
164 |
; Production Value: "GPCS"
|
|
|
165 |
|
|
|
166 |
;;;;;;;;;;;;;;;;;;;;
|
|
|
167 |
; php.ini Options ;
|
|
|
168 |
;;;;;;;;;;;;;;;;;;;;
|
|
|
169 |
; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
|
|
|
170 |
;user_ini.filename = ".user.ini"
|
|
|
171 |
|
179 |
- |
172 |
; To disable this feature set this option to an empty value
|
4 |
- |
173 |
;user_ini.filename =
|
|
|
174 |
|
|
|
175 |
; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
|
|
|
176 |
;user_ini.cache_ttl = 300
|
|
|
177 |
|
|
|
178 |
;;;;;;;;;;;;;;;;;;;;
|
|
|
179 |
; Language Options ;
|
|
|
180 |
;;;;;;;;;;;;;;;;;;;;
|
|
|
181 |
|
|
|
182 |
; Enable the PHP scripting language engine under Apache.
|
56 |
- |
183 |
; http://php.net/engine
|
4 |
- |
184 |
engine = On
|
|
|
185 |
|
|
|
186 |
; This directive determines whether or not PHP will recognize code between
|
179 |
- |
187 |
; <? and ?> tags as PHP source which should be processed as such. It is
|
|
|
188 |
; generally recommended that <?php and ?> should be used and that this feature
|
|
|
189 |
; should be disabled, as enabling it may result in issues when generating XML
|
|
|
190 |
; documents, however this remains supported for backward compatibility reasons.
|
|
|
191 |
; Note that this directive does not control the <?= shorthand tag, which can be
|
|
|
192 |
; used regardless of this directive.
|
4 |
- |
193 |
; Default Value: On
|
|
|
194 |
; Development Value: Off
|
|
|
195 |
; Production Value: Off
|
56 |
- |
196 |
; http://php.net/short-open-tag
|
|
|
197 |
short_open_tag = Off
|
4 |
- |
198 |
|
|
|
199 |
; The number of significant digits displayed in floating point numbers.
|
56 |
- |
200 |
; http://php.net/precision
|
4 |
- |
201 |
precision = 14
|
|
|
202 |
|
|
|
203 |
; Output buffering is a mechanism for controlling how much output data
|
|
|
204 |
; (excluding headers and cookies) PHP should keep internally before pushing that
|
|
|
205 |
; data to the client. If your application's output exceeds this setting, PHP
|
|
|
206 |
; will send that data in chunks of roughly the size you specify.
|
|
|
207 |
; Turning on this setting and managing its maximum buffer size can yield some
|
|
|
208 |
; interesting side-effects depending on your application and web server.
|
|
|
209 |
; You may be able to send headers and cookies after you've already sent output
|
|
|
210 |
; through print or echo. You also may see performance benefits if your server is
|
|
|
211 |
; emitting less packets due to buffered output versus PHP streaming the output
|
|
|
212 |
; as it gets it. On production servers, 4096 bytes is a good setting for performance
|
|
|
213 |
; reasons.
|
|
|
214 |
; Note: Output buffering can also be controlled via Output Buffering Control
|
|
|
215 |
; functions.
|
|
|
216 |
; Possible Values:
|
|
|
217 |
; On = Enabled and buffer is unlimited. (Use with caution)
|
|
|
218 |
; Off = Disabled
|
|
|
219 |
; Integer = Enables the buffer and sets its maximum size in bytes.
|
56 |
- |
220 |
; Note: This directive is hardcoded to Off for the CLI SAPI
|
4 |
- |
221 |
; Default Value: Off
|
|
|
222 |
; Development Value: 4096
|
|
|
223 |
; Production Value: 4096
|
56 |
- |
224 |
; http://php.net/output-buffering
|
4 |
- |
225 |
output_buffering = 4096
|
|
|
226 |
|
|
|
227 |
; You can redirect all of the output of your scripts to a function. For
|
|
|
228 |
; example, if you set output_handler to "mb_output_handler", character
|
|
|
229 |
; encoding will be transparently converted to the specified encoding.
|
|
|
230 |
; Setting any output handler automatically turns on output buffering.
|
|
|
231 |
; Note: People who wrote portable scripts should not depend on this ini
|
|
|
232 |
; directive. Instead, explicitly set the output handler using ob_start().
|
|
|
233 |
; Using this ini directive may cause problems unless you know what script
|
|
|
234 |
; is doing.
|
|
|
235 |
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
|
|
|
236 |
; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
|
|
|
237 |
; Note: output_handler must be empty if this is set 'On' !!!!
|
|
|
238 |
; Instead you must use zlib.output_handler.
|
56 |
- |
239 |
; http://php.net/output-handler
|
4 |
- |
240 |
;output_handler =
|
|
|
241 |
|
179 |
- |
242 |
; URL rewriter function rewrites URL on the fly by using
|
|
|
243 |
; output buffer. You can set target tags by this configuration.
|
|
|
244 |
; "form" tag is special tag. It will add hidden input tag to pass values.
|
|
|
245 |
; Refer to session.trans_sid_tags for usage.
|
|
|
246 |
; Default Value: "form="
|
|
|
247 |
; Development Value: "form="
|
|
|
248 |
; Production Value: "form="
|
|
|
249 |
;url_rewriter.tags
|
|
|
250 |
|
|
|
251 |
; URL rewriter will not rewrite absolute URL nor form by default. To enable
|
|
|
252 |
; absolute URL rewrite, allowed hosts must be defined at RUNTIME.
|
|
|
253 |
; Refer to session.trans_sid_hosts for more details.
|
|
|
254 |
; Default Value: ""
|
|
|
255 |
; Development Value: ""
|
|
|
256 |
; Production Value: ""
|
|
|
257 |
;url_rewriter.hosts
|
|
|
258 |
|
4 |
- |
259 |
; Transparent output compression using the zlib library
|
|
|
260 |
; Valid values for this option are 'off', 'on', or a specific buffer size
|
|
|
261 |
; to be used for compression (default is 4KB)
|
|
|
262 |
; Note: Resulting chunk size may vary due to nature of compression. PHP
|
|
|
263 |
; outputs chunks that are few hundreds bytes each as a result of
|
|
|
264 |
; compression. If you prefer a larger chunk size for better
|
|
|
265 |
; performance, enable output_buffering in addition.
|
|
|
266 |
; Note: You need to use zlib.output_handler instead of the standard
|
|
|
267 |
; output_handler, or otherwise the output will be corrupted.
|
56 |
- |
268 |
; http://php.net/zlib.output-compression
|
4 |
- |
269 |
zlib.output_compression = Off
|
|
|
270 |
|
56 |
- |
271 |
; http://php.net/zlib.output-compression-level
|
4 |
- |
272 |
;zlib.output_compression_level = -1
|
|
|
273 |
|
|
|
274 |
; You cannot specify additional output handlers if zlib.output_compression
|
|
|
275 |
; is activated here. This setting does the same as output_handler but in
|
|
|
276 |
; a different order.
|
56 |
- |
277 |
; http://php.net/zlib.output-handler
|
4 |
- |
278 |
;zlib.output_handler =
|
|
|
279 |
|
|
|
280 |
; Implicit flush tells PHP to tell the output layer to flush itself
|
|
|
281 |
; automatically after every output block. This is equivalent to calling the
|
|
|
282 |
; PHP function flush() after each and every call to print() or echo() and each
|
|
|
283 |
; and every HTML block. Turning this option on has serious performance
|
|
|
284 |
; implications and is generally recommended for debugging purposes only.
|
56 |
- |
285 |
; http://php.net/implicit-flush
|
|
|
286 |
; Note: This directive is hardcoded to On for the CLI SAPI
|
4 |
- |
287 |
implicit_flush = Off
|
|
|
288 |
|
|
|
289 |
; The unserialize callback function will be called (with the undefined class'
|
|
|
290 |
; name as parameter), if the unserializer finds an undefined class
|
|
|
291 |
; which should be instantiated. A warning appears if the specified function is
|
|
|
292 |
; not defined, or if the function doesn't include/implement the missing class.
|
|
|
293 |
; So only set this entry, if you really want to implement such a
|
|
|
294 |
; callback-function.
|
|
|
295 |
unserialize_callback_func =
|
|
|
296 |
|
179 |
- |
297 |
; When floats & doubles are serialized, store serialize_precision significant
|
4 |
- |
298 |
; digits after the floating point. The default value ensures that when floats
|
|
|
299 |
; are decoded with unserialize, the data will remain the same.
|
179 |
- |
300 |
; The value is also used for json_encode when encoding double values.
|
|
|
301 |
; If -1 is used, then dtoa mode 0 is used which automatically select the best
|
|
|
302 |
; precision.
|
|
|
303 |
serialize_precision = -1
|
4 |
- |
304 |
|
|
|
305 |
; open_basedir, if set, limits all file operations to the defined directory
|
|
|
306 |
; and below. This directive makes most sense if used in a per-directory
|
179 |
- |
307 |
; or per-virtualhost web server configuration file.
|
|
|
308 |
; Note: disables the realpath cache
|
56 |
- |
309 |
; http://php.net/open-basedir
|
4 |
- |
310 |
;open_basedir =
|
|
|
311 |
|
|
|
312 |
; This directive allows you to disable certain functions for security reasons.
|
179 |
- |
313 |
; It receives a comma-delimited list of function names.
|
56 |
- |
314 |
; http://php.net/disable-functions
|
4 |
- |
315 |
disable_functions =
|
|
|
316 |
|
|
|
317 |
; This directive allows you to disable certain classes for security reasons.
|
179 |
- |
318 |
; It receives a comma-delimited list of class names.
|
56 |
- |
319 |
; http://php.net/disable-classes
|
4 |
- |
320 |
disable_classes =
|
|
|
321 |
|
|
|
322 |
; Colors for Syntax Highlighting mode. Anything that's acceptable in
|
|
|
323 |
; <span style="color: ???????"> would work.
|
56 |
- |
324 |
; http://php.net/syntax-highlighting
|
4 |
- |
325 |
;highlight.string = #DD0000
|
|
|
326 |
;highlight.comment = #FF9900
|
|
|
327 |
;highlight.keyword = #007700
|
|
|
328 |
;highlight.default = #0000BB
|
|
|
329 |
;highlight.html = #000000
|
|
|
330 |
|
|
|
331 |
; If enabled, the request will be allowed to complete even if the user aborts
|
|
|
332 |
; the request. Consider enabling it if executing long requests, which may end up
|
|
|
333 |
; being interrupted by the user or a browser timing out. PHP's default behavior
|
|
|
334 |
; is to disable this feature.
|
56 |
- |
335 |
; http://php.net/ignore-user-abort
|
4 |
- |
336 |
;ignore_user_abort = On
|
|
|
337 |
|
|
|
338 |
; Determines the size of the realpath cache to be used by PHP. This value should
|
|
|
339 |
; be increased on systems where PHP opens many files to reflect the quantity of
|
|
|
340 |
; the file operations performed.
|
179 |
- |
341 |
; Note: if open_basedir is set, the cache is disabled
|
56 |
- |
342 |
; http://php.net/realpath-cache-size
|
179 |
- |
343 |
;realpath_cache_size = 4096k
|
4 |
- |
344 |
|
|
|
345 |
; Duration of time, in seconds for which to cache realpath information for a given
|
|
|
346 |
; file or directory. For systems with rarely changing files, consider increasing this
|
|
|
347 |
; value.
|
56 |
- |
348 |
; http://php.net/realpath-cache-ttl
|
4 |
- |
349 |
;realpath_cache_ttl = 120
|
|
|
350 |
|
56 |
- |
351 |
; Enables or disables the circular reference collector.
|
|
|
352 |
; http://php.net/zend.enable-gc
|
|
|
353 |
zend.enable_gc = On
|
|
|
354 |
|
|
|
355 |
; If enabled, scripts may be written in encodings that are incompatible with
|
|
|
356 |
; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
|
|
|
357 |
; encodings. To use this feature, mbstring extension must be enabled.
|
|
|
358 |
; Default: Off
|
|
|
359 |
;zend.multibyte = Off
|
|
|
360 |
|
|
|
361 |
; Allows to set the default encoding for the scripts. This value will be used
|
|
|
362 |
; unless "declare(encoding=...)" directive appears at the top of the script.
|
|
|
363 |
; Only affects if zend.multibyte is set.
|
|
|
364 |
; Default: ""
|
|
|
365 |
;zend.script_encoding =
|
|
|
366 |
|
4 |
- |
367 |
;;;;;;;;;;;;;;;;;
|
|
|
368 |
; Miscellaneous ;
|
|
|
369 |
;;;;;;;;;;;;;;;;;
|
|
|
370 |
|
|
|
371 |
; Decides whether PHP may expose the fact that it is installed on the server
|
|
|
372 |
; (e.g. by adding its signature to the Web server header). It is no security
|
|
|
373 |
; threat in any way, but it makes it possible to determine whether you use PHP
|
|
|
374 |
; on your server or not.
|
56 |
- |
375 |
; http://php.net/expose-php
|
179 |
- |
376 |
expose_php = On
|
4 |
- |
377 |
|
|
|
378 |
;;;;;;;;;;;;;;;;;;;
|
|
|
379 |
; Resource Limits ;
|
|
|
380 |
;;;;;;;;;;;;;;;;;;;
|
|
|
381 |
|
|
|
382 |
; Maximum execution time of each script, in seconds
|
56 |
- |
383 |
; http://php.net/max-execution-time
|
|
|
384 |
; Note: This directive is hardcoded to 0 for the CLI SAPI
|
180 |
- |
385 |
max_execution_time = 300
|
4 |
- |
386 |
|
|
|
387 |
; Maximum amount of time each script may spend parsing request data. It's a good
|
|
|
388 |
; idea to limit this time on productions servers in order to eliminate unexpectedly
|
56 |
- |
389 |
; long running scripts.
|
|
|
390 |
; Note: This directive is hardcoded to -1 for the CLI SAPI
|
4 |
- |
391 |
; Default Value: -1 (Unlimited)
|
|
|
392 |
; Development Value: 60 (60 seconds)
|
|
|
393 |
; Production Value: 60 (60 seconds)
|
56 |
- |
394 |
; http://php.net/max-input-time
|
180 |
- |
395 |
max_input_time = 300
|
4 |
- |
396 |
|
|
|
397 |
; Maximum input variable nesting level
|
56 |
- |
398 |
; http://php.net/max-input-nesting-level
|
4 |
- |
399 |
;max_input_nesting_level = 64
|
|
|
400 |
|
56 |
- |
401 |
; How many GET/POST/COOKIE input variables may be accepted
|
179 |
- |
402 |
;max_input_vars = 1000
|
56 |
- |
403 |
|
4 |
- |
404 |
; Maximum amount of memory a script may consume (128MB)
|
56 |
- |
405 |
; http://php.net/memory-limit
|
|
|
406 |
memory_limit = 128M
|
4 |
- |
407 |
|
|
|
408 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
409 |
; Error handling and logging ;
|
|
|
410 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
411 |
|
|
|
412 |
; This directive informs PHP of which errors, warnings and notices you would like
|
|
|
413 |
; it to take action for. The recommended way of setting values for this
|
|
|
414 |
; directive is through the use of the error level constants and bitwise
|
|
|
415 |
; operators. The error level constants are below here for convenience as well as
|
|
|
416 |
; some common settings and their meanings.
|
|
|
417 |
; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
|
|
|
418 |
; those related to E_NOTICE and E_STRICT, which together cover best practices and
|
|
|
419 |
; recommended coding standards in PHP. For performance reasons, this is the
|
|
|
420 |
; recommend error reporting setting. Your production server shouldn't be wasting
|
|
|
421 |
; resources complaining about best practices and coding standards. That's what
|
|
|
422 |
; development servers and development settings are for.
|
56 |
- |
423 |
; Note: The php.ini-development file has this setting as E_ALL. This
|
4 |
- |
424 |
; means it pretty much reports everything which is exactly what you want during
|
|
|
425 |
; development and early testing.
|
|
|
426 |
;
|
|
|
427 |
; Error Level Constants:
|
56 |
- |
428 |
; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
|
4 |
- |
429 |
; E_ERROR - fatal run-time errors
|
|
|
430 |
; E_RECOVERABLE_ERROR - almost fatal run-time errors
|
|
|
431 |
; E_WARNING - run-time warnings (non-fatal errors)
|
|
|
432 |
; E_PARSE - compile-time parse errors
|
|
|
433 |
; E_NOTICE - run-time notices (these are warnings which often result
|
|
|
434 |
; from a bug in your code, but it's possible that it was
|
|
|
435 |
; intentional (e.g., using an uninitialized variable and
|
179 |
- |
436 |
; relying on the fact it is automatically initialized to an
|
4 |
- |
437 |
; empty string)
|
|
|
438 |
; E_STRICT - run-time notices, enable to have PHP suggest changes
|
|
|
439 |
; to your code which will ensure the best interoperability
|
|
|
440 |
; and forward compatibility of your code
|
|
|
441 |
; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
|
|
|
442 |
; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
|
|
|
443 |
; initial startup
|
|
|
444 |
; E_COMPILE_ERROR - fatal compile-time errors
|
|
|
445 |
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
|
|
|
446 |
; E_USER_ERROR - user-generated error message
|
|
|
447 |
; E_USER_WARNING - user-generated warning message
|
|
|
448 |
; E_USER_NOTICE - user-generated notice message
|
|
|
449 |
; E_DEPRECATED - warn about code that will not work in future versions
|
|
|
450 |
; of PHP
|
|
|
451 |
; E_USER_DEPRECATED - user-generated deprecation warnings
|
|
|
452 |
;
|
|
|
453 |
; Common Values:
|
56 |
- |
454 |
; E_ALL (Show all errors, warnings and notices including coding standards.)
|
|
|
455 |
; E_ALL & ~E_NOTICE (Show all errors, except for notices)
|
|
|
456 |
; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
|
4 |
- |
457 |
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
|
56 |
- |
458 |
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
|
|
|
459 |
; Development Value: E_ALL
|
|
|
460 |
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
|
|
|
461 |
; http://php.net/error-reporting
|
|
|
462 |
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
|
4 |
- |
463 |
|
|
|
464 |
; This directive controls whether or not and where PHP will output errors,
|
|
|
465 |
; notices and warnings too. Error output is very useful during development, but
|
|
|
466 |
; it could be very dangerous in production environments. Depending on the code
|
|
|
467 |
; which is triggering the error, sensitive information could potentially leak
|
|
|
468 |
; out of your application such as database usernames and passwords or worse.
|
179 |
- |
469 |
; For production environments, we recommend logging errors rather than
|
|
|
470 |
; sending them to STDOUT.
|
4 |
- |
471 |
; Possible Values:
|
56 |
- |
472 |
; Off = Do not display any errors
|
|
|
473 |
; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
|
4 |
- |
474 |
; On or stdout = Display errors to STDOUT
|
|
|
475 |
; Default Value: On
|
|
|
476 |
; Development Value: On
|
|
|
477 |
; Production Value: Off
|
56 |
- |
478 |
; http://php.net/display-errors
|
4 |
- |
479 |
display_errors = Off
|
|
|
480 |
|
|
|
481 |
; The display of errors which occur during PHP's startup sequence are handled
|
|
|
482 |
; separately from display_errors. PHP's default behavior is to suppress those
|
|
|
483 |
; errors from clients. Turning the display of startup errors on can be useful in
|
179 |
- |
484 |
; debugging configuration problems. We strongly recommend you
|
|
|
485 |
; set this to 'off' for production servers.
|
4 |
- |
486 |
; Default Value: Off
|
|
|
487 |
; Development Value: On
|
|
|
488 |
; Production Value: Off
|
56 |
- |
489 |
; http://php.net/display-startup-errors
|
4 |
- |
490 |
display_startup_errors = Off
|
|
|
491 |
|
|
|
492 |
; Besides displaying errors, PHP can also log errors to locations such as a
|
|
|
493 |
; server-specific log, STDERR, or a location specified by the error_log
|
|
|
494 |
; directive found below. While errors should not be displayed on productions
|
|
|
495 |
; servers they should still be monitored and logging is a great way to do that.
|
|
|
496 |
; Default Value: Off
|
|
|
497 |
; Development Value: On
|
|
|
498 |
; Production Value: On
|
56 |
- |
499 |
; http://php.net/log-errors
|
4 |
- |
500 |
log_errors = On
|
|
|
501 |
|
|
|
502 |
; Set maximum length of log_errors. In error_log information about the source is
|
|
|
503 |
; added. The default is 1024 and 0 allows to not apply any maximum length at all.
|
56 |
- |
504 |
; http://php.net/log-errors-max-len
|
4 |
- |
505 |
log_errors_max_len = 1024
|
|
|
506 |
|
|
|
507 |
; Do not log repeated messages. Repeated errors must occur in same file on same
|
|
|
508 |
; line unless ignore_repeated_source is set true.
|
56 |
- |
509 |
; http://php.net/ignore-repeated-errors
|
4 |
- |
510 |
ignore_repeated_errors = Off
|
|
|
511 |
|
|
|
512 |
; Ignore source of message when ignoring repeated messages. When this setting
|
|
|
513 |
; is On you will not log errors with repeated messages from different files or
|
|
|
514 |
; source lines.
|
56 |
- |
515 |
; http://php.net/ignore-repeated-source
|
4 |
- |
516 |
ignore_repeated_source = Off
|
|
|
517 |
|
|
|
518 |
; If this parameter is set to Off, then memory leaks will not be shown (on
|
|
|
519 |
; stdout or in the log). This has only effect in a debug compile, and if
|
|
|
520 |
; error reporting includes E_WARNING in the allowed list
|
56 |
- |
521 |
; http://php.net/report-memleaks
|
4 |
- |
522 |
report_memleaks = On
|
|
|
523 |
|
|
|
524 |
; This setting is on by default.
|
|
|
525 |
;report_zend_debug = 0
|
|
|
526 |
|
|
|
527 |
; Store the last error/warning message in $php_errormsg (boolean). Setting this value
|
|
|
528 |
; to On can assist in debugging and is appropriate for development servers. It should
|
|
|
529 |
; however be disabled on production servers.
|
179 |
- |
530 |
; This directive is DEPRECATED.
|
4 |
- |
531 |
; Default Value: Off
|
179 |
- |
532 |
; Development Value: Off
|
4 |
- |
533 |
; Production Value: Off
|
56 |
- |
534 |
; http://php.net/track-errors
|
179 |
- |
535 |
;track_errors = Off
|
4 |
- |
536 |
|
|
|
537 |
; Turn off normal error reporting and emit XML-RPC error XML
|
56 |
- |
538 |
; http://php.net/xmlrpc-errors
|
4 |
- |
539 |
;xmlrpc_errors = 0
|
|
|
540 |
|
|
|
541 |
; An XML-RPC faultCode
|
|
|
542 |
;xmlrpc_error_number = 0
|
|
|
543 |
|
56 |
- |
544 |
; When PHP displays or logs an error, it has the capability of formatting the
|
|
|
545 |
; error message as HTML for easier reading. This directive controls whether
|
|
|
546 |
; the error message is formatted as HTML or not.
|
|
|
547 |
; Note: This directive is hardcoded to Off for the CLI SAPI
|
4 |
- |
548 |
; Default Value: On
|
|
|
549 |
; Development Value: On
|
56 |
- |
550 |
; Production value: On
|
|
|
551 |
; http://php.net/html-errors
|
|
|
552 |
html_errors = On
|
4 |
- |
553 |
|
56 |
- |
554 |
; If html_errors is set to On *and* docref_root is not empty, then PHP
|
|
|
555 |
; produces clickable error messages that direct to a page describing the error
|
|
|
556 |
; or function causing the error in detail.
|
|
|
557 |
; You can download a copy of the PHP manual from http://php.net/docs
|
4 |
- |
558 |
; and change docref_root to the base URL of your local copy including the
|
|
|
559 |
; leading '/'. You must also specify the file extension being used including
|
56 |
- |
560 |
; the dot. PHP's default behavior is to leave these settings empty, in which
|
|
|
561 |
; case no links to documentation are generated.
|
4 |
- |
562 |
; Note: Never use this feature for production boxes.
|
56 |
- |
563 |
; http://php.net/docref-root
|
4 |
- |
564 |
; Examples
|
|
|
565 |
;docref_root = "/phpmanual/"
|
|
|
566 |
|
56 |
- |
567 |
; http://php.net/docref-ext
|
4 |
- |
568 |
;docref_ext = .html
|
|
|
569 |
|
|
|
570 |
; String to output before an error message. PHP's default behavior is to leave
|
|
|
571 |
; this setting blank.
|
56 |
- |
572 |
; http://php.net/error-prepend-string
|
4 |
- |
573 |
; Example:
|
56 |
- |
574 |
;error_prepend_string = "<span style='color: #ff0000'>"
|
4 |
- |
575 |
|
|
|
576 |
; String to output after an error message. PHP's default behavior is to leave
|
|
|
577 |
; this setting blank.
|
56 |
- |
578 |
; http://php.net/error-append-string
|
4 |
- |
579 |
; Example:
|
56 |
- |
580 |
;error_append_string = "</span>"
|
4 |
- |
581 |
|
|
|
582 |
; Log errors to specified file. PHP's default behavior is to leave this value
|
|
|
583 |
; empty.
|
56 |
- |
584 |
; http://php.net/error-log
|
4 |
- |
585 |
; Example:
|
180 |
- |
586 |
error_log = php_errors.log
|
179 |
- |
587 |
; Log errors to syslog (Event Log on Windows).
|
4 |
- |
588 |
;error_log = syslog
|
|
|
589 |
|
179 |
- |
590 |
; The syslog ident is a string which is prepended to every message logged
|
|
|
591 |
; to syslog. Only used when error_log is set to syslog.
|
|
|
592 |
;syslog.ident = php
|
|
|
593 |
|
|
|
594 |
; The syslog facility is used to specify what type of program is logging
|
|
|
595 |
; the message. Only used when error_log is set to syslog.
|
|
|
596 |
;syslog.facility = user
|
|
|
597 |
|
|
|
598 |
; Set this to disable filtering control characters (the default).
|
|
|
599 |
; Some loggers only accept NVT-ASCII, others accept anything that's not
|
|
|
600 |
; control characters. If your logger accepts everything, then no filtering
|
|
|
601 |
; is needed at all.
|
|
|
602 |
; Allowed values are:
|
|
|
603 |
; ascii (all printable ASCII characters and NL)
|
|
|
604 |
; no-ctrl (all characters except control characters)
|
|
|
605 |
; all (all characters)
|
|
|
606 |
; http://php.net/syslog.filter
|
|
|
607 |
;syslog.filter = ascii
|
|
|
608 |
|
56 |
- |
609 |
;windows.show_crt_warning
|
|
|
610 |
; Default value: 0
|
|
|
611 |
; Development value: 0
|
|
|
612 |
; Production value: 0
|
|
|
613 |
|
4 |
- |
614 |
;;;;;;;;;;;;;;;;;
|
|
|
615 |
; Data Handling ;
|
|
|
616 |
;;;;;;;;;;;;;;;;;
|
|
|
617 |
|
|
|
618 |
; The separator used in PHP generated URLs to separate arguments.
|
|
|
619 |
; PHP's default setting is "&".
|
56 |
- |
620 |
; http://php.net/arg-separator.output
|
4 |
- |
621 |
; Example:
|
|
|
622 |
;arg_separator.output = "&"
|
|
|
623 |
|
|
|
624 |
; List of separator(s) used by PHP to parse input URLs into variables.
|
|
|
625 |
; PHP's default setting is "&".
|
|
|
626 |
; NOTE: Every character in this directive is considered as separator!
|
56 |
- |
627 |
; http://php.net/arg-separator.input
|
4 |
- |
628 |
; Example:
|
|
|
629 |
;arg_separator.input = ";&"
|
|
|
630 |
|
|
|
631 |
; This directive determines which super global arrays are registered when PHP
|
56 |
- |
632 |
; starts up. G,P,C,E & S are abbreviations for the following respective super
|
|
|
633 |
; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
|
|
|
634 |
; paid for the registration of these arrays and because ENV is not as commonly
|
|
|
635 |
; used as the others, ENV is not recommended on productions servers. You
|
|
|
636 |
; can still get access to the environment variables through getenv() should you
|
|
|
637 |
; need to.
|
4 |
- |
638 |
; Default Value: "EGPCS"
|
|
|
639 |
; Development Value: "GPCS"
|
|
|
640 |
; Production Value: "GPCS";
|
56 |
- |
641 |
; http://php.net/variables-order
|
4 |
- |
642 |
variables_order = "GPCS"
|
|
|
643 |
|
179 |
- |
644 |
; This directive determines which super global data (G,P & C) should be
|
|
|
645 |
; registered into the super global array REQUEST. If so, it also determines
|
|
|
646 |
; the order in which that data is registered. The values for this directive
|
|
|
647 |
; are specified in the same manner as the variables_order directive,
|
|
|
648 |
; EXCEPT one. Leaving this value empty will cause PHP to use the value set
|
|
|
649 |
; in the variables_order directive. It does not mean it will leave the super
|
|
|
650 |
; globals array REQUEST empty.
|
4 |
- |
651 |
; Default Value: None
|
|
|
652 |
; Development Value: "GP"
|
|
|
653 |
; Production Value: "GP"
|
56 |
- |
654 |
; http://php.net/request-order
|
4 |
- |
655 |
request_order = "GP"
|
|
|
656 |
|
|
|
657 |
; This directive determines whether PHP registers $argv & $argc each time it
|
|
|
658 |
; runs. $argv contains an array of all the arguments passed to PHP when a script
|
|
|
659 |
; is invoked. $argc contains an integer representing the number of arguments
|
|
|
660 |
; that were passed when the script was invoked. These arrays are extremely
|
|
|
661 |
; useful when running scripts from the command line. When this directive is
|
|
|
662 |
; enabled, registering these variables consumes CPU cycles and memory each time
|
|
|
663 |
; a script is executed. For performance reasons, this feature should be disabled
|
|
|
664 |
; on production servers.
|
56 |
- |
665 |
; Note: This directive is hardcoded to On for the CLI SAPI
|
4 |
- |
666 |
; Default Value: On
|
|
|
667 |
; Development Value: Off
|
|
|
668 |
; Production Value: Off
|
56 |
- |
669 |
; http://php.net/register-argc-argv
|
4 |
- |
670 |
register_argc_argv = Off
|
|
|
671 |
|
56 |
- |
672 |
; When enabled, the ENV, REQUEST and SERVER variables are created when they're
|
|
|
673 |
; first used (Just In Time) instead of when the script starts. If these
|
|
|
674 |
; variables are not used within a script, having this directive on will result
|
|
|
675 |
; in a performance gain. The PHP directive register_argc_argv must be disabled
|
|
|
676 |
; for this directive to have any affect.
|
|
|
677 |
; http://php.net/auto-globals-jit
|
4 |
- |
678 |
auto_globals_jit = On
|
|
|
679 |
|
56 |
- |
680 |
; Whether PHP will read the POST data.
|
|
|
681 |
; This option is enabled by default.
|
|
|
682 |
; Most likely, you won't want to disable this option globally. It causes $_POST
|
|
|
683 |
; and $_FILES to always be empty; the only way you will be able to read the
|
|
|
684 |
; POST data will be through the php://input stream wrapper. This can be useful
|
|
|
685 |
; to proxy requests or to process the POST data in a memory efficient fashion.
|
|
|
686 |
; http://php.net/enable-post-data-reading
|
|
|
687 |
;enable_post_data_reading = Off
|
|
|
688 |
|
4 |
- |
689 |
; Maximum size of POST data that PHP will accept.
|
56 |
- |
690 |
; Its value may be 0 to disable the limit. It is ignored if POST data reading
|
|
|
691 |
; is disabled through enable_post_data_reading.
|
|
|
692 |
; http://php.net/post-max-size
|
180 |
- |
693 |
post_max_size = 16M
|
4 |
- |
694 |
|
|
|
695 |
; Automatically add files before PHP document.
|
56 |
- |
696 |
; http://php.net/auto-prepend-file
|
4 |
- |
697 |
auto_prepend_file =
|
|
|
698 |
|
|
|
699 |
; Automatically add files after PHP document.
|
56 |
- |
700 |
; http://php.net/auto-append-file
|
4 |
- |
701 |
auto_append_file =
|
|
|
702 |
|
179 |
- |
703 |
; By default, PHP will output a media type using the Content-Type header. To
|
|
|
704 |
; disable this, simply set it to be empty.
|
4 |
- |
705 |
;
|
179 |
- |
706 |
; PHP's built-in default media type is set to text/html.
|
56 |
- |
707 |
; http://php.net/default-mimetype
|
4 |
- |
708 |
default_mimetype = "text/html"
|
|
|
709 |
|
179 |
- |
710 |
; PHP's default character set is set to UTF-8.
|
56 |
- |
711 |
; http://php.net/default-charset
|
179 |
- |
712 |
default_charset = "UTF-8"
|
4 |
- |
713 |
|
179 |
- |
714 |
; PHP internal character encoding is set to empty.
|
|
|
715 |
; If empty, default_charset is used.
|
|
|
716 |
; http://php.net/internal-encoding
|
|
|
717 |
;internal_encoding =
|
4 |
- |
718 |
|
179 |
- |
719 |
; PHP input character encoding is set to empty.
|
|
|
720 |
; If empty, default_charset is used.
|
|
|
721 |
; http://php.net/input-encoding
|
|
|
722 |
;input_encoding =
|
|
|
723 |
|
|
|
724 |
; PHP output character encoding is set to empty.
|
|
|
725 |
; If empty, default_charset is used.
|
|
|
726 |
; See also output_buffer.
|
|
|
727 |
; http://php.net/output-encoding
|
|
|
728 |
;output_encoding =
|
|
|
729 |
|
4 |
- |
730 |
;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
731 |
; Paths and Directories ;
|
|
|
732 |
;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
733 |
|
|
|
734 |
; UNIX: "/path1:/path2"
|
|
|
735 |
;include_path = ".:/php/includes"
|
|
|
736 |
;
|
|
|
737 |
; Windows: "\path1;\path2"
|
|
|
738 |
;include_path = ".;c:\php\includes"
|
|
|
739 |
;
|
|
|
740 |
; PHP's default setting for include_path is ".;/path/to/php/pear"
|
56 |
- |
741 |
; http://php.net/include-path
|
4 |
- |
742 |
|
|
|
743 |
; The root of the PHP pages, used only if nonempty.
|
|
|
744 |
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
|
|
|
745 |
; if you are running php as a CGI under any web server (other than IIS)
|
|
|
746 |
; see documentation for security issues. The alternate is to use the
|
|
|
747 |
; cgi.force_redirect configuration below
|
56 |
- |
748 |
; http://php.net/doc-root
|
4 |
- |
749 |
doc_root =
|
|
|
750 |
|
|
|
751 |
; The directory under which PHP opens the script using /~username used only
|
|
|
752 |
; if nonempty.
|
56 |
- |
753 |
; http://php.net/user-dir
|
4 |
- |
754 |
user_dir =
|
|
|
755 |
|
|
|
756 |
; Directory in which the loadable extensions (modules) reside.
|
56 |
- |
757 |
; http://php.net/extension-dir
|
179 |
- |
758 |
;extension_dir = "./"
|
56 |
- |
759 |
; On windows:
|
179 |
- |
760 |
;extension_dir = "ext"
|
4 |
- |
761 |
|
179 |
- |
762 |
; Directory where the temporary files should be placed.
|
|
|
763 |
; Defaults to the system default (see sys_get_temp_dir)
|
|
|
764 |
;sys_temp_dir = "/tmp"
|
|
|
765 |
|
4 |
- |
766 |
; Whether or not to enable the dl() function. The dl() function does NOT work
|
|
|
767 |
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
|
|
|
768 |
; disabled on them.
|
56 |
- |
769 |
; http://php.net/enable-dl
|
4 |
- |
770 |
enable_dl = Off
|
|
|
771 |
|
|
|
772 |
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
|
|
|
773 |
; most web servers. Left undefined, PHP turns this on by default. You can
|
|
|
774 |
; turn it off here AT YOUR OWN RISK
|
|
|
775 |
; **You CAN safely turn this off for IIS, in fact, you MUST.**
|
56 |
- |
776 |
; http://php.net/cgi.force-redirect
|
4 |
- |
777 |
;cgi.force_redirect = 1
|
|
|
778 |
|
|
|
779 |
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
|
|
|
780 |
; every request. PHP's default behavior is to disable this feature.
|
|
|
781 |
;cgi.nph = 1
|
|
|
782 |
|
|
|
783 |
; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
|
|
|
784 |
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
|
|
|
785 |
; will look for to know it is OK to continue execution. Setting this variable MAY
|
|
|
786 |
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
|
56 |
- |
787 |
; http://php.net/cgi.redirect-status-env
|
|
|
788 |
;cgi.redirect_status_env =
|
4 |
- |
789 |
|
|
|
790 |
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
|
|
|
791 |
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
|
|
|
792 |
; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
|
|
|
793 |
; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
|
|
|
794 |
; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
|
|
|
795 |
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
|
56 |
- |
796 |
; http://php.net/cgi.fix-pathinfo
|
4 |
- |
797 |
;cgi.fix_pathinfo=1
|
|
|
798 |
|
179 |
- |
799 |
; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
|
|
|
800 |
; of the web tree and people will not be able to circumvent .htaccess security.
|
|
|
801 |
;cgi.discard_path=1
|
|
|
802 |
|
|
|
803 |
; FastCGI under IIS supports the ability to impersonate
|
4 |
- |
804 |
; security tokens of the calling client. This allows IIS to define the
|
|
|
805 |
; security context that the request runs under. mod_fastcgi under Apache
|
|
|
806 |
; does not currently support this feature (03/17/2002)
|
|
|
807 |
; Set to 1 if running under IIS. Default is zero.
|
56 |
- |
808 |
; http://php.net/fastcgi.impersonate
|
|
|
809 |
;fastcgi.impersonate = 1
|
4 |
- |
810 |
|
|
|
811 |
; Disable logging through FastCGI connection. PHP's default behavior is to enable
|
|
|
812 |
; this feature.
|
|
|
813 |
;fastcgi.logging = 0
|
|
|
814 |
|
|
|
815 |
; cgi.rfc2616_headers configuration option tells PHP what type of headers to
|
179 |
- |
816 |
; use when sending HTTP response code. If set to 0, PHP sends Status: header that
|
|
|
817 |
; is supported by Apache. When this option is set to 1, PHP will send
|
4 |
- |
818 |
; RFC2616 compliant header.
|
|
|
819 |
; Default is zero.
|
56 |
- |
820 |
; http://php.net/cgi.rfc2616-headers
|
4 |
- |
821 |
;cgi.rfc2616_headers = 0
|
|
|
822 |
|
179 |
- |
823 |
; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
|
|
|
824 |
; (shebang) at the top of the running script. This line might be needed if the
|
|
|
825 |
; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
|
|
|
826 |
; mode skips this line and ignores its content if this directive is turned on.
|
|
|
827 |
; http://php.net/cgi.check-shebang-line
|
|
|
828 |
;cgi.check_shebang_line=1
|
|
|
829 |
|
4 |
- |
830 |
;;;;;;;;;;;;;;;;
|
|
|
831 |
; File Uploads ;
|
|
|
832 |
;;;;;;;;;;;;;;;;
|
|
|
833 |
|
|
|
834 |
; Whether to allow HTTP file uploads.
|
56 |
- |
835 |
; http://php.net/file-uploads
|
159 |
- |
836 |
file_uploads = On
|
4 |
- |
837 |
|
|
|
838 |
; Temporary directory for HTTP uploaded files (will use system default if not
|
|
|
839 |
; specified).
|
56 |
- |
840 |
; http://php.net/upload-tmp-dir
|
4 |
- |
841 |
;upload_tmp_dir =
|
|
|
842 |
|
|
|
843 |
; Maximum allowed size for uploaded files.
|
56 |
- |
844 |
; http://php.net/upload-max-filesize
|
|
|
845 |
upload_max_filesize = 2M
|
4 |
- |
846 |
|
56 |
- |
847 |
; Maximum number of files that can be uploaded via a single request
|
|
|
848 |
max_file_uploads = 20
|
|
|
849 |
|
4 |
- |
850 |
;;;;;;;;;;;;;;;;;;
|
|
|
851 |
; Fopen wrappers ;
|
|
|
852 |
;;;;;;;;;;;;;;;;;;
|
|
|
853 |
|
|
|
854 |
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
|
56 |
- |
855 |
; http://php.net/allow-url-fopen
|
4 |
- |
856 |
allow_url_fopen = On
|
|
|
857 |
|
|
|
858 |
; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
|
56 |
- |
859 |
; http://php.net/allow-url-include
|
4 |
- |
860 |
allow_url_include = Off
|
|
|
861 |
|
|
|
862 |
; Define the anonymous ftp password (your email address). PHP's default setting
|
|
|
863 |
; for this is empty.
|
56 |
- |
864 |
; http://php.net/from
|
4 |
- |
865 |
;from="john@doe.com"
|
|
|
866 |
|
|
|
867 |
; Define the User-Agent string. PHP's default setting for this is empty.
|
56 |
- |
868 |
; http://php.net/user-agent
|
4 |
- |
869 |
;user_agent="PHP"
|
|
|
870 |
|
|
|
871 |
; Default timeout for socket based streams (seconds)
|
56 |
- |
872 |
; http://php.net/default-socket-timeout
|
4 |
- |
873 |
default_socket_timeout = 60
|
|
|
874 |
|
|
|
875 |
; If your scripts have to deal with files from Macintosh systems,
|
|
|
876 |
; or you are running on a Mac and need to deal with files from
|
|
|
877 |
; unix or win32 systems, setting this flag will cause PHP to
|
|
|
878 |
; automatically detect the EOL character in those files so that
|
|
|
879 |
; fgets() and file() will work regardless of the source of the file.
|
56 |
- |
880 |
; http://php.net/auto-detect-line-endings
|
4 |
- |
881 |
;auto_detect_line_endings = Off
|
|
|
882 |
|
|
|
883 |
;;;;;;;;;;;;;;;;;;;;;;
|
|
|
884 |
; Dynamic Extensions ;
|
|
|
885 |
;;;;;;;;;;;;;;;;;;;;;;
|
|
|
886 |
|
|
|
887 |
; If you wish to have an extension loaded automatically, use the following
|
|
|
888 |
; syntax:
|
|
|
889 |
;
|
179 |
- |
890 |
; extension=modulename
|
4 |
- |
891 |
;
|
179 |
- |
892 |
; For example:
|
4 |
- |
893 |
;
|
179 |
- |
894 |
; extension=mysqli
|
56 |
- |
895 |
;
|
179 |
- |
896 |
; When the extension library to load is not located in the default extension
|
|
|
897 |
; directory, You may specify an absolute path to the library file:
|
56 |
- |
898 |
;
|
179 |
- |
899 |
; extension=/path/to/extension/mysqli.so
|
4 |
- |
900 |
;
|
179 |
- |
901 |
; Note : The syntax used in previous PHP versions ('extension=<ext>.so' and
|
|
|
902 |
; 'extension='php_<ext>.dll') is supported for legacy reasons and may be
|
|
|
903 |
; deprecated in a future PHP major version. So, when it is possible, please
|
|
|
904 |
; move to the new ('extension=<ext>) syntax.
|
4 |
- |
905 |
|
|
|
906 |
;;;;
|
|
|
907 |
; Note: packaged extension modules are now loaded via the .ini files
|
|
|
908 |
; found in the directory /etc/php.d; these are loaded by default.
|
|
|
909 |
;;;;
|
|
|
910 |
|
|
|
911 |
;;;;;;;;;;;;;;;;;;;
|
|
|
912 |
; Module Settings ;
|
|
|
913 |
;;;;;;;;;;;;;;;;;;;
|
|
|
914 |
|
56 |
- |
915 |
[CLI Server]
|
|
|
916 |
; Whether the CLI web server uses ANSI color coding in its terminal output.
|
|
|
917 |
cli_server.color = On
|
|
|
918 |
|
4 |
- |
919 |
[Date]
|
|
|
920 |
; Defines the default timezone used by the date functions
|
56 |
- |
921 |
; http://php.net/date.timezone
|
179 |
- |
922 |
;date.timezone =
|
180 |
- |
923 |
date.timezone = "America/New_York"
|
4 |
- |
924 |
|
56 |
- |
925 |
; http://php.net/date.default-latitude
|
4 |
- |
926 |
;date.default_latitude = 31.7667
|
|
|
927 |
|
56 |
- |
928 |
; http://php.net/date.default-longitude
|
4 |
- |
929 |
;date.default_longitude = 35.2333
|
|
|
930 |
|
56 |
- |
931 |
; http://php.net/date.sunrise-zenith
|
4 |
- |
932 |
;date.sunrise_zenith = 90.583333
|
|
|
933 |
|
56 |
- |
934 |
; http://php.net/date.sunset-zenith
|
4 |
- |
935 |
;date.sunset_zenith = 90.583333
|
|
|
936 |
|
|
|
937 |
[filter]
|
56 |
- |
938 |
; http://php.net/filter.default
|
4 |
- |
939 |
;filter.default = unsafe_raw
|
|
|
940 |
|
56 |
- |
941 |
; http://php.net/filter.default-flags
|
4 |
- |
942 |
;filter.default_flags =
|
|
|
943 |
|
|
|
944 |
[iconv]
|
179 |
- |
945 |
; Use of this INI entry is deprecated, use global input_encoding instead.
|
|
|
946 |
; If empty, default_charset or input_encoding or iconv.input_encoding is used.
|
|
|
947 |
; The precedence is: default_charset < input_encoding < iconv.input_encoding
|
|
|
948 |
;iconv.input_encoding =
|
4 |
- |
949 |
|
179 |
- |
950 |
; Use of this INI entry is deprecated, use global internal_encoding instead.
|
|
|
951 |
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
|
|
|
952 |
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
|
|
|
953 |
;iconv.internal_encoding =
|
|
|
954 |
|
|
|
955 |
; Use of this INI entry is deprecated, use global output_encoding instead.
|
|
|
956 |
; If empty, default_charset or output_encoding or iconv.output_encoding is used.
|
|
|
957 |
; The precedence is: default_charset < output_encoding < iconv.output_encoding
|
|
|
958 |
; To use an output encoding conversion, iconv's output handler must be set
|
|
|
959 |
; otherwise output encoding conversion cannot be performed.
|
|
|
960 |
;iconv.output_encoding =
|
|
|
961 |
|
|
|
962 |
[imap]
|
|
|
963 |
; rsh/ssh logins are disabled by default. Use this INI entry if you want to
|
|
|
964 |
; enable them. Note that the IMAP library does not filter mailbox names before
|
|
|
965 |
; passing them to rsh/ssh command, thus passing untrusted data to this function
|
|
|
966 |
; with rsh/ssh enabled is insecure.
|
|
|
967 |
;imap.enable_insecure_rsh=0
|
|
|
968 |
|
4 |
- |
969 |
[intl]
|
56 |
- |
970 |
;intl.default_locale =
|
|
|
971 |
; This directive allows you to produce PHP errors when some error
|
|
|
972 |
; happens within intl functions. The value is the level of the error produced.
|
|
|
973 |
; Default is 0, which does not produce any errors.
|
|
|
974 |
;intl.error_level = E_WARNING
|
179 |
- |
975 |
;intl.use_exceptions = 0
|
4 |
- |
976 |
|
|
|
977 |
[sqlite3]
|
179 |
- |
978 |
; Directory pointing to SQLite3 extensions
|
|
|
979 |
; http://php.net/sqlite3.extension-dir
|
4 |
- |
980 |
;sqlite3.extension_dir =
|
|
|
981 |
|
179 |
- |
982 |
; SQLite defensive mode flag (only available from SQLite 3.26+)
|
|
|
983 |
; When the defensive flag is enabled, language features that allow ordinary
|
|
|
984 |
; SQL to deliberately corrupt the database file are disabled. This forbids
|
|
|
985 |
; writing directly to the schema, shadow tables (eg. FTS data tables), or
|
|
|
986 |
; the sqlite_dbpage virtual table.
|
|
|
987 |
; https://www.sqlite.org/c3ref/c_dbconfig_defensive.html
|
|
|
988 |
; (for older SQLite versions, this flag has no use)
|
|
|
989 |
;sqlite3.defensive = 1
|
|
|
990 |
|
4 |
- |
991 |
[Pcre]
|
179 |
- |
992 |
; PCRE library backtracking limit.
|
56 |
- |
993 |
; http://php.net/pcre.backtrack-limit
|
4 |
- |
994 |
;pcre.backtrack_limit=100000
|
|
|
995 |
|
179 |
- |
996 |
; PCRE library recursion limit.
|
|
|
997 |
; Please note that if you set this value to a high number you may consume all
|
|
|
998 |
; the available process stack and eventually crash PHP (due to reaching the
|
|
|
999 |
; stack size limit imposed by the Operating System).
|
56 |
- |
1000 |
; http://php.net/pcre.recursion-limit
|
4 |
- |
1001 |
;pcre.recursion_limit=100000
|
|
|
1002 |
|
179 |
- |
1003 |
; Enables or disables JIT compilation of patterns. This requires the PCRE
|
|
|
1004 |
; library to be compiled with JIT support.
|
|
|
1005 |
pcre.jit=0
|
|
|
1006 |
|
4 |
- |
1007 |
[Pdo]
|
|
|
1008 |
; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
|
56 |
- |
1009 |
; http://php.net/pdo-odbc.connection-pooling
|
4 |
- |
1010 |
;pdo_odbc.connection_pooling=strict
|
|
|
1011 |
|
56 |
- |
1012 |
;pdo_odbc.db2_instance_name
|
|
|
1013 |
|
|
|
1014 |
[Pdo_mysql]
|
|
|
1015 |
; Default socket name for local MySQL connects. If empty, uses the built-in
|
|
|
1016 |
; MySQL defaults.
|
|
|
1017 |
pdo_mysql.default_socket=
|
|
|
1018 |
|
4 |
- |
1019 |
[Phar]
|
56 |
- |
1020 |
; http://php.net/phar.readonly
|
4 |
- |
1021 |
;phar.readonly = On
|
|
|
1022 |
|
56 |
- |
1023 |
; http://php.net/phar.require-hash
|
4 |
- |
1024 |
;phar.require_hash = On
|
|
|
1025 |
|
|
|
1026 |
;phar.cache_list =
|
|
|
1027 |
|
|
|
1028 |
[mail function]
|
|
|
1029 |
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
|
56 |
- |
1030 |
; http://php.net/sendmail-path
|
4 |
- |
1031 |
sendmail_path = /usr/sbin/sendmail -t -i
|
|
|
1032 |
|
|
|
1033 |
; Force the addition of the specified parameters to be passed as extra parameters
|
|
|
1034 |
; to the sendmail binary. These parameters will always replace the value of
|
179 |
- |
1035 |
; the 5th parameter to mail().
|
4 |
- |
1036 |
;mail.force_extra_parameters =
|
|
|
1037 |
|
56 |
- |
1038 |
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
|
179 |
- |
1039 |
mail.add_x_header = Off
|
4 |
- |
1040 |
|
56 |
- |
1041 |
; The path to a log file that will log all mail() calls. Log entries include
|
|
|
1042 |
; the full path of the script, line number, To address and headers.
|
4 |
- |
1043 |
;mail.log =
|
179 |
- |
1044 |
; Log mail to syslog (Event Log on Windows).
|
|
|
1045 |
;mail.log = syslog
|
4 |
- |
1046 |
|
|
|
1047 |
[ODBC]
|
56 |
- |
1048 |
; http://php.net/odbc.default-db
|
4 |
- |
1049 |
;odbc.default_db = Not yet implemented
|
|
|
1050 |
|
56 |
- |
1051 |
; http://php.net/odbc.default-user
|
4 |
- |
1052 |
;odbc.default_user = Not yet implemented
|
|
|
1053 |
|
56 |
- |
1054 |
; http://php.net/odbc.default-pw
|
4 |
- |
1055 |
;odbc.default_pw = Not yet implemented
|
|
|
1056 |
|
56 |
- |
1057 |
; Controls the ODBC cursor model.
|
|
|
1058 |
; Default: SQL_CURSOR_STATIC (default).
|
|
|
1059 |
;odbc.default_cursortype
|
|
|
1060 |
|
4 |
- |
1061 |
; Allow or prevent persistent links.
|
56 |
- |
1062 |
; http://php.net/odbc.allow-persistent
|
4 |
- |
1063 |
odbc.allow_persistent = On
|
|
|
1064 |
|
|
|
1065 |
; Check that a connection is still valid before reuse.
|
56 |
- |
1066 |
; http://php.net/odbc.check-persistent
|
4 |
- |
1067 |
odbc.check_persistent = On
|
|
|
1068 |
|
|
|
1069 |
; Maximum number of persistent links. -1 means no limit.
|
56 |
- |
1070 |
; http://php.net/odbc.max-persistent
|
4 |
- |
1071 |
odbc.max_persistent = -1
|
|
|
1072 |
|
|
|
1073 |
; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
56 |
- |
1074 |
; http://php.net/odbc.max-links
|
4 |
- |
1075 |
odbc.max_links = -1
|
|
|
1076 |
|
|
|
1077 |
; Handling of LONG fields. Returns number of bytes to variables. 0 means
|
|
|
1078 |
; passthru.
|
56 |
- |
1079 |
; http://php.net/odbc.defaultlrl
|
4 |
- |
1080 |
odbc.defaultlrl = 4096
|
|
|
1081 |
|
|
|
1082 |
; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
|
|
|
1083 |
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
|
56 |
- |
1084 |
; of odbc.defaultlrl and odbc.defaultbinmode
|
|
|
1085 |
; http://php.net/odbc.defaultbinmode
|
4 |
- |
1086 |
odbc.defaultbinmode = 1
|
|
|
1087 |
|
56 |
- |
1088 |
[Interbase]
|
|
|
1089 |
; Allow or prevent persistent links.
|
|
|
1090 |
ibase.allow_persistent = 1
|
|
|
1091 |
|
|
|
1092 |
; Maximum number of persistent links. -1 means no limit.
|
|
|
1093 |
ibase.max_persistent = -1
|
|
|
1094 |
|
|
|
1095 |
; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
|
|
1096 |
ibase.max_links = -1
|
|
|
1097 |
|
|
|
1098 |
; Default database name for ibase_connect().
|
|
|
1099 |
;ibase.default_db =
|
|
|
1100 |
|
|
|
1101 |
; Default username for ibase_connect().
|
|
|
1102 |
;ibase.default_user =
|
|
|
1103 |
|
|
|
1104 |
; Default password for ibase_connect().
|
|
|
1105 |
;ibase.default_password =
|
|
|
1106 |
|
|
|
1107 |
; Default charset for ibase_connect().
|
|
|
1108 |
;ibase.default_charset =
|
|
|
1109 |
|
|
|
1110 |
; Default timestamp format.
|
|
|
1111 |
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
|
|
|
1112 |
|
|
|
1113 |
; Default date format.
|
|
|
1114 |
ibase.dateformat = "%Y-%m-%d"
|
|
|
1115 |
|
|
|
1116 |
; Default time format.
|
|
|
1117 |
ibase.timeformat = "%H:%M:%S"
|
|
|
1118 |
|
4 |
- |
1119 |
[MySQLi]
|
|
|
1120 |
|
56 |
- |
1121 |
; Maximum number of persistent links. -1 means no limit.
|
|
|
1122 |
; http://php.net/mysqli.max-persistent
|
|
|
1123 |
mysqli.max_persistent = -1
|
|
|
1124 |
|
|
|
1125 |
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
|
|
|
1126 |
; http://php.net/mysqli.allow_local_infile
|
|
|
1127 |
;mysqli.allow_local_infile = On
|
|
|
1128 |
|
|
|
1129 |
; Allow or prevent persistent links.
|
|
|
1130 |
; http://php.net/mysqli.allow-persistent
|
|
|
1131 |
mysqli.allow_persistent = On
|
|
|
1132 |
|
4 |
- |
1133 |
; Maximum number of links. -1 means no limit.
|
56 |
- |
1134 |
; http://php.net/mysqli.max-links
|
4 |
- |
1135 |
mysqli.max_links = -1
|
|
|
1136 |
|
|
|
1137 |
; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
|
|
|
1138 |
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
|
|
|
1139 |
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
|
|
|
1140 |
; at MYSQL_PORT.
|
56 |
- |
1141 |
; http://php.net/mysqli.default-port
|
4 |
- |
1142 |
mysqli.default_port = 3306
|
|
|
1143 |
|
|
|
1144 |
; Default socket name for local MySQL connects. If empty, uses the built-in
|
|
|
1145 |
; MySQL defaults.
|
56 |
- |
1146 |
; http://php.net/mysqli.default-socket
|
4 |
- |
1147 |
mysqli.default_socket =
|
|
|
1148 |
|
|
|
1149 |
; Default host for mysql_connect() (doesn't apply in safe mode).
|
56 |
- |
1150 |
; http://php.net/mysqli.default-host
|
4 |
- |
1151 |
mysqli.default_host =
|
|
|
1152 |
|
|
|
1153 |
; Default user for mysql_connect() (doesn't apply in safe mode).
|
56 |
- |
1154 |
; http://php.net/mysqli.default-user
|
4 |
- |
1155 |
mysqli.default_user =
|
|
|
1156 |
|
|
|
1157 |
; Default password for mysqli_connect() (doesn't apply in safe mode).
|
|
|
1158 |
; Note that this is generally a *bad* idea to store passwords in this file.
|
|
|
1159 |
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
|
|
|
1160 |
; and reveal this password! And of course, any users with read access to this
|
|
|
1161 |
; file will be able to reveal the password as well.
|
56 |
- |
1162 |
; http://php.net/mysqli.default-pw
|
4 |
- |
1163 |
mysqli.default_pw =
|
|
|
1164 |
|
|
|
1165 |
; Allow or prevent reconnect
|
|
|
1166 |
mysqli.reconnect = Off
|
|
|
1167 |
|
56 |
- |
1168 |
[mysqlnd]
|
|
|
1169 |
; Enable / Disable collection of general statistics by mysqlnd which can be
|
|
|
1170 |
; used to tune and monitor MySQL operations.
|
|
|
1171 |
mysqlnd.collect_statistics = On
|
|
|
1172 |
|
|
|
1173 |
; Enable / Disable collection of memory usage statistics by mysqlnd which can be
|
|
|
1174 |
; used to tune and monitor MySQL operations.
|
|
|
1175 |
mysqlnd.collect_memory_statistics = Off
|
|
|
1176 |
|
179 |
- |
1177 |
; Records communication from all extensions using mysqlnd to the specified log
|
|
|
1178 |
; file.
|
|
|
1179 |
; http://php.net/mysqlnd.debug
|
|
|
1180 |
;mysqlnd.debug =
|
|
|
1181 |
|
|
|
1182 |
; Defines which queries will be logged.
|
|
|
1183 |
;mysqlnd.log_mask = 0
|
|
|
1184 |
|
|
|
1185 |
; Default size of the mysqlnd memory pool, which is used by result sets.
|
|
|
1186 |
;mysqlnd.mempool_default_size = 16000
|
|
|
1187 |
|
56 |
- |
1188 |
; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
|
|
|
1189 |
;mysqlnd.net_cmd_buffer_size = 2048
|
|
|
1190 |
|
|
|
1191 |
; Size of a pre-allocated buffer used for reading data sent by the server in
|
|
|
1192 |
; bytes.
|
|
|
1193 |
;mysqlnd.net_read_buffer_size = 32768
|
|
|
1194 |
|
179 |
- |
1195 |
; Timeout for network requests in seconds.
|
|
|
1196 |
;mysqlnd.net_read_timeout = 31536000
|
56 |
- |
1197 |
|
179 |
- |
1198 |
; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
|
|
|
1199 |
; key.
|
|
|
1200 |
;mysqlnd.sha256_server_public_key =
|
56 |
- |
1201 |
|
|
|
1202 |
[PostgreSQL]
|
4 |
- |
1203 |
; Allow or prevent persistent links.
|
56 |
- |
1204 |
; http://php.net/pgsql.allow-persistent
|
4 |
- |
1205 |
pgsql.allow_persistent = On
|
|
|
1206 |
|
|
|
1207 |
; Detect broken persistent links always with pg_pconnect().
|
|
|
1208 |
; Auto reset feature requires a little overheads.
|
56 |
- |
1209 |
; http://php.net/pgsql.auto-reset-persistent
|
4 |
- |
1210 |
pgsql.auto_reset_persistent = Off
|
|
|
1211 |
|
|
|
1212 |
; Maximum number of persistent links. -1 means no limit.
|
56 |
- |
1213 |
; http://php.net/pgsql.max-persistent
|
4 |
- |
1214 |
pgsql.max_persistent = -1
|
|
|
1215 |
|
|
|
1216 |
; Maximum number of links (persistent+non persistent). -1 means no limit.
|
56 |
- |
1217 |
; http://php.net/pgsql.max-links
|
4 |
- |
1218 |
pgsql.max_links = -1
|
|
|
1219 |
|
|
|
1220 |
; Ignore PostgreSQL backends Notice message or not.
|
|
|
1221 |
; Notice message logging require a little overheads.
|
56 |
- |
1222 |
; http://php.net/pgsql.ignore-notice
|
4 |
- |
1223 |
pgsql.ignore_notice = 0
|
|
|
1224 |
|
56 |
- |
1225 |
; Log PostgreSQL backends Notice message or not.
|
4 |
- |
1226 |
; Unless pgsql.ignore_notice=0, module cannot log notice message.
|
56 |
- |
1227 |
; http://php.net/pgsql.log-notice
|
4 |
- |
1228 |
pgsql.log_notice = 0
|
|
|
1229 |
|
|
|
1230 |
[bcmath]
|
|
|
1231 |
; Number of decimal digits for all bcmath functions.
|
56 |
- |
1232 |
; http://php.net/bcmath.scale
|
4 |
- |
1233 |
bcmath.scale = 0
|
|
|
1234 |
|
|
|
1235 |
[browscap]
|
56 |
- |
1236 |
; http://php.net/browscap
|
4 |
- |
1237 |
;browscap = extra/browscap.ini
|
|
|
1238 |
|
|
|
1239 |
[Session]
|
|
|
1240 |
; Handler used to store/retrieve data.
|
56 |
- |
1241 |
; http://php.net/session.save-handler
|
4 |
- |
1242 |
session.save_handler = files
|
|
|
1243 |
|
|
|
1244 |
; Argument passed to save_handler. In the case of files, this is the path
|
|
|
1245 |
; where data files are stored. Note: Windows users have to change this
|
|
|
1246 |
; variable in order to use PHP's session functions.
|
|
|
1247 |
;
|
56 |
- |
1248 |
; The path can be defined as:
|
4 |
- |
1249 |
;
|
|
|
1250 |
; session.save_path = "N;/path"
|
|
|
1251 |
;
|
|
|
1252 |
; where N is an integer. Instead of storing all the session files in
|
|
|
1253 |
; /path, what this will do is use subdirectories N-levels deep, and
|
179 |
- |
1254 |
; store the session data in those directories. This is useful if
|
|
|
1255 |
; your OS has problems with many files in one directory, and is
|
|
|
1256 |
; a more efficient layout for servers that handle many sessions.
|
4 |
- |
1257 |
;
|
|
|
1258 |
; NOTE 1: PHP will not create this directory structure automatically.
|
|
|
1259 |
; You can use the script in the ext/session dir for that purpose.
|
|
|
1260 |
; NOTE 2: See the section on garbage collection below if you choose to
|
|
|
1261 |
; use subdirectories for session storage
|
|
|
1262 |
;
|
|
|
1263 |
; The file storage module creates files using mode 600 by default.
|
|
|
1264 |
; You can change that by using
|
|
|
1265 |
;
|
|
|
1266 |
; session.save_path = "N;MODE;/path"
|
|
|
1267 |
;
|
|
|
1268 |
; where MODE is the octal representation of the mode. Note that this
|
|
|
1269 |
; does not overwrite the process's umask.
|
56 |
- |
1270 |
; http://php.net/session.save-path
|
4 |
- |
1271 |
|
56 |
- |
1272 |
; RPM note : session directory must be owned by process owner
|
|
|
1273 |
; for mod_php, see /etc/httpd/conf.d/php.conf
|
|
|
1274 |
; for php-fpm, see /etc/php-fpm.d/*conf
|
|
|
1275 |
;session.save_path = "/tmp"
|
|
|
1276 |
|
179 |
- |
1277 |
; Whether to use strict session mode.
|
|
|
1278 |
; Strict session mode does not accept an uninitialized session ID, and
|
|
|
1279 |
; regenerates the session ID if the browser sends an uninitialized session ID.
|
|
|
1280 |
; Strict mode protects applications from session fixation via a session adoption
|
|
|
1281 |
; vulnerability. It is disabled by default for maximum compatibility, but
|
|
|
1282 |
; enabling it is encouraged.
|
|
|
1283 |
; https://wiki.php.net/rfc/strict_sessions
|
|
|
1284 |
session.use_strict_mode = 0
|
|
|
1285 |
|
4 |
- |
1286 |
; Whether to use cookies.
|
56 |
- |
1287 |
; http://php.net/session.use-cookies
|
4 |
- |
1288 |
session.use_cookies = 1
|
|
|
1289 |
|
56 |
- |
1290 |
; http://php.net/session.cookie-secure
|
4 |
- |
1291 |
;session.cookie_secure =
|
|
|
1292 |
|
|
|
1293 |
; This option forces PHP to fetch and use a cookie for storing and maintaining
|
56 |
- |
1294 |
; the session id. We encourage this operation as it's very helpful in combating
|
4 |
- |
1295 |
; session hijacking when not specifying and managing your own session id. It is
|
179 |
- |
1296 |
; not the be-all and end-all of session hijacking defense, but it's a good start.
|
56 |
- |
1297 |
; http://php.net/session.use-only-cookies
|
4 |
- |
1298 |
session.use_only_cookies = 1
|
|
|
1299 |
|
|
|
1300 |
; Name of the session (used as cookie name).
|
56 |
- |
1301 |
; http://php.net/session.name
|
4 |
- |
1302 |
session.name = PHPSESSID
|
|
|
1303 |
|
|
|
1304 |
; Initialize session on request startup.
|
56 |
- |
1305 |
; http://php.net/session.auto-start
|
4 |
- |
1306 |
session.auto_start = 0
|
|
|
1307 |
|
|
|
1308 |
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
|
56 |
- |
1309 |
; http://php.net/session.cookie-lifetime
|
4 |
- |
1310 |
session.cookie_lifetime = 0
|
|
|
1311 |
|
|
|
1312 |
; The path for which the cookie is valid.
|
56 |
- |
1313 |
; http://php.net/session.cookie-path
|
4 |
- |
1314 |
session.cookie_path = /
|
|
|
1315 |
|
|
|
1316 |
; The domain for which the cookie is valid.
|
56 |
- |
1317 |
; http://php.net/session.cookie-domain
|
4 |
- |
1318 |
session.cookie_domain =
|
|
|
1319 |
|
179 |
- |
1320 |
; Whether or not to add the httpOnly flag to the cookie, which makes it
|
|
|
1321 |
; inaccessible to browser scripting languages such as JavaScript.
|
56 |
- |
1322 |
; http://php.net/session.cookie-httponly
|
|
|
1323 |
session.cookie_httponly =
|
4 |
- |
1324 |
|
179 |
- |
1325 |
; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF)
|
|
|
1326 |
; Current valid values are "Lax" or "Strict"
|
|
|
1327 |
; https://tools.ietf.org/html/draft-west-first-party-cookies-07
|
|
|
1328 |
session.cookie_samesite =
|
|
|
1329 |
|
|
|
1330 |
; Handler used to serialize data. php is the standard serializer of PHP.
|
56 |
- |
1331 |
; http://php.net/session.serialize-handler
|
4 |
- |
1332 |
session.serialize_handler = php
|
|
|
1333 |
|
|
|
1334 |
; Defines the probability that the 'garbage collection' process is started
|
|
|
1335 |
; on every session initialization. The probability is calculated by using
|
|
|
1336 |
; gc_probability/gc_divisor. Where session.gc_probability is the numerator
|
|
|
1337 |
; and gc_divisor is the denominator in the equation. Setting this value to 1
|
|
|
1338 |
; when the session.gc_divisor value is 100 will give you approximately a 1% chance
|
179 |
- |
1339 |
; the gc will run on any given request.
|
4 |
- |
1340 |
; Default Value: 1
|
|
|
1341 |
; Development Value: 1
|
|
|
1342 |
; Production Value: 1
|
56 |
- |
1343 |
; http://php.net/session.gc-probability
|
4 |
- |
1344 |
session.gc_probability = 1
|
|
|
1345 |
|
|
|
1346 |
; Defines the probability that the 'garbage collection' process is started on every
|
56 |
- |
1347 |
; session initialization. The probability is calculated by using the following equation:
|
4 |
- |
1348 |
; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
|
179 |
- |
1349 |
; session.gc_divisor is the denominator in the equation. Setting this value to 100
|
|
|
1350 |
; when the session.gc_probability value is 1 will give you approximately a 1% chance
|
|
|
1351 |
; the gc will run on any given request. Increasing this value to 1000 will give you
|
|
|
1352 |
; a 0.1% chance the gc will run on any given request. For high volume production servers,
|
4 |
- |
1353 |
; this is a more efficient approach.
|
|
|
1354 |
; Default Value: 100
|
|
|
1355 |
; Development Value: 1000
|
|
|
1356 |
; Production Value: 1000
|
56 |
- |
1357 |
; http://php.net/session.gc-divisor
|
4 |
- |
1358 |
session.gc_divisor = 1000
|
|
|
1359 |
|
|
|
1360 |
; After this number of seconds, stored data will be seen as 'garbage' and
|
|
|
1361 |
; cleaned up by the garbage collection process.
|
56 |
- |
1362 |
; http://php.net/session.gc-maxlifetime
|
4 |
- |
1363 |
session.gc_maxlifetime = 1440
|
|
|
1364 |
|
|
|
1365 |
; NOTE: If you are using the subdirectory option for storing session files
|
|
|
1366 |
; (see session.save_path above), then garbage collection does *not*
|
|
|
1367 |
; happen automatically. You will need to do your own garbage
|
|
|
1368 |
; collection through a shell script, cron entry, or some other method.
|
|
|
1369 |
; For example, the following script would is the equivalent of
|
|
|
1370 |
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
|
179 |
- |
1371 |
; find /path/to/sessions -cmin +24 -type f | xargs rm
|
4 |
- |
1372 |
|
|
|
1373 |
; Check HTTP Referer to invalidate externally stored URLs containing ids.
|
|
|
1374 |
; HTTP_REFERER has to contain this substring for the session to be
|
|
|
1375 |
; considered as valid.
|
56 |
- |
1376 |
; http://php.net/session.referer-check
|
4 |
- |
1377 |
session.referer_check =
|
|
|
1378 |
|
|
|
1379 |
; Set to {nocache,private,public,} to determine HTTP caching aspects
|
|
|
1380 |
; or leave this empty to avoid sending anti-caching headers.
|
56 |
- |
1381 |
; http://php.net/session.cache-limiter
|
4 |
- |
1382 |
session.cache_limiter = nocache
|
|
|
1383 |
|
|
|
1384 |
; Document expires after n minutes.
|
56 |
- |
1385 |
; http://php.net/session.cache-expire
|
4 |
- |
1386 |
session.cache_expire = 180
|
|
|
1387 |
|
|
|
1388 |
; trans sid support is disabled by default.
|
179 |
- |
1389 |
; Use of trans sid may risk your users' security.
|
4 |
- |
1390 |
; Use this option with caution.
|
|
|
1391 |
; - User may send URL contains active session ID
|
|
|
1392 |
; to other person via. email/irc/etc.
|
|
|
1393 |
; - URL that contains active session ID may be stored
|
56 |
- |
1394 |
; in publicly accessible computer.
|
4 |
- |
1395 |
; - User may access your site with the same session ID
|
|
|
1396 |
; always using URL stored in browser's history or bookmarks.
|
56 |
- |
1397 |
; http://php.net/session.use-trans-sid
|
4 |
- |
1398 |
session.use_trans_sid = 0
|
|
|
1399 |
|
179 |
- |
1400 |
; Set session ID character length. This value could be between 22 to 256.
|
|
|
1401 |
; Shorter length than default is supported only for compatibility reason.
|
|
|
1402 |
; Users should use 32 or more chars.
|
|
|
1403 |
; http://php.net/session.sid-length
|
|
|
1404 |
; Default Value: 32
|
|
|
1405 |
; Development Value: 26
|
|
|
1406 |
; Production Value: 26
|
|
|
1407 |
session.sid_length = 26
|
4 |
- |
1408 |
|
179 |
- |
1409 |
; The URL rewriter will look for URLs in a defined set of HTML tags.
|
|
|
1410 |
; <form> is special; if you include them here, the rewriter will
|
|
|
1411 |
; add a hidden <input> field with the info which is otherwise appended
|
|
|
1412 |
; to URLs. <form> tag's action attribute URL will not be modified
|
|
|
1413 |
; unless it is specified.
|
|
|
1414 |
; Note that all valid entries require a "=", even if no value follows.
|
|
|
1415 |
; Default Value: "a=href,area=href,frame=src,form="
|
|
|
1416 |
; Development Value: "a=href,area=href,frame=src,form="
|
|
|
1417 |
; Production Value: "a=href,area=href,frame=src,form="
|
|
|
1418 |
; http://php.net/url-rewriter.tags
|
|
|
1419 |
session.trans_sid_tags = "a=href,area=href,frame=src,form="
|
|
|
1420 |
|
|
|
1421 |
; URL rewriter does not rewrite absolute URLs by default.
|
|
|
1422 |
; To enable rewrites for absolute paths, target hosts must be specified
|
|
|
1423 |
; at RUNTIME. i.e. use ini_set()
|
|
|
1424 |
; <form> tags is special. PHP will check action attribute's URL regardless
|
|
|
1425 |
; of session.trans_sid_tags setting.
|
|
|
1426 |
; If no host is defined, HTTP_HOST will be used for allowed host.
|
|
|
1427 |
; Example value: php.net,www.php.net,wiki.php.net
|
|
|
1428 |
; Use "," for multiple hosts. No spaces are allowed.
|
|
|
1429 |
; Default Value: ""
|
|
|
1430 |
; Development Value: ""
|
|
|
1431 |
; Production Value: ""
|
|
|
1432 |
;session.trans_sid_hosts=""
|
|
|
1433 |
|
4 |
- |
1434 |
; Define how many bits are stored in each character when converting
|
|
|
1435 |
; the binary hash data to something readable.
|
|
|
1436 |
; Possible values:
|
|
|
1437 |
; 4 (4 bits: 0-9, a-f)
|
|
|
1438 |
; 5 (5 bits: 0-9, a-v)
|
|
|
1439 |
; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
|
|
|
1440 |
; Default Value: 4
|
|
|
1441 |
; Development Value: 5
|
|
|
1442 |
; Production Value: 5
|
56 |
- |
1443 |
; http://php.net/session.hash-bits-per-character
|
179 |
- |
1444 |
session.sid_bits_per_character = 5
|
4 |
- |
1445 |
|
56 |
- |
1446 |
; Enable upload progress tracking in $_SESSION
|
|
|
1447 |
; Default Value: On
|
|
|
1448 |
; Development Value: On
|
|
|
1449 |
; Production Value: On
|
|
|
1450 |
; http://php.net/session.upload-progress.enabled
|
|
|
1451 |
;session.upload_progress.enabled = On
|
|
|
1452 |
|
|
|
1453 |
; Cleanup the progress information as soon as all POST data has been read
|
|
|
1454 |
; (i.e. upload completed).
|
|
|
1455 |
; Default Value: On
|
|
|
1456 |
; Development Value: On
|
|
|
1457 |
; Production Value: On
|
|
|
1458 |
; http://php.net/session.upload-progress.cleanup
|
|
|
1459 |
;session.upload_progress.cleanup = On
|
|
|
1460 |
|
|
|
1461 |
; A prefix used for the upload progress key in $_SESSION
|
|
|
1462 |
; Default Value: "upload_progress_"
|
|
|
1463 |
; Development Value: "upload_progress_"
|
|
|
1464 |
; Production Value: "upload_progress_"
|
|
|
1465 |
; http://php.net/session.upload-progress.prefix
|
|
|
1466 |
;session.upload_progress.prefix = "upload_progress_"
|
|
|
1467 |
|
|
|
1468 |
; The index name (concatenated with the prefix) in $_SESSION
|
|
|
1469 |
; containing the upload progress information
|
|
|
1470 |
; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
|
|
1471 |
; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
|
|
1472 |
; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
|
|
1473 |
; http://php.net/session.upload-progress.name
|
|
|
1474 |
;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
|
|
|
1475 |
|
|
|
1476 |
; How frequently the upload progress should be updated.
|
|
|
1477 |
; Given either in percentages (per-file), or in bytes
|
|
|
1478 |
; Default Value: "1%"
|
|
|
1479 |
; Development Value: "1%"
|
|
|
1480 |
; Production Value: "1%"
|
|
|
1481 |
; http://php.net/session.upload-progress.freq
|
|
|
1482 |
;session.upload_progress.freq = "1%"
|
|
|
1483 |
|
|
|
1484 |
; The minimum delay between updates, in seconds
|
|
|
1485 |
; Default Value: 1
|
|
|
1486 |
; Development Value: 1
|
|
|
1487 |
; Production Value: 1
|
|
|
1488 |
; http://php.net/session.upload-progress.min-freq
|
|
|
1489 |
;session.upload_progress.min_freq = "1"
|
|
|
1490 |
|
179 |
- |
1491 |
; Only write session data when session data is changed. Enabled by default.
|
|
|
1492 |
; http://php.net/session.lazy-write
|
|
|
1493 |
;session.lazy_write = On
|
4 |
- |
1494 |
|
179 |
- |
1495 |
[Assertion]
|
|
|
1496 |
; Switch whether to compile assertions at all (to have no overhead at run-time)
|
|
|
1497 |
; -1: Do not compile at all
|
|
|
1498 |
; 0: Jump over assertion at run-time
|
|
|
1499 |
; 1: Execute assertions
|
|
|
1500 |
; 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)
|
|
|
1501 |
; Default Value: 1
|
|
|
1502 |
; Development Value: 1
|
|
|
1503 |
; Production Value: -1
|
|
|
1504 |
; http://php.net/zend.assertions
|
|
|
1505 |
zend.assertions = -1
|
4 |
- |
1506 |
|
|
|
1507 |
; Assert(expr); active by default.
|
56 |
- |
1508 |
; http://php.net/assert.active
|
4 |
- |
1509 |
;assert.active = On
|
|
|
1510 |
|
179 |
- |
1511 |
; Throw an AssertionError on failed assertions
|
|
|
1512 |
; http://php.net/assert.exception
|
|
|
1513 |
;assert.exception = On
|
|
|
1514 |
|
|
|
1515 |
; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
|
56 |
- |
1516 |
; http://php.net/assert.warning
|
4 |
- |
1517 |
;assert.warning = On
|
|
|
1518 |
|
|
|
1519 |
; Don't bail out by default.
|
56 |
- |
1520 |
; http://php.net/assert.bail
|
4 |
- |
1521 |
;assert.bail = Off
|
|
|
1522 |
|
|
|
1523 |
; User-function to be called if an assertion fails.
|
56 |
- |
1524 |
; http://php.net/assert.callback
|
4 |
- |
1525 |
;assert.callback = 0
|
|
|
1526 |
|
|
|
1527 |
; Eval the expression with current error_reporting(). Set to true if you want
|
|
|
1528 |
; error_reporting(0) around the eval().
|
56 |
- |
1529 |
; http://php.net/assert.quiet-eval
|
4 |
- |
1530 |
;assert.quiet_eval = 0
|
|
|
1531 |
|
|
|
1532 |
[mbstring]
|
|
|
1533 |
; language for internal character representation.
|
179 |
- |
1534 |
; This affects mb_send_mail() and mbstring.detect_order.
|
56 |
- |
1535 |
; http://php.net/mbstring.language
|
4 |
- |
1536 |
;mbstring.language = Japanese
|
|
|
1537 |
|
179 |
- |
1538 |
; Use of this INI entry is deprecated, use global internal_encoding instead.
|
4 |
- |
1539 |
; internal/script encoding.
|
179 |
- |
1540 |
; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
|
|
|
1541 |
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
|
|
|
1542 |
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
|
|
|
1543 |
;mbstring.internal_encoding =
|
4 |
- |
1544 |
|
179 |
- |
1545 |
; Use of this INI entry is deprecated, use global input_encoding instead.
|
4 |
- |
1546 |
; http input encoding.
|
179 |
- |
1547 |
; mbstring.encoding_translation = On is needed to use this setting.
|
|
|
1548 |
; If empty, default_charset or input_encoding or mbstring.input is used.
|
|
|
1549 |
; The precedence is: default_charset < input_encoding < mbsting.http_input
|
56 |
- |
1550 |
; http://php.net/mbstring.http-input
|
179 |
- |
1551 |
;mbstring.http_input =
|
4 |
- |
1552 |
|
179 |
- |
1553 |
; Use of this INI entry is deprecated, use global output_encoding instead.
|
|
|
1554 |
; http output encoding.
|
|
|
1555 |
; mb_output_handler must be registered as output buffer to function.
|
|
|
1556 |
; If empty, default_charset or output_encoding or mbstring.http_output is used.
|
|
|
1557 |
; The precedence is: default_charset < output_encoding < mbstring.http_output
|
|
|
1558 |
; To use an output encoding conversion, mbstring's output handler must be set
|
|
|
1559 |
; otherwise output encoding conversion cannot be performed.
|
56 |
- |
1560 |
; http://php.net/mbstring.http-output
|
179 |
- |
1561 |
;mbstring.http_output =
|
4 |
- |
1562 |
|
|
|
1563 |
; enable automatic encoding translation according to
|
|
|
1564 |
; mbstring.internal_encoding setting. Input chars are
|
|
|
1565 |
; converted to internal encoding by setting this to On.
|
|
|
1566 |
; Note: Do _not_ use automatic encoding translation for
|
|
|
1567 |
; portable libs/applications.
|
56 |
- |
1568 |
; http://php.net/mbstring.encoding-translation
|
4 |
- |
1569 |
;mbstring.encoding_translation = Off
|
|
|
1570 |
|
|
|
1571 |
; automatic encoding detection order.
|
179 |
- |
1572 |
; "auto" detect order is changed according to mbstring.language
|
56 |
- |
1573 |
; http://php.net/mbstring.detect-order
|
4 |
- |
1574 |
;mbstring.detect_order = auto
|
|
|
1575 |
|
|
|
1576 |
; substitute_character used when character cannot be converted
|
|
|
1577 |
; one from another
|
56 |
- |
1578 |
; http://php.net/mbstring.substitute-character
|
179 |
- |
1579 |
;mbstring.substitute_character = none
|
4 |
- |
1580 |
|
|
|
1581 |
; overload(replace) single byte functions by mbstring functions.
|
|
|
1582 |
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
|
|
|
1583 |
; etc. Possible values are 0,1,2,4 or combination of them.
|
|
|
1584 |
; For example, 7 for overload everything.
|
|
|
1585 |
; 0: No overload
|
|
|
1586 |
; 1: Overload mail() function
|
|
|
1587 |
; 2: Overload str*() functions
|
|
|
1588 |
; 4: Overload ereg*() functions
|
56 |
- |
1589 |
; http://php.net/mbstring.func-overload
|
4 |
- |
1590 |
;mbstring.func_overload = 0
|
|
|
1591 |
|
|
|
1592 |
; enable strict encoding detection.
|
179 |
- |
1593 |
; Default: Off
|
|
|
1594 |
;mbstring.strict_detection = On
|
4 |
- |
1595 |
|
|
|
1596 |
; This directive specifies the regex pattern of content types for which mb_output_handler()
|
|
|
1597 |
; is activated.
|
|
|
1598 |
; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
|
|
|
1599 |
;mbstring.http_output_conv_mimetype=
|
|
|
1600 |
|
|
|
1601 |
[gd]
|
|
|
1602 |
; Tell the jpeg decode to ignore warnings and try to create
|
|
|
1603 |
; a gd image. The warning will then be displayed as notices
|
|
|
1604 |
; disabled by default
|
56 |
- |
1605 |
; http://php.net/gd.jpeg-ignore-warning
|
179 |
- |
1606 |
;gd.jpeg_ignore_warning = 1
|
4 |
- |
1607 |
|
|
|
1608 |
[exif]
|
|
|
1609 |
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
|
|
|
1610 |
; With mbstring support this will automatically be converted into the encoding
|
|
|
1611 |
; given by corresponding encode setting. When empty mbstring.internal_encoding
|
|
|
1612 |
; is used. For the decode settings you can distinguish between motorola and
|
|
|
1613 |
; intel byte order. A decode setting cannot be empty.
|
56 |
- |
1614 |
; http://php.net/exif.encode-unicode
|
4 |
- |
1615 |
;exif.encode_unicode = ISO-8859-15
|
|
|
1616 |
|
56 |
- |
1617 |
; http://php.net/exif.decode-unicode-motorola
|
4 |
- |
1618 |
;exif.decode_unicode_motorola = UCS-2BE
|
|
|
1619 |
|
56 |
- |
1620 |
; http://php.net/exif.decode-unicode-intel
|
4 |
- |
1621 |
;exif.decode_unicode_intel = UCS-2LE
|
|
|
1622 |
|
56 |
- |
1623 |
; http://php.net/exif.encode-jis
|
4 |
- |
1624 |
;exif.encode_jis =
|
|
|
1625 |
|
56 |
- |
1626 |
; http://php.net/exif.decode-jis-motorola
|
4 |
- |
1627 |
;exif.decode_jis_motorola = JIS
|
|
|
1628 |
|
56 |
- |
1629 |
; http://php.net/exif.decode-jis-intel
|
4 |
- |
1630 |
;exif.decode_jis_intel = JIS
|
|
|
1631 |
|
|
|
1632 |
[Tidy]
|
|
|
1633 |
; The path to a default tidy configuration file to use when using tidy
|
56 |
- |
1634 |
; http://php.net/tidy.default-config
|
4 |
- |
1635 |
;tidy.default_config = /usr/local/lib/php/default.tcfg
|
|
|
1636 |
|
|
|
1637 |
; Should tidy clean and repair output automatically?
|
|
|
1638 |
; WARNING: Do not use this option if you are generating non-html content
|
|
|
1639 |
; such as dynamic images
|
56 |
- |
1640 |
; http://php.net/tidy.clean-output
|
4 |
- |
1641 |
tidy.clean_output = Off
|
|
|
1642 |
|
|
|
1643 |
[soap]
|
|
|
1644 |
; Enables or disables WSDL caching feature.
|
56 |
- |
1645 |
; http://php.net/soap.wsdl-cache-enabled
|
4 |
- |
1646 |
soap.wsdl_cache_enabled=1
|
|
|
1647 |
|
|
|
1648 |
; Sets the directory name where SOAP extension will put cache files.
|
56 |
- |
1649 |
; http://php.net/soap.wsdl-cache-dir
|
179 |
- |
1650 |
|
|
|
1651 |
; RPM note : cache directory must be owned by process owner
|
|
|
1652 |
; for mod_php, see /etc/httpd/conf.d/php.conf
|
|
|
1653 |
; for php-fpm, see /etc/php-fpm.d/*conf
|
4 |
- |
1654 |
soap.wsdl_cache_dir="/tmp"
|
|
|
1655 |
|
56 |
- |
1656 |
; (time to live) Sets the number of second while cached file will be used
|
4 |
- |
1657 |
; instead of original one.
|
56 |
- |
1658 |
; http://php.net/soap.wsdl-cache-ttl
|
4 |
- |
1659 |
soap.wsdl_cache_ttl=86400
|
|
|
1660 |
|
56 |
- |
1661 |
; Sets the size of the cache limit. (Max. number of WSDL files to cache)
|
|
|
1662 |
soap.wsdl_cache_limit = 5
|
|
|
1663 |
|
4 |
- |
1664 |
[sysvshm]
|
|
|
1665 |
; A default size of the shared memory segment
|
|
|
1666 |
;sysvshm.init_mem = 10000
|
|
|
1667 |
|
56 |
- |
1668 |
[ldap]
|
|
|
1669 |
; Sets the maximum number of open links or -1 for unlimited.
|
|
|
1670 |
ldap.max_links = -1
|
4 |
- |
1671 |
|
179 |
- |
1672 |
[dba]
|
|
|
1673 |
;dba.default_handler=
|
56 |
- |
1674 |
|
179 |
- |
1675 |
[curl]
|
|
|
1676 |
; A default value for the CURLOPT_CAINFO option. This is required to be an
|
|
|
1677 |
; absolute path.
|
|
|
1678 |
;curl.cainfo =
|
56 |
- |
1679 |
|
179 |
- |
1680 |
[openssl]
|
|
|
1681 |
; The location of a Certificate Authority (CA) file on the local filesystem
|
|
|
1682 |
; to use when verifying the identity of SSL/TLS peers. Most users should
|
|
|
1683 |
; not specify a value for this directive as PHP will attempt to use the
|
|
|
1684 |
; OS-managed cert stores in its absence. If specified, this value may still
|
|
|
1685 |
; be overridden on a per-stream basis via the "cafile" SSL stream context
|
|
|
1686 |
; option.
|
|
|
1687 |
;openssl.cafile=
|
56 |
- |
1688 |
|
179 |
- |
1689 |
; If openssl.cafile is not specified or if the CA file is not found, the
|
|
|
1690 |
; directory pointed to by openssl.capath is searched for a suitable
|
|
|
1691 |
; certificate. This value must be a correctly hashed certificate directory.
|
|
|
1692 |
; Most users should not specify a value for this directive as PHP will
|
|
|
1693 |
; attempt to use the OS-managed cert stores in its absence. If specified,
|
|
|
1694 |
; this value may still be overridden on a per-stream basis via the "capath"
|
|
|
1695 |
; SSL stream context option.
|
|
|
1696 |
;openssl.capath=
|
56 |
- |
1697 |
|
4 |
- |
1698 |
; Local Variables:
|
|
|
1699 |
; tab-width: 4
|
|
|
1700 |
; End:
|