· 9 years ago · Mar 21, 2017, 10:22 PM
1:/etc/php/7.0/fpm$ cat php-fpm.conf
2;;;;;;;;;;;;;;;;;;;;;
3; FPM Configuration ;
4;;;;;;;;;;;;;;;;;;;;;
5
6; All relative paths in this configuration file are relative to PHP's install
7; prefix (/usr). This prefix can be dynamically changed by using the
8; '-p' argument from the command line.
9
10;;;;;;;;;;;;;;;;;;
11; Global Options ;
12;;;;;;;;;;;;;;;;;;
13
14[global]
15; Pid file
16; Note: the default prefix is /var
17; Default Value: none
18pid = /run/php/php7.0-fpm.pid
19
20; Error log file
21; If it's set to "syslog", log is sent to syslogd instead of being written
22; in a local file.
23; Note: the default prefix is /var
24; Default Value: log/php-fpm.log
25error_log = /var/log/php7.0-fpm.log
26
27; syslog_facility is used to specify what type of program is logging the
28; message. This lets syslogd specify that messages from different facilities
29; will be handled differently.
30; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
31; Default Value: daemon
32;syslog.facility = daemon
33
34; syslog_ident is prepended to every message. If you have multiple FPM
35; instances running on the same server, you can change the default value
36; which must suit common needs.
37; Default Value: php-fpm
38;syslog.ident = php-fpm
39
40; Log level
41; Possible Values: alert, error, warning, notice, debug
42; Default Value: notice
43;log_level = notice
44
45; If this number of child processes exit with SIGSEGV or SIGBUS within the time
46; interval set by emergency_restart_interval then FPM will restart. A value
47; of '0' means 'Off'.
48; Default Value: 0
49;emergency_restart_threshold = 0
50
51; Interval of time used by emergency_restart_interval to determine when
52; a graceful restart will be initiated. This can be useful to work around
53; accidental corruptions in an accelerator's shared memory.
54; Available Units: s(econds), m(inutes), h(ours), or d(ays)
55; Default Unit: seconds
56; Default Value: 0
57;emergency_restart_interval = 0
58
59; Time limit for child processes to wait for a reaction on signals from master.
60; Available units: s(econds), m(inutes), h(ours), or d(ays)
61; Default Unit: seconds
62; Default Value: 0
63;process_control_timeout = 0
64
65; The maximum number of processes FPM will fork. This has been design to control
66; the global number of processes when using dynamic PM within a lot of pools.
67; Use it with caution.
68; Note: A value of 0 indicates no limit
69; Default Value: 0
70; process.max = 128
71
72; Specify the nice(2) priority to apply to the master process (only if set)
73; The value can vary from -19 (highest priority) to 20 (lower priority)
74; Note: - It will only work if the FPM master process is launched as root
75; - The pool process will inherit the master process priority
76; unless it specified otherwise
77; Default Value: no set
78; process.priority = -19
79
80; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
81; Default Value: yes
82;daemonize = yes
83
84; Set open file descriptor rlimit for the master process.
85; Default Value: system defined value
86;rlimit_files = 1024
87
88; Set max core size rlimit for the master process.
89; Possible Values: 'unlimited' or an integer greater or equal to 0
90; Default Value: system defined value
91;rlimit_core = 0
92
93; Specify the event mechanism FPM will use. The following is available:
94; - select (any POSIX os)
95; - poll (any POSIX os)
96; - epoll (linux >= 2.5.44)
97; - kqueue (FreeBSD >= 4.1, OpenBSD >= 2.9, NetBSD >= 2.0)
98; - /dev/poll (Solaris >= 7)
99; - port (Solaris >= 10)
100; Default Value: not set (auto detection)
101;events.mechanism = epoll
102
103; When FPM is build with systemd integration, specify the interval,
104; in second, between health report notification to systemd.
105; Set to 0 to disable.
106; Available Units: s(econds), m(inutes), h(ours)
107; Default Unit: seconds
108; Default value: 10
109;systemd_interval = 10
110
111;;;;;;;;;;;;;;;;;;;;
112; Pool Definitions ;
113;;;;;;;;;;;;;;;;;;;;
114
115; Multiple pools of child processes may be started with different listening
116; ports and different management options. The name of the pool will be
117; used in logs and stats. There is no limitation on the number of pools which
118; FPM can handle. Your system will tell you anyway :)
119
120; Include one or more files. If glob(3) exists, it is used to include a bunch of
121; files from a glob(3) pattern. This directive can be used everywhere in the
122; file.
123; Relative path can also be used. They will be prefixed by:
124; - the global prefix if it's been set (-p argument)
125; - /usr otherwise
126include=/etc/php/7.0/fpm/pool.d/*.conf
127:/etc/php/7.0/fpm$ cat
128conf.d/ php-fpm.conf php.ini pool.d/
129:/etc/php/7.0/fpm$ cat php.ini
130[PHP]
131
132;;;;;;;;;;;;;;;;;;;
133; About php.ini ;
134;;;;;;;;;;;;;;;;;;;
135; PHP's initialization file, generally called php.ini, is responsible for
136; configuring many of the aspects of PHP's behavior.
137
138; PHP attempts to find and load this configuration from a number of locations.
139; The following is a summary of its search order:
140; 1. SAPI module specific location.
141; 2. The PHPRC environment variable. (As of PHP 5.2.0)
142; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
143; 4. Current working directory (except CLI)
144; 5. The web server's directory (for SAPI modules), or directory of PHP
145; (otherwise in Windows)
146; 6. The directory from the --with-config-file-path compile time option, or the
147; Windows directory (C:\windows or C:\winnt)
148; See the PHP docs for more specific information.
149; http://php.net/configuration.file
150
151; The syntax of the file is extremely simple. Whitespace and lines
152; beginning with a semicolon are silently ignored (as you probably guessed).
153; Section headers (e.g. [Foo]) are also silently ignored, even though
154; they might mean something in the future.
155
156; Directives following the section heading [PATH=/www/mysite] only
157; apply to PHP files in the /www/mysite directory. Directives
158; following the section heading [HOST=www.example.com] only apply to
159; PHP files served from www.example.com. Directives set in these
160; special sections cannot be overridden by user-defined INI files or
161; at runtime. Currently, [PATH=] and [HOST=] sections only work under
162; CGI/FastCGI.
163; http://php.net/ini.sections
164
165; Directives are specified using the following syntax:
166; directive = value
167; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
168; Directives are variables used to configure PHP or PHP extensions.
169; There is no name validation. If PHP can't find an expected
170; directive because it is not set or is mistyped, a default value will be used.
171
172; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
173; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
174; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
175; previously set variable or directive (e.g. ${foo})
176
177; Expressions in the INI file are limited to bitwise operators and parentheses:
178; | bitwise OR
179; ^ bitwise XOR
180; & bitwise AND
181; ~ bitwise NOT
182; ! boolean NOT
183
184; Boolean flags can be turned on using the values 1, On, True or Yes.
185; They can be turned off using the values 0, Off, False or No.
186
187; An empty string can be denoted by simply not writing anything after the equal
188; sign, or by using the None keyword:
189
190; foo = ; sets foo to an empty string
191; foo = None ; sets foo to an empty string
192; foo = "None" ; sets foo to the string 'None'
193
194; If you use constants in your value, and these constants belong to a
195; dynamically loaded extension (either a PHP extension or a Zend extension),
196; you may only use these constants *after* the line that loads the extension.
197
198;;;;;;;;;;;;;;;;;;;
199; About this file ;
200;;;;;;;;;;;;;;;;;;;
201; PHP comes packaged with two INI files. One that is recommended to be used
202; in production environments and one that is recommended to be used in
203; development environments.
204
205; php.ini-production contains settings which hold security, performance and
206; best practices at its core. But please be aware, these settings may break
207; compatibility with older or less security conscience applications. We
208; recommending using the production ini in production and testing environments.
209
210; php.ini-development is very similar to its production variant, except it is
211; much more verbose when it comes to errors. We recommend using the
212; development version only in development environments, as errors shown to
213; application users can inadvertently leak otherwise secure information.
214
215; This is php.ini-production INI file.
216
217;;;;;;;;;;;;;;;;;;;
218; Quick Reference ;
219;;;;;;;;;;;;;;;;;;;
220; The following are all the settings which are different in either the production
221; or development versions of the INIs with respect to PHP's default behavior.
222; Please see the actual settings later in the document for more details as to why
223; we recommend these changes in PHP's behavior.
224
225; display_errors
226; Default Value: On
227; Development Value: On
228; Production Value: Off
229
230; display_startup_errors
231; Default Value: Off
232; Development Value: On
233; Production Value: Off
234
235; error_reporting
236; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
237; Development Value: E_ALL
238; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
239
240; html_errors
241; Default Value: On
242; Development Value: On
243; Production value: On
244
245; log_errors
246; Default Value: Off
247; Development Value: On
248; Production Value: On
249
250; max_input_time
251; Default Value: -1 (Unlimited)
252; Development Value: 60 (60 seconds)
253; Production Value: 60 (60 seconds)
254
255; output_buffering
256; Default Value: Off
257; Development Value: 4096
258; Production Value: 4096
259
260; register_argc_argv
261; Default Value: On
262; Development Value: Off
263; Production Value: Off
264
265; request_order
266; Default Value: None
267; Development Value: "GP"
268; Production Value: "GP"
269
270; session.gc_divisor
271; Default Value: 100
272; Development Value: 1000
273; Production Value: 1000
274
275; session.hash_bits_per_character
276; Default Value: 4
277; Development Value: 5
278; Production Value: 5
279
280; short_open_tag
281; Default Value: On
282; Development Value: Off
283; Production Value: Off
284
285; track_errors
286; Default Value: Off
287; Development Value: On
288; Production Value: Off
289
290; url_rewriter.tags
291; Default Value: "a=href,area=href,frame=src,form=,fieldset="
292; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
293; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
294
295; variables_order
296; Default Value: "EGPCS"
297; Development Value: "GPCS"
298; Production Value: "GPCS"
299
300;;;;;;;;;;;;;;;;;;;;
301; php.ini Options ;
302;;;;;;;;;;;;;;;;;;;;
303; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
304;user_ini.filename = ".user.ini"
305
306; To disable this feature set this option to empty value
307;user_ini.filename =
308
309; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
310;user_ini.cache_ttl = 300
311
312;;;;;;;;;;;;;;;;;;;;
313; Language Options ;
314;;;;;;;;;;;;;;;;;;;;
315
316; Enable the PHP scripting language engine under Apache.
317; http://php.net/engine
318engine = On
319
320; This directive determines whether or not PHP will recognize code between
321; <? and ?> tags as PHP source which should be processed as such. It is
322; generally recommended that <?php and ?> should be used and that this feature
323; should be disabled, as enabling it may result in issues when generating XML
324; documents, however this remains supported for backward compatibility reasons.
325; Note that this directive does not control the <?= shorthand tag, which can be
326; used regardless of this directive.
327; Default Value: On
328; Development Value: Off
329; Production Value: Off
330; http://php.net/short-open-tag
331short_open_tag = Off
332
333; The number of significant digits displayed in floating point numbers.
334; http://php.net/precision
335precision = 14
336
337; Output buffering is a mechanism for controlling how much output data
338; (excluding headers and cookies) PHP should keep internally before pushing that
339; data to the client. If your application's output exceeds this setting, PHP
340; will send that data in chunks of roughly the size you specify.
341; Turning on this setting and managing its maximum buffer size can yield some
342; interesting side-effects depending on your application and web server.
343; You may be able to send headers and cookies after you've already sent output
344; through print or echo. You also may see performance benefits if your server is
345; emitting less packets due to buffered output versus PHP streaming the output
346; as it gets it. On production servers, 4096 bytes is a good setting for performance
347; reasons.
348; Note: Output buffering can also be controlled via Output Buffering Control
349; functions.
350; Possible Values:
351; On = Enabled and buffer is unlimited. (Use with caution)
352; Off = Disabled
353; Integer = Enables the buffer and sets its maximum size in bytes.
354; Note: This directive is hardcoded to Off for the CLI SAPI
355; Default Value: Off
356; Development Value: 4096
357; Production Value: 4096
358; http://php.net/output-buffering
359output_buffering = 4096
360
361; You can redirect all of the output of your scripts to a function. For
362; example, if you set output_handler to "mb_output_handler", character
363; encoding will be transparently converted to the specified encoding.
364; Setting any output handler automatically turns on output buffering.
365; Note: People who wrote portable scripts should not depend on this ini
366; directive. Instead, explicitly set the output handler using ob_start().
367; Using this ini directive may cause problems unless you know what script
368; is doing.
369; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
370; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
371; Note: output_handler must be empty if this is set 'On' !!!!
372; Instead you must use zlib.output_handler.
373; http://php.net/output-handler
374;output_handler =
375
376; Transparent output compression using the zlib library
377; Valid values for this option are 'off', 'on', or a specific buffer size
378; to be used for compression (default is 4KB)
379; Note: Resulting chunk size may vary due to nature of compression. PHP
380; outputs chunks that are few hundreds bytes each as a result of
381; compression. If you prefer a larger chunk size for better
382; performance, enable output_buffering in addition.
383; Note: You need to use zlib.output_handler instead of the standard
384; output_handler, or otherwise the output will be corrupted.
385; http://php.net/zlib.output-compression
386zlib.output_compression = Off
387
388; http://php.net/zlib.output-compression-level
389;zlib.output_compression_level = -1
390
391; You cannot specify additional output handlers if zlib.output_compression
392; is activated here. This setting does the same as output_handler but in
393; a different order.
394; http://php.net/zlib.output-handler
395;zlib.output_handler =
396
397; Implicit flush tells PHP to tell the output layer to flush itself
398; automatically after every output block. This is equivalent to calling the
399; PHP function flush() after each and every call to print() or echo() and each
400; and every HTML block. Turning this option on has serious performance
401; implications and is generally recommended for debugging purposes only.
402; http://php.net/implicit-flush
403; Note: This directive is hardcoded to On for the CLI SAPI
404implicit_flush = Off
405
406; The unserialize callback function will be called (with the undefined class'
407; name as parameter), if the unserializer finds an undefined class
408; which should be instantiated. A warning appears if the specified function is
409; not defined, or if the function doesn't include/implement the missing class.
410; So only set this entry, if you really want to implement such a
411; callback-function.
412unserialize_callback_func =
413
414; When floats & doubles are serialized store serialize_precision significant
415; digits after the floating point. The default value ensures that when floats
416; are decoded with unserialize, the data will remain the same.
417serialize_precision = 17
418
419; open_basedir, if set, limits all file operations to the defined directory
420; and below. This directive makes most sense if used in a per-directory
421; or per-virtualhost web server configuration file.
422; http://php.net/open-basedir
423;open_basedir =
424
425; This directive allows you to disable certain functions for security reasons.
426; It receives a comma-delimited list of function names.
427; http://php.net/disable-functions
428disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
429
430; This directive allows you to disable certain classes for security reasons.
431; It receives a comma-delimited list of class names.
432; http://php.net/disable-classes
433disable_classes =
434
435; Colors for Syntax Highlighting mode. Anything that's acceptable in
436; <span style="color: ???????"> would work.
437; http://php.net/syntax-highlighting
438;highlight.string = #DD0000
439;highlight.comment = #FF9900
440;highlight.keyword = #007700
441;highlight.default = #0000BB
442;highlight.html = #000000
443
444; If enabled, the request will be allowed to complete even if the user aborts
445; the request. Consider enabling it if executing long requests, which may end up
446; being interrupted by the user or a browser timing out. PHP's default behavior
447; is to disable this feature.
448; http://php.net/ignore-user-abort
449;ignore_user_abort = On
450
451; Determines the size of the realpath cache to be used by PHP. This value should
452; be increased on systems where PHP opens many files to reflect the quantity of
453; the file operations performed.
454; http://php.net/realpath-cache-size
455;realpath_cache_size = 16k
456
457; Duration of time, in seconds for which to cache realpath information for a given
458; file or directory. For systems with rarely changing files, consider increasing this
459; value.
460; http://php.net/realpath-cache-ttl
461;realpath_cache_ttl = 120
462
463; Enables or disables the circular reference collector.
464; http://php.net/zend.enable-gc
465zend.enable_gc = On
466
467; If enabled, scripts may be written in encodings that are incompatible with
468; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
469; encodings. To use this feature, mbstring extension must be enabled.
470; Default: Off
471;zend.multibyte = Off
472
473; Allows to set the default encoding for the scripts. This value will be used
474; unless "declare(encoding=...)" directive appears at the top of the script.
475; Only affects if zend.multibyte is set.
476; Default: ""
477;zend.script_encoding =
478
479;;;;;;;;;;;;;;;;;
480; Miscellaneous ;
481;;;;;;;;;;;;;;;;;
482
483; Decides whether PHP may expose the fact that it is installed on the server
484; (e.g. by adding its signature to the Web server header). It is no security
485; threat in any way, but it makes it possible to determine whether you use PHP
486; on your server or not.
487; http://php.net/expose-php
488expose_php = Off
489
490;;;;;;;;;;;;;;;;;;;
491; Resource Limits ;
492;;;;;;;;;;;;;;;;;;;
493
494; Maximum execution time of each script, in seconds
495; http://php.net/max-execution-time
496; Note: This directive is hardcoded to 0 for the CLI SAPI
497max_execution_time = 30
498
499; Maximum amount of time each script may spend parsing request data. It's a good
500; idea to limit this time on productions servers in order to eliminate unexpectedly
501; long running scripts.
502; Note: This directive is hardcoded to -1 for the CLI SAPI
503; Default Value: -1 (Unlimited)
504; Development Value: 60 (60 seconds)
505; Production Value: 60 (60 seconds)
506; http://php.net/max-input-time
507max_input_time = 60
508
509; Maximum input variable nesting level
510; http://php.net/max-input-nesting-level
511;max_input_nesting_level = 64
512
513; How many GET/POST/COOKIE input variables may be accepted
514; max_input_vars = 1000
515
516; Maximum amount of memory a script may consume (128MB)
517; http://php.net/memory-limit
518memory_limit = 128M
519
520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
521; Error handling and logging ;
522;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
523
524; This directive informs PHP of which errors, warnings and notices you would like
525; it to take action for. The recommended way of setting values for this
526; directive is through the use of the error level constants and bitwise
527; operators. The error level constants are below here for convenience as well as
528; some common settings and their meanings.
529; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
530; those related to E_NOTICE and E_STRICT, which together cover best practices and
531; recommended coding standards in PHP. For performance reasons, this is the
532; recommend error reporting setting. Your production server shouldn't be wasting
533; resources complaining about best practices and coding standards. That's what
534; development servers and development settings are for.
535; Note: The php.ini-development file has this setting as E_ALL. This
536; means it pretty much reports everything which is exactly what you want during
537; development and early testing.
538;
539; Error Level Constants:
540; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
541; E_ERROR - fatal run-time errors
542; E_RECOVERABLE_ERROR - almost fatal run-time errors
543; E_WARNING - run-time warnings (non-fatal errors)
544; E_PARSE - compile-time parse errors
545; E_NOTICE - run-time notices (these are warnings which often result
546; from a bug in your code, but it's possible that it was
547; intentional (e.g., using an uninitialized variable and
548; relying on the fact it is automatically initialized to an
549; empty string)
550; E_STRICT - run-time notices, enable to have PHP suggest changes
551; to your code which will ensure the best interoperability
552; and forward compatibility of your code
553; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
554; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
555; initial startup
556; E_COMPILE_ERROR - fatal compile-time errors
557; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
558; E_USER_ERROR - user-generated error message
559; E_USER_WARNING - user-generated warning message
560; E_USER_NOTICE - user-generated notice message
561; E_DEPRECATED - warn about code that will not work in future versions
562; of PHP
563; E_USER_DEPRECATED - user-generated deprecation warnings
564;
565; Common Values:
566; E_ALL (Show all errors, warnings and notices including coding standards.)
567; E_ALL & ~E_NOTICE (Show all errors, except for notices)
568; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
569; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
570; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
571; Development Value: E_ALL
572; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
573; http://php.net/error-reporting
574error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
575
576; This directive controls whether or not and where PHP will output errors,
577; notices and warnings too. Error output is very useful during development, but
578; it could be very dangerous in production environments. Depending on the code
579; which is triggering the error, sensitive information could potentially leak
580; out of your application such as database usernames and passwords or worse.
581; For production environments, we recommend logging errors rather than
582; sending them to STDOUT.
583; Possible Values:
584; Off = Do not display any errors
585; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
586; On or stdout = Display errors to STDOUT
587; Default Value: On
588; Development Value: On
589; Production Value: Off
590; http://php.net/display-errors
591display_errors = Off
592
593; The display of errors which occur during PHP's startup sequence are handled
594; separately from display_errors. PHP's default behavior is to suppress those
595; errors from clients. Turning the display of startup errors on can be useful in
596; debugging configuration problems. We strongly recommend you
597; set this to 'off' for production servers.
598; Default Value: Off
599; Development Value: On
600; Production Value: Off
601; http://php.net/display-startup-errors
602display_startup_errors = Off
603
604; Besides displaying errors, PHP can also log errors to locations such as a
605; server-specific log, STDERR, or a location specified by the error_log
606; directive found below. While errors should not be displayed on productions
607; servers they should still be monitored and logging is a great way to do that.
608; Default Value: Off
609; Development Value: On
610; Production Value: On
611; http://php.net/log-errors
612log_errors = On
613
614; Set maximum length of log_errors. In error_log information about the source is
615; added. The default is 1024 and 0 allows to not apply any maximum length at all.
616; http://php.net/log-errors-max-len
617log_errors_max_len = 1024
618
619; Do not log repeated messages. Repeated errors must occur in same file on same
620; line unless ignore_repeated_source is set true.
621; http://php.net/ignore-repeated-errors
622ignore_repeated_errors = Off
623
624; Ignore source of message when ignoring repeated messages. When this setting
625; is On you will not log errors with repeated messages from different files or
626; source lines.
627; http://php.net/ignore-repeated-source
628ignore_repeated_source = Off
629
630; If this parameter is set to Off, then memory leaks will not be shown (on
631; stdout or in the log). This has only effect in a debug compile, and if
632; error reporting includes E_WARNING in the allowed list
633; http://php.net/report-memleaks
634report_memleaks = On
635
636; This setting is on by default.
637;report_zend_debug = 0
638
639; Store the last error/warning message in $php_errormsg (boolean). Setting this value
640; to On can assist in debugging and is appropriate for development servers. It should
641; however be disabled on production servers.
642; Default Value: Off
643; Development Value: On
644; Production Value: Off
645; http://php.net/track-errors
646track_errors = Off
647
648; Turn off normal error reporting and emit XML-RPC error XML
649; http://php.net/xmlrpc-errors
650;xmlrpc_errors = 0
651
652; An XML-RPC faultCode
653;xmlrpc_error_number = 0
654
655; When PHP displays or logs an error, it has the capability of formatting the
656; error message as HTML for easier reading. This directive controls whether
657; the error message is formatted as HTML or not.
658; Note: This directive is hardcoded to Off for the CLI SAPI
659; Default Value: On
660; Development Value: On
661; Production value: On
662; http://php.net/html-errors
663html_errors = On
664
665; If html_errors is set to On *and* docref_root is not empty, then PHP
666; produces clickable error messages that direct to a page describing the error
667; or function causing the error in detail.
668; You can download a copy of the PHP manual from http://php.net/docs
669; and change docref_root to the base URL of your local copy including the
670; leading '/'. You must also specify the file extension being used including
671; the dot. PHP's default behavior is to leave these settings empty, in which
672; case no links to documentation are generated.
673; Note: Never use this feature for production boxes.
674; http://php.net/docref-root
675; Examples
676;docref_root = "/phpmanual/"
677
678; http://php.net/docref-ext
679;docref_ext = .html
680
681; String to output before an error message. PHP's default behavior is to leave
682; this setting blank.
683; http://php.net/error-prepend-string
684; Example:
685;error_prepend_string = "<span style='color: #ff0000'>"
686
687; String to output after an error message. PHP's default behavior is to leave
688; this setting blank.
689; http://php.net/error-append-string
690; Example:
691;error_append_string = "</span>"
692
693; Log errors to specified file. PHP's default behavior is to leave this value
694; empty.
695; http://php.net/error-log
696; Example:
697;error_log = php_errors.log
698; Log errors to syslog (Event Log on Windows).
699;error_log = syslog
700
701;windows.show_crt_warning
702; Default value: 0
703; Development value: 0
704; Production value: 0
705
706;;;;;;;;;;;;;;;;;
707; Data Handling ;
708;;;;;;;;;;;;;;;;;
709
710; The separator used in PHP generated URLs to separate arguments.
711; PHP's default setting is "&".
712; http://php.net/arg-separator.output
713; Example:
714;arg_separator.output = "&"
715
716; List of separator(s) used by PHP to parse input URLs into variables.
717; PHP's default setting is "&".
718; NOTE: Every character in this directive is considered as separator!
719; http://php.net/arg-separator.input
720; Example:
721;arg_separator.input = ";&"
722
723; This directive determines which super global arrays are registered when PHP
724; starts up. G,P,C,E & S are abbreviations for the following respective super
725; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
726; paid for the registration of these arrays and because ENV is not as commonly
727; used as the others, ENV is not recommended on productions servers. You
728; can still get access to the environment variables through getenv() should you
729; need to.
730; Default Value: "EGPCS"
731; Development Value: "GPCS"
732; Production Value: "GPCS";
733; http://php.net/variables-order
734variables_order = "GPCS"
735
736; This directive determines which super global data (G,P & C) should be
737; registered into the super global array REQUEST. If so, it also determines
738; the order in which that data is registered. The values for this directive
739; are specified in the same manner as the variables_order directive,
740; EXCEPT one. Leaving this value empty will cause PHP to use the value set
741; in the variables_order directive. It does not mean it will leave the super
742; globals array REQUEST empty.
743; Default Value: None
744; Development Value: "GP"
745; Production Value: "GP"
746; http://php.net/request-order
747request_order = "GP"
748
749; This directive determines whether PHP registers $argv & $argc each time it
750; runs. $argv contains an array of all the arguments passed to PHP when a script
751; is invoked. $argc contains an integer representing the number of arguments
752; that were passed when the script was invoked. These arrays are extremely
753; useful when running scripts from the command line. When this directive is
754; enabled, registering these variables consumes CPU cycles and memory each time
755; a script is executed. For performance reasons, this feature should be disabled
756; on production servers.
757; Note: This directive is hardcoded to On for the CLI SAPI
758; Default Value: On
759; Development Value: Off
760; Production Value: Off
761; http://php.net/register-argc-argv
762register_argc_argv = Off
763
764; When enabled, the ENV, REQUEST and SERVER variables are created when they're
765; first used (Just In Time) instead of when the script starts. If these
766; variables are not used within a script, having this directive on will result
767; in a performance gain. The PHP directive register_argc_argv must be disabled
768; for this directive to have any affect.
769; http://php.net/auto-globals-jit
770auto_globals_jit = On
771
772; Whether PHP will read the POST data.
773; This option is enabled by default.
774; Most likely, you won't want to disable this option globally. It causes $_POST
775; and $_FILES to always be empty; the only way you will be able to read the
776; POST data will be through the php://input stream wrapper. This can be useful
777; to proxy requests or to process the POST data in a memory efficient fashion.
778; http://php.net/enable-post-data-reading
779;enable_post_data_reading = Off
780
781; Maximum size of POST data that PHP will accept.
782; Its value may be 0 to disable the limit. It is ignored if POST data reading
783; is disabled through enable_post_data_reading.
784; http://php.net/post-max-size
785post_max_size = 8M
786
787; Automatically add files before PHP document.
788; http://php.net/auto-prepend-file
789auto_prepend_file =
790
791; Automatically add files after PHP document.
792; http://php.net/auto-append-file
793auto_append_file =
794
795; By default, PHP will output a media type using the Content-Type header. To
796; disable this, simply set it to be empty.
797;
798; PHP's built-in default media type is set to text/html.
799; http://php.net/default-mimetype
800default_mimetype = "text/html"
801
802; PHP's default character set is set to UTF-8.
803; http://php.net/default-charset
804default_charset = "UTF-8"
805
806; PHP internal character encoding is set to empty.
807; If empty, default_charset is used.
808; http://php.net/internal-encoding
809;internal_encoding =
810
811; PHP input character encoding is set to empty.
812; If empty, default_charset is used.
813; http://php.net/input-encoding
814;input_encoding =
815
816; PHP output character encoding is set to empty.
817; If empty, default_charset is used.
818; See also output_buffer.
819; http://php.net/output-encoding
820;output_encoding =
821
822;;;;;;;;;;;;;;;;;;;;;;;;;
823; Paths and Directories ;
824;;;;;;;;;;;;;;;;;;;;;;;;;
825
826; UNIX: "/path1:/path2"
827;include_path = ".:/usr/share/php"
828;
829; Windows: "\path1;\path2"
830;include_path = ".;c:\php\includes"
831;
832; PHP's default setting for include_path is ".;/path/to/php/pear"
833; http://php.net/include-path
834
835; The root of the PHP pages, used only if nonempty.
836; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
837; if you are running php as a CGI under any web server (other than IIS)
838; see documentation for security issues. The alternate is to use the
839; cgi.force_redirect configuration below
840; http://php.net/doc-root
841doc_root =
842
843; The directory under which PHP opens the script using /~username used only
844; if nonempty.
845; http://php.net/user-dir
846user_dir =
847
848; Directory in which the loadable extensions (modules) reside.
849; http://php.net/extension-dir
850; extension_dir = "./"
851; On windows:
852; extension_dir = "ext"
853
854; Directory where the temporary files should be placed.
855; Defaults to the system default (see sys_get_temp_dir)
856; sys_temp_dir = "/tmp"
857
858; Whether or not to enable the dl() function. The dl() function does NOT work
859; properly in multithreaded servers, such as IIS or Zeus, and is automatically
860; disabled on them.
861; http://php.net/enable-dl
862enable_dl = Off
863
864; cgi.force_redirect is necessary to provide security running PHP as a CGI under
865; most web servers. Left undefined, PHP turns this on by default. You can
866; turn it off here AT YOUR OWN RISK
867; **You CAN safely turn this off for IIS, in fact, you MUST.**
868; http://php.net/cgi.force-redirect
869;cgi.force_redirect = 1
870
871; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
872; every request. PHP's default behavior is to disable this feature.
873;cgi.nph = 1
874
875; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
876; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
877; will look for to know it is OK to continue execution. Setting this variable MAY
878; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
879; http://php.net/cgi.redirect-status-env
880;cgi.redirect_status_env =
881
882; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
883; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
884; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
885; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
886; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
887; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
888; http://php.net/cgi.fix-pathinfo
889cgi.fix_pathinfo=0
890
891; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
892; of the web tree and people will not be able to circumvent .htaccess security.
893; http://php.net/cgi.dicard-path
894;cgi.discard_path=1
895
896; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
897; security tokens of the calling client. This allows IIS to define the
898; security context that the request runs under. mod_fastcgi under Apache
899; does not currently support this feature (03/17/2002)
900; Set to 1 if running under IIS. Default is zero.
901; http://php.net/fastcgi.impersonate
902;fastcgi.impersonate = 1
903
904; Disable logging through FastCGI connection. PHP's default behavior is to enable
905; this feature.
906;fastcgi.logging = 0
907
908; cgi.rfc2616_headers configuration option tells PHP what type of headers to
909; use when sending HTTP response code. If set to 0, PHP sends Status: header that
910; is supported by Apache. When this option is set to 1, PHP will send
911; RFC2616 compliant header.
912; Default is zero.
913; http://php.net/cgi.rfc2616-headers
914;cgi.rfc2616_headers = 0
915
916; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
917; (shebang) at the top of the running script. This line might be needed if the
918; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
919; mode skips this line and ignores its content if this directive is turned on.
920; http://php.net/cgi.check-shebang-line
921;cgi.check_shebang_line=1
922
923;;;;;;;;;;;;;;;;
924; File Uploads ;
925;;;;;;;;;;;;;;;;
926
927; Whether to allow HTTP file uploads.
928; http://php.net/file-uploads
929file_uploads = On
930
931; Temporary directory for HTTP uploaded files (will use system default if not
932; specified).
933; http://php.net/upload-tmp-dir
934;upload_tmp_dir =
935
936; Maximum allowed size for uploaded files.
937; http://php.net/upload-max-filesize
938upload_max_filesize = 2M
939
940; Maximum number of files that can be uploaded via a single request
941max_file_uploads = 20
942
943;;;;;;;;;;;;;;;;;;
944; Fopen wrappers ;
945;;;;;;;;;;;;;;;;;;
946
947; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
948; http://php.net/allow-url-fopen
949allow_url_fopen = On
950
951; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
952; http://php.net/allow-url-include
953allow_url_include = Off
954
955; Define the anonymous ftp password (your email address). PHP's default setting
956; for this is empty.
957; http://php.net/from
958;from="john@doe.com"
959
960; Define the User-Agent string. PHP's default setting for this is empty.
961; http://php.net/user-agent
962;user_agent="PHP"
963
964; Default timeout for socket based streams (seconds)
965; http://php.net/default-socket-timeout
966default_socket_timeout = 60
967
968; If your scripts have to deal with files from Macintosh systems,
969; or you are running on a Mac and need to deal with files from
970; unix or win32 systems, setting this flag will cause PHP to
971; automatically detect the EOL character in those files so that
972; fgets() and file() will work regardless of the source of the file.
973; http://php.net/auto-detect-line-endings
974;auto_detect_line_endings = Off
975
976;;;;;;;;;;;;;;;;;;;;;;
977; Dynamic Extensions ;
978;;;;;;;;;;;;;;;;;;;;;;
979
980; If you wish to have an extension loaded automatically, use the following
981; syntax:
982;
983; extension=modulename.extension
984;
985; For example, on Windows:
986;
987; extension=msql.dll
988;
989; ... or under UNIX:
990;
991; extension=msql.so
992;
993; ... or with a path:
994;
995; extension=/path/to/extension/msql.so
996;
997; If you only provide the name of the extension, PHP will look for it in its
998; default extension directory.
999;
1000; Windows Extensions
1001; Note that ODBC support is built in, so no dll is needed for it.
1002; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
1003; extension folders as well as the separate PECL DLL download (PHP 5+).
1004; Be sure to appropriately set the extension_dir directive.
1005;
1006;extension=php_bz2.dll
1007;extension=php_curl.dll
1008;extension=php_fileinfo.dll
1009;extension=php_ftp.dll
1010;extension=php_gd2.dll
1011;extension=php_gettext.dll
1012;extension=php_gmp.dll
1013;extension=php_intl.dll
1014;extension=php_imap.dll
1015;extension=php_interbase.dll
1016;extension=php_ldap.dll
1017;extension=php_mbstring.dll
1018;extension=php_exif.dll ; Must be after mbstring as it depends on it
1019;extension=php_mysqli.dll
1020;extension=php_oci8_12c.dll ; Use with Oracle Database 12c Instant Client
1021;extension=php_openssl.dll
1022;extension=php_pdo_firebird.dll
1023;extension=php_pdo_mysql.dll
1024;extension=php_pdo_oci.dll
1025;extension=php_pdo_odbc.dll
1026;extension=php_pdo_pgsql.dll
1027;extension=php_pdo_sqlite.dll
1028;extension=php_pgsql.dll
1029;extension=php_shmop.dll
1030
1031; The MIBS data available in the PHP distribution must be installed.
1032; See http://www.php.net/manual/en/snmp.installation.php
1033;extension=php_snmp.dll
1034
1035;extension=php_soap.dll
1036;extension=php_sockets.dll
1037;extension=php_sqlite3.dll
1038;extension=php_tidy.dll
1039;extension=php_xmlrpc.dll
1040;extension=php_xsl.dll
1041
1042;;;;;;;;;;;;;;;;;;;
1043; Module Settings ;
1044;;;;;;;;;;;;;;;;;;;
1045
1046[CLI Server]
1047; Whether the CLI web server uses ANSI color coding in its terminal output.
1048cli_server.color = On
1049
1050[Date]
1051; Defines the default timezone used by the date functions
1052; http://php.net/date.timezone
1053;date.timezone =
1054
1055; http://php.net/date.default-latitude
1056;date.default_latitude = 31.7667
1057
1058; http://php.net/date.default-longitude
1059;date.default_longitude = 35.2333
1060
1061; http://php.net/date.sunrise-zenith
1062;date.sunrise_zenith = 90.583333
1063
1064; http://php.net/date.sunset-zenith
1065;date.sunset_zenith = 90.583333
1066
1067[filter]
1068; http://php.net/filter.default
1069;filter.default = unsafe_raw
1070
1071; http://php.net/filter.default-flags
1072;filter.default_flags =
1073
1074[iconv]
1075; Use of this INI entry is deprecated, use global input_encoding instead.
1076; If empty, default_charset or input_encoding or iconv.input_encoding is used.
1077; The precedence is: default_charset < intput_encoding < iconv.input_encoding
1078;iconv.input_encoding =
1079
1080; Use of this INI entry is deprecated, use global internal_encoding instead.
1081; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
1082; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
1083;iconv.internal_encoding =
1084
1085; Use of this INI entry is deprecated, use global output_encoding instead.
1086; If empty, default_charset or output_encoding or iconv.output_encoding is used.
1087; The precedence is: default_charset < output_encoding < iconv.output_encoding
1088; To use an output encoding conversion, iconv's output handler must be set
1089; otherwise output encoding conversion cannot be performed.
1090;iconv.output_encoding =
1091
1092[intl]
1093;intl.default_locale =
1094; This directive allows you to produce PHP errors when some error
1095; happens within intl functions. The value is the level of the error produced.
1096; Default is 0, which does not produce any errors.
1097;intl.error_level = E_WARNING
1098;intl.use_exceptions = 0
1099
1100[sqlite3]
1101;sqlite3.extension_dir =
1102
1103[Pcre]
1104;PCRE library backtracking limit.
1105; http://php.net/pcre.backtrack-limit
1106;pcre.backtrack_limit=100000
1107
1108;PCRE library recursion limit.
1109;Please note that if you set this value to a high number you may consume all
1110;the available process stack and eventually crash PHP (due to reaching the
1111;stack size limit imposed by the Operating System).
1112; http://php.net/pcre.recursion-limit
1113;pcre.recursion_limit=100000
1114
1115;Enables or disables JIT compilation of patterns. This requires the PCRE
1116;library to be compiled with JIT support.
1117;pcre.jit=1
1118
1119[Pdo]
1120; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
1121; http://php.net/pdo-odbc.connection-pooling
1122;pdo_odbc.connection_pooling=strict
1123
1124;pdo_odbc.db2_instance_name
1125
1126[Pdo_mysql]
1127; If mysqlnd is used: Number of cache slots for the internal result set cache
1128; http://php.net/pdo_mysql.cache_size
1129pdo_mysql.cache_size = 2000
1130
1131; Default socket name for local MySQL connects. If empty, uses the built-in
1132; MySQL defaults.
1133; http://php.net/pdo_mysql.default-socket
1134pdo_mysql.default_socket=
1135
1136[Phar]
1137; http://php.net/phar.readonly
1138;phar.readonly = On
1139
1140; http://php.net/phar.require-hash
1141;phar.require_hash = On
1142
1143;phar.cache_list =
1144
1145[mail function]
1146; For Win32 only.
1147; http://php.net/smtp
1148SMTP = localhost
1149; http://php.net/smtp-port
1150smtp_port = 25
1151
1152; For Win32 only.
1153; http://php.net/sendmail-from
1154;sendmail_from = me@example.com
1155
1156; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
1157; http://php.net/sendmail-path
1158;sendmail_path =
1159
1160; Force the addition of the specified parameters to be passed as extra parameters
1161; to the sendmail binary. These parameters will always replace the value of
1162; the 5th parameter to mail().
1163;mail.force_extra_parameters =
1164
1165; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
1166mail.add_x_header = On
1167
1168; The path to a log file that will log all mail() calls. Log entries include
1169; the full path of the script, line number, To address and headers.
1170;mail.log =
1171; Log mail to syslog (Event Log on Windows).
1172;mail.log = syslog
1173
1174[SQL]
1175; http://php.net/sql.safe-mode
1176sql.safe_mode = Off
1177
1178[ODBC]
1179; http://php.net/odbc.default-db
1180;odbc.default_db = Not yet implemented
1181
1182; http://php.net/odbc.default-user
1183;odbc.default_user = Not yet implemented
1184
1185; http://php.net/odbc.default-pw
1186;odbc.default_pw = Not yet implemented
1187
1188; Controls the ODBC cursor model.
1189; Default: SQL_CURSOR_STATIC (default).
1190;odbc.default_cursortype
1191
1192; Allow or prevent persistent links.
1193; http://php.net/odbc.allow-persistent
1194odbc.allow_persistent = On
1195
1196; Check that a connection is still valid before reuse.
1197; http://php.net/odbc.check-persistent
1198odbc.check_persistent = On
1199
1200; Maximum number of persistent links. -1 means no limit.
1201; http://php.net/odbc.max-persistent
1202odbc.max_persistent = -1
1203
1204; Maximum number of links (persistent + non-persistent). -1 means no limit.
1205; http://php.net/odbc.max-links
1206odbc.max_links = -1
1207
1208; Handling of LONG fields. Returns number of bytes to variables. 0 means
1209; passthru.
1210; http://php.net/odbc.defaultlrl
1211odbc.defaultlrl = 4096
1212
1213; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
1214; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
1215; of odbc.defaultlrl and odbc.defaultbinmode
1216; http://php.net/odbc.defaultbinmode
1217odbc.defaultbinmode = 1
1218
1219;birdstep.max_links = -1
1220
1221[Interbase]
1222; Allow or prevent persistent links.
1223ibase.allow_persistent = 1
1224
1225; Maximum number of persistent links. -1 means no limit.
1226ibase.max_persistent = -1
1227
1228; Maximum number of links (persistent + non-persistent). -1 means no limit.
1229ibase.max_links = -1
1230
1231; Default database name for ibase_connect().
1232;ibase.default_db =
1233
1234; Default username for ibase_connect().
1235;ibase.default_user =
1236
1237; Default password for ibase_connect().
1238;ibase.default_password =
1239
1240; Default charset for ibase_connect().
1241;ibase.default_charset =
1242
1243; Default timestamp format.
1244ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
1245
1246; Default date format.
1247ibase.dateformat = "%Y-%m-%d"
1248
1249; Default time format.
1250ibase.timeformat = "%H:%M:%S"
1251
1252[MySQLi]
1253
1254; Maximum number of persistent links. -1 means no limit.
1255; http://php.net/mysqli.max-persistent
1256mysqli.max_persistent = -1
1257
1258; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1259; http://php.net/mysqli.allow_local_infile
1260;mysqli.allow_local_infile = On
1261
1262; Allow or prevent persistent links.
1263; http://php.net/mysqli.allow-persistent
1264mysqli.allow_persistent = On
1265
1266; Maximum number of links. -1 means no limit.
1267; http://php.net/mysqli.max-links
1268mysqli.max_links = -1
1269
1270; If mysqlnd is used: Number of cache slots for the internal result set cache
1271; http://php.net/mysqli.cache_size
1272mysqli.cache_size = 2000
1273
1274; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
1275; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1276; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1277; at MYSQL_PORT.
1278; http://php.net/mysqli.default-port
1279mysqli.default_port = 3306
1280
1281; Default socket name for local MySQL connects. If empty, uses the built-in
1282; MySQL defaults.
1283; http://php.net/mysqli.default-socket
1284mysqli.default_socket =
1285
1286; Default host for mysql_connect() (doesn't apply in safe mode).
1287; http://php.net/mysqli.default-host
1288mysqli.default_host =
1289
1290; Default user for mysql_connect() (doesn't apply in safe mode).
1291; http://php.net/mysqli.default-user
1292mysqli.default_user =
1293
1294; Default password for mysqli_connect() (doesn't apply in safe mode).
1295; Note that this is generally a *bad* idea to store passwords in this file.
1296; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
1297; and reveal this password! And of course, any users with read access to this
1298; file will be able to reveal the password as well.
1299; http://php.net/mysqli.default-pw
1300mysqli.default_pw =
1301
1302; Allow or prevent reconnect
1303mysqli.reconnect = Off
1304
1305[mysqlnd]
1306; Enable / Disable collection of general statistics by mysqlnd which can be
1307; used to tune and monitor MySQL operations.
1308; http://php.net/mysqlnd.collect_statistics
1309mysqlnd.collect_statistics = On
1310
1311; Enable / Disable collection of memory usage statistics by mysqlnd which can be
1312; used to tune and monitor MySQL operations.
1313; http://php.net/mysqlnd.collect_memory_statistics
1314mysqlnd.collect_memory_statistics = Off
1315
1316; Records communication from all extensions using mysqlnd to the specified log
1317; file.
1318; http://php.net/mysqlnd.debug
1319;mysqlnd.debug =
1320
1321; Defines which queries will be logged.
1322; http://php.net/mysqlnd.log_mask
1323;mysqlnd.log_mask = 0
1324
1325; Default size of the mysqlnd memory pool, which is used by result sets.
1326; http://php.net/mysqlnd.mempool_default_size
1327;mysqlnd.mempool_default_size = 16000
1328
1329; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
1330; http://php.net/mysqlnd.net_cmd_buffer_size
1331;mysqlnd.net_cmd_buffer_size = 2048
1332
1333; Size of a pre-allocated buffer used for reading data sent by the server in
1334; bytes.
1335; http://php.net/mysqlnd.net_read_buffer_size
1336;mysqlnd.net_read_buffer_size = 32768
1337
1338; Timeout for network requests in seconds.
1339; http://php.net/mysqlnd.net_read_timeout
1340;mysqlnd.net_read_timeout = 31536000
1341
1342; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
1343; key.
1344; http://php.net/mysqlnd.sha256_server_public_key
1345;mysqlnd.sha256_server_public_key =
1346
1347[OCI8]
1348
1349; Connection: Enables privileged connections using external
1350; credentials (OCI_SYSOPER, OCI_SYSDBA)
1351; http://php.net/oci8.privileged-connect
1352;oci8.privileged_connect = Off
1353
1354; Connection: The maximum number of persistent OCI8 connections per
1355; process. Using -1 means no limit.
1356; http://php.net/oci8.max-persistent
1357;oci8.max_persistent = -1
1358
1359; Connection: The maximum number of seconds a process is allowed to
1360; maintain an idle persistent connection. Using -1 means idle
1361; persistent connections will be maintained forever.
1362; http://php.net/oci8.persistent-timeout
1363;oci8.persistent_timeout = -1
1364
1365; Connection: The number of seconds that must pass before issuing a
1366; ping during oci_pconnect() to check the connection validity. When
1367; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
1368; pings completely.
1369; http://php.net/oci8.ping-interval
1370;oci8.ping_interval = 60
1371
1372; Connection: Set this to a user chosen connection class to be used
1373; for all pooled server requests with Oracle 11g Database Resident
1374; Connection Pooling (DRCP). To use DRCP, this value should be set to
1375; the same string for all web servers running the same application,
1376; the database pool must be configured, and the connection string must
1377; specify to use a pooled server.
1378;oci8.connection_class =
1379
1380; High Availability: Using On lets PHP receive Fast Application
1381; Notification (FAN) events generated when a database node fails. The
1382; database must also be configured to post FAN events.
1383;oci8.events = Off
1384
1385; Tuning: This option enables statement caching, and specifies how
1386; many statements to cache. Using 0 disables statement caching.
1387; http://php.net/oci8.statement-cache-size
1388;oci8.statement_cache_size = 20
1389
1390; Tuning: Enables statement prefetching and sets the default number of
1391; rows that will be fetched automatically after statement execution.
1392; http://php.net/oci8.default-prefetch
1393;oci8.default_prefetch = 100
1394
1395; Compatibility. Using On means oci_close() will not close
1396; oci_connect() and oci_new_connect() connections.
1397; http://php.net/oci8.old-oci-close-semantics
1398;oci8.old_oci_close_semantics = Off
1399
1400[PostgreSQL]
1401; Allow or prevent persistent links.
1402; http://php.net/pgsql.allow-persistent
1403pgsql.allow_persistent = On
1404
1405; Detect broken persistent links always with pg_pconnect().
1406; Auto reset feature requires a little overheads.
1407; http://php.net/pgsql.auto-reset-persistent
1408pgsql.auto_reset_persistent = Off
1409
1410; Maximum number of persistent links. -1 means no limit.
1411; http://php.net/pgsql.max-persistent
1412pgsql.max_persistent = -1
1413
1414; Maximum number of links (persistent+non persistent). -1 means no limit.
1415; http://php.net/pgsql.max-links
1416pgsql.max_links = -1
1417
1418; Ignore PostgreSQL backends Notice message or not.
1419; Notice message logging require a little overheads.
1420; http://php.net/pgsql.ignore-notice
1421pgsql.ignore_notice = 0
1422
1423; Log PostgreSQL backends Notice message or not.
1424; Unless pgsql.ignore_notice=0, module cannot log notice message.
1425; http://php.net/pgsql.log-notice
1426pgsql.log_notice = 0
1427
1428[bcmath]
1429; Number of decimal digits for all bcmath functions.
1430; http://php.net/bcmath.scale
1431bcmath.scale = 0
1432
1433[browscap]
1434; http://php.net/browscap
1435;browscap = extra/browscap.ini
1436
1437[Session]
1438; Handler used to store/retrieve data.
1439; http://php.net/session.save-handler
1440session.save_handler = files
1441
1442; Argument passed to save_handler. In the case of files, this is the path
1443; where data files are stored. Note: Windows users have to change this
1444; variable in order to use PHP's session functions.
1445;
1446; The path can be defined as:
1447;
1448; session.save_path = "N;/path"
1449;
1450; where N is an integer. Instead of storing all the session files in
1451; /path, what this will do is use subdirectories N-levels deep, and
1452; store the session data in those directories. This is useful if
1453; your OS has problems with many files in one directory, and is
1454; a more efficient layout for servers that handle many sessions.
1455;
1456; NOTE 1: PHP will not create this directory structure automatically.
1457; You can use the script in the ext/session dir for that purpose.
1458; NOTE 2: See the section on garbage collection below if you choose to
1459; use subdirectories for session storage
1460;
1461; The file storage module creates files using mode 600 by default.
1462; You can change that by using
1463;
1464; session.save_path = "N;MODE;/path"
1465;
1466; where MODE is the octal representation of the mode. Note that this
1467; does not overwrite the process's umask.
1468; http://php.net/session.save-path
1469;session.save_path = "/var/lib/php/sessions"
1470
1471; Whether to use strict session mode.
1472; Strict session mode does not accept uninitialized session ID and regenerate
1473; session ID if browser sends uninitialized session ID. Strict mode protects
1474; applications from session fixation via session adoption vulnerability. It is
1475; disabled by default for maximum compatibility, but enabling it is encouraged.
1476; https://wiki.php.net/rfc/strict_sessions
1477session.use_strict_mode = 0
1478
1479; Whether to use cookies.
1480; http://php.net/session.use-cookies
1481session.use_cookies = 1
1482
1483; http://php.net/session.cookie-secure
1484;session.cookie_secure =
1485
1486; This option forces PHP to fetch and use a cookie for storing and maintaining
1487; the session id. We encourage this operation as it's very helpful in combating
1488; session hijacking when not specifying and managing your own session id. It is
1489; not the be-all and end-all of session hijacking defense, but it's a good start.
1490; http://php.net/session.use-only-cookies
1491session.use_only_cookies = 1
1492
1493; Name of the session (used as cookie name).
1494; http://php.net/session.name
1495session.name = PHPSESSID
1496
1497; Initialize session on request startup.
1498; http://php.net/session.auto-start
1499session.auto_start = 0
1500
1501; Lifetime in seconds of cookie or, if 0, until browser is restarted.
1502; http://php.net/session.cookie-lifetime
1503session.cookie_lifetime = 0
1504
1505; The path for which the cookie is valid.
1506; http://php.net/session.cookie-path
1507session.cookie_path = /
1508
1509; The domain for which the cookie is valid.
1510; http://php.net/session.cookie-domain
1511session.cookie_domain =
1512
1513; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
1514; http://php.net/session.cookie-httponly
1515session.cookie_httponly =
1516
1517; Handler used to serialize data. php is the standard serializer of PHP.
1518; http://php.net/session.serialize-handler
1519session.serialize_handler = php
1520
1521; Defines the probability that the 'garbage collection' process is started
1522; on every session initialization. The probability is calculated by using
1523; gc_probability/gc_divisor. Where session.gc_probability is the numerator
1524; and gc_divisor is the denominator in the equation. Setting this value to 1
1525; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1526; the gc will run on any give request.
1527; Default Value: 1
1528; Development Value: 1
1529; Production Value: 1
1530; http://php.net/session.gc-probability
1531session.gc_probability = 0
1532
1533; Defines the probability that the 'garbage collection' process is started on every
1534; session initialization. The probability is calculated by using the following equation:
1535; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
1536; session.gc_divisor is the denominator in the equation. Setting this value to 1
1537; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1538; the gc will run on any give request. Increasing this value to 1000 will give you
1539; a 0.1% chance the gc will run on any give request. For high volume production servers,
1540; this is a more efficient approach.
1541; Default Value: 100
1542; Development Value: 1000
1543; Production Value: 1000
1544; http://php.net/session.gc-divisor
1545session.gc_divisor = 1000
1546
1547; After this number of seconds, stored data will be seen as 'garbage' and
1548; cleaned up by the garbage collection process.
1549; http://php.net/session.gc-maxlifetime
1550session.gc_maxlifetime = 1440
1551
1552; NOTE: If you are using the subdirectory option for storing session files
1553; (see session.save_path above), then garbage collection does *not*
1554; happen automatically. You will need to do your own garbage
1555; collection through a shell script, cron entry, or some other method.
1556; For example, the following script would is the equivalent of
1557; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1558; find /path/to/sessions -cmin +24 -type f | xargs rm
1559
1560; Check HTTP Referer to invalidate externally stored URLs containing ids.
1561; HTTP_REFERER has to contain this substring for the session to be
1562; considered as valid.
1563; http://php.net/session.referer-check
1564session.referer_check =
1565
1566; How many bytes to read from the file.
1567; http://php.net/session.entropy-length
1568;session.entropy_length = 32
1569
1570; Specified here to create the session id.
1571; http://php.net/session.entropy-file
1572; Defaults to /dev/urandom
1573; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
1574; If neither are found at compile time, the default is no entropy file.
1575; On windows, setting the entropy_length setting will activate the
1576; Windows random source (using the CryptoAPI)
1577;session.entropy_file = /dev/urandom
1578
1579; Set to {nocache,private,public,} to determine HTTP caching aspects
1580; or leave this empty to avoid sending anti-caching headers.
1581; http://php.net/session.cache-limiter
1582session.cache_limiter = nocache
1583
1584; Document expires after n minutes.
1585; http://php.net/session.cache-expire
1586session.cache_expire = 180
1587
1588; trans sid support is disabled by default.
1589; Use of trans sid may risk your users' security.
1590; Use this option with caution.
1591; - User may send URL contains active session ID
1592; to other person via. email/irc/etc.
1593; - URL that contains active session ID may be stored
1594; in publicly accessible computer.
1595; - User may access your site with the same session ID
1596; always using URL stored in browser's history or bookmarks.
1597; http://php.net/session.use-trans-sid
1598session.use_trans_sid = 0
1599
1600; Select a hash function for use in generating session ids.
1601; Possible Values
1602; 0 (MD5 128 bits)
1603; 1 (SHA-1 160 bits)
1604; This option may also be set to the name of any hash function supported by
1605; the hash extension. A list of available hashes is returned by the hash_algos()
1606; function.
1607; http://php.net/session.hash-function
1608session.hash_function = 0
1609
1610; Define how many bits are stored in each character when converting
1611; the binary hash data to something readable.
1612; Possible values:
1613; 4 (4 bits: 0-9, a-f)
1614; 5 (5 bits: 0-9, a-v)
1615; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
1616; Default Value: 4
1617; Development Value: 5
1618; Production Value: 5
1619; http://php.net/session.hash-bits-per-character
1620session.hash_bits_per_character = 5
1621
1622; The URL rewriter will look for URLs in a defined set of HTML tags.
1623; form/fieldset are special; if you include them here, the rewriter will
1624; add a hidden <input> field with the info which is otherwise appended
1625; to URLs. If you want XHTML conformity, remove the form entry.
1626; Note that all valid entries require a "=", even if no value follows.
1627; Default Value: "a=href,area=href,frame=src,form=,fieldset="
1628; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1629; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1630; http://php.net/url-rewriter.tags
1631url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
1632
1633; Enable upload progress tracking in $_SESSION
1634; Default Value: On
1635; Development Value: On
1636; Production Value: On
1637; http://php.net/session.upload-progress.enabled
1638;session.upload_progress.enabled = On
1639
1640; Cleanup the progress information as soon as all POST data has been read
1641; (i.e. upload completed).
1642; Default Value: On
1643; Development Value: On
1644; Production Value: On
1645; http://php.net/session.upload-progress.cleanup
1646;session.upload_progress.cleanup = On
1647
1648; A prefix used for the upload progress key in $_SESSION
1649; Default Value: "upload_progress_"
1650; Development Value: "upload_progress_"
1651; Production Value: "upload_progress_"
1652; http://php.net/session.upload-progress.prefix
1653;session.upload_progress.prefix = "upload_progress_"
1654
1655; The index name (concatenated with the prefix) in $_SESSION
1656; containing the upload progress information
1657; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
1658; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
1659; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
1660; http://php.net/session.upload-progress.name
1661;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
1662
1663; How frequently the upload progress should be updated.
1664; Given either in percentages (per-file), or in bytes
1665; Default Value: "1%"
1666; Development Value: "1%"
1667; Production Value: "1%"
1668; http://php.net/session.upload-progress.freq
1669;session.upload_progress.freq = "1%"
1670
1671; The minimum delay between updates, in seconds
1672; Default Value: 1
1673; Development Value: 1
1674; Production Value: 1
1675; http://php.net/session.upload-progress.min-freq
1676;session.upload_progress.min_freq = "1"
1677
1678; Only write session data when session data is changed. Enabled by default.
1679; http://php.net/session.lazy-write
1680;session.lazy_write = On
1681
1682[Assertion]
1683; Switch whether to compile assertions at all (to have no overhead at run-time)
1684; -1: Do not compile at all
1685; 0: Jump over assertion at run-time
1686; 1: Execute assertions
1687; 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)
1688; Default Value: 1
1689; Development Value: 1
1690; Production Value: -1
1691; http://php.net/zend.assertions
1692zend.assertions = -1
1693
1694; Assert(expr); active by default.
1695; http://php.net/assert.active
1696;assert.active = On
1697
1698; Throw an AssertationException on failed assertions
1699; http://php.net/assert.exception
1700;assert.exception = On
1701
1702; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
1703; http://php.net/assert.warning
1704;assert.warning = On
1705
1706; Don't bail out by default.
1707; http://php.net/assert.bail
1708;assert.bail = Off
1709
1710; User-function to be called if an assertion fails.
1711; http://php.net/assert.callback
1712;assert.callback = 0
1713
1714; Eval the expression with current error_reporting(). Set to true if you want
1715; error_reporting(0) around the eval().
1716; http://php.net/assert.quiet-eval
1717;assert.quiet_eval = 0
1718
1719[COM]
1720; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1721; http://php.net/com.typelib-file
1722;com.typelib_file =
1723
1724; allow Distributed-COM calls
1725; http://php.net/com.allow-dcom
1726;com.allow_dcom = true
1727
1728; autoregister constants of a components typlib on com_load()
1729; http://php.net/com.autoregister-typelib
1730;com.autoregister_typelib = true
1731
1732; register constants casesensitive
1733; http://php.net/com.autoregister-casesensitive
1734;com.autoregister_casesensitive = false
1735
1736; show warnings on duplicate constant registrations
1737; http://php.net/com.autoregister-verbose
1738;com.autoregister_verbose = true
1739
1740; The default character set code-page to use when passing strings to and from COM objects.
1741; Default: system ANSI code page
1742;com.code_page=
1743
1744[mbstring]
1745; language for internal character representation.
1746; This affects mb_send_mail() and mbstring.detect_order.
1747; http://php.net/mbstring.language
1748;mbstring.language = Japanese
1749
1750; Use of this INI entry is deprecated, use global internal_encoding instead.
1751; internal/script encoding.
1752; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
1753; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
1754; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
1755;mbstring.internal_encoding =
1756
1757; Use of this INI entry is deprecated, use global input_encoding instead.
1758; http input encoding.
1759; mbstring.encoding_traslation = On is needed to use this setting.
1760; If empty, default_charset or input_encoding or mbstring.input is used.
1761; The precedence is: default_charset < intput_encoding < mbsting.http_input
1762; http://php.net/mbstring.http-input
1763;mbstring.http_input =
1764
1765; Use of this INI entry is deprecated, use global output_encoding instead.
1766; http output encoding.
1767; mb_output_handler must be registered as output buffer to function.
1768; If empty, default_charset or output_encoding or mbstring.http_output is used.
1769; The precedence is: default_charset < output_encoding < mbstring.http_output
1770; To use an output encoding conversion, mbstring's output handler must be set
1771; otherwise output encoding conversion cannot be performed.
1772; http://php.net/mbstring.http-output
1773;mbstring.http_output =
1774
1775; enable automatic encoding translation according to
1776; mbstring.internal_encoding setting. Input chars are
1777; converted to internal encoding by setting this to On.
1778; Note: Do _not_ use automatic encoding translation for
1779; portable libs/applications.
1780; http://php.net/mbstring.encoding-translation
1781;mbstring.encoding_translation = Off
1782
1783; automatic encoding detection order.
1784; "auto" detect order is changed according to mbstring.language
1785; http://php.net/mbstring.detect-order
1786;mbstring.detect_order = auto
1787
1788; substitute_character used when character cannot be converted
1789; one from another
1790; http://php.net/mbstring.substitute-character
1791;mbstring.substitute_character = none
1792
1793; overload(replace) single byte functions by mbstring functions.
1794; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1795; etc. Possible values are 0,1,2,4 or combination of them.
1796; For example, 7 for overload everything.
1797; 0: No overload
1798; 1: Overload mail() function
1799; 2: Overload str*() functions
1800; 4: Overload ereg*() functions
1801; http://php.net/mbstring.func-overload
1802;mbstring.func_overload = 0
1803
1804; enable strict encoding detection.
1805; Default: Off
1806;mbstring.strict_detection = On
1807
1808; This directive specifies the regex pattern of content types for which mb_output_handler()
1809; is activated.
1810; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
1811;mbstring.http_output_conv_mimetype=
1812
1813[gd]
1814; Tell the jpeg decode to ignore warnings and try to create
1815; a gd image. The warning will then be displayed as notices
1816; disabled by default
1817; http://php.net/gd.jpeg-ignore-warning
1818;gd.jpeg_ignore_warning = 0
1819
1820[exif]
1821; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1822; With mbstring support this will automatically be converted into the encoding
1823; given by corresponding encode setting. When empty mbstring.internal_encoding
1824; is used. For the decode settings you can distinguish between motorola and
1825; intel byte order. A decode setting cannot be empty.
1826; http://php.net/exif.encode-unicode
1827;exif.encode_unicode = ISO-8859-15
1828
1829; http://php.net/exif.decode-unicode-motorola
1830;exif.decode_unicode_motorola = UCS-2BE
1831
1832; http://php.net/exif.decode-unicode-intel
1833;exif.decode_unicode_intel = UCS-2LE
1834
1835; http://php.net/exif.encode-jis
1836;exif.encode_jis =
1837
1838; http://php.net/exif.decode-jis-motorola
1839;exif.decode_jis_motorola = JIS
1840
1841; http://php.net/exif.decode-jis-intel
1842;exif.decode_jis_intel = JIS
1843
1844[Tidy]
1845; The path to a default tidy configuration file to use when using tidy
1846; http://php.net/tidy.default-config
1847;tidy.default_config = /usr/local/lib/php/default.tcfg
1848
1849; Should tidy clean and repair output automatically?
1850; WARNING: Do not use this option if you are generating non-html content
1851; such as dynamic images
1852; http://php.net/tidy.clean-output
1853tidy.clean_output = Off
1854
1855[soap]
1856; Enables or disables WSDL caching feature.
1857; http://php.net/soap.wsdl-cache-enabled
1858soap.wsdl_cache_enabled=1
1859
1860; Sets the directory name where SOAP extension will put cache files.
1861; http://php.net/soap.wsdl-cache-dir
1862soap.wsdl_cache_dir="/tmp"
1863
1864; (time to live) Sets the number of second while cached file will be used
1865; instead of original one.
1866; http://php.net/soap.wsdl-cache-ttl
1867soap.wsdl_cache_ttl=86400
1868
1869; Sets the size of the cache limit. (Max. number of WSDL files to cache)
1870soap.wsdl_cache_limit = 5
1871
1872[sysvshm]
1873; A default size of the shared memory segment
1874;sysvshm.init_mem = 10000
1875
1876[ldap]
1877; Sets the maximum number of open links or -1 for unlimited.
1878ldap.max_links = -1
1879
1880[mcrypt]
1881; For more information about mcrypt settings see http://php.net/mcrypt-module-open
1882
1883; Directory where to load mcrypt algorithms
1884; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1885;mcrypt.algorithms_dir=
1886
1887; Directory where to load mcrypt modes
1888; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1889;mcrypt.modes_dir=
1890
1891[dba]
1892;dba.default_handler=
1893
1894[opcache]
1895; Determines if Zend OPCache is enabled
1896;opcache.enable=0
1897
1898; Determines if Zend OPCache is enabled for the CLI version of PHP
1899;opcache.enable_cli=0
1900
1901; The OPcache shared memory storage size.
1902;opcache.memory_consumption=64
1903
1904; The amount of memory for interned strings in Mbytes.
1905;opcache.interned_strings_buffer=4
1906
1907; The maximum number of keys (scripts) in the OPcache hash table.
1908; Only numbers between 200 and 100000 are allowed.
1909;opcache.max_accelerated_files=2000
1910
1911; The maximum percentage of "wasted" memory until a restart is scheduled.
1912;opcache.max_wasted_percentage=5
1913
1914; When this directive is enabled, the OPcache appends the current working
1915; directory to the script key, thus eliminating possible collisions between
1916; files with the same name (basename). Disabling the directive improves
1917; performance, but may break existing applications.
1918;opcache.use_cwd=1
1919
1920; When disabled, you must reset the OPcache manually or restart the
1921; webserver for changes to the filesystem to take effect.
1922;opcache.validate_timestamps=1
1923
1924; How often (in seconds) to check file timestamps for changes to the shared
1925; memory storage allocation. ("1" means validate once per second, but only
1926; once per request. "0" means always validate)
1927;opcache.revalidate_freq=2
1928
1929; Enables or disables file search in include_path optimization
1930;opcache.revalidate_path=0
1931
1932; If disabled, all PHPDoc comments are dropped from the code to reduce the
1933; size of the optimized code.
1934;opcache.save_comments=1
1935
1936; If enabled, a fast shutdown sequence is used for the accelerated code
1937;opcache.fast_shutdown=0
1938
1939; Allow file existence override (file_exists, etc.) performance feature.
1940;opcache.enable_file_override=0
1941
1942; A bitmask, where each bit enables or disables the appropriate OPcache
1943; passes
1944;opcache.optimization_level=0xffffffff
1945
1946;opcache.inherited_hack=1
1947;opcache.dups_fix=0
1948
1949; The location of the OPcache blacklist file (wildcards allowed).
1950; Each OPcache blacklist file is a text file that holds the names of files
1951; that should not be accelerated. The file format is to add each filename
1952; to a new line. The filename may be a full path or just a file prefix
1953; (i.e., /var/www/x blacklists all the files and directories in /var/www
1954; that start with 'x'). Line starting with a ; are ignored (comments).
1955;opcache.blacklist_filename=
1956
1957; Allows exclusion of large files from being cached. By default all files
1958; are cached.
1959;opcache.max_file_size=0
1960
1961; Check the cache checksum each N requests.
1962; The default value of "0" means that the checks are disabled.
1963;opcache.consistency_checks=0
1964
1965; How long to wait (in seconds) for a scheduled restart to begin if the cache
1966; is not being accessed.
1967;opcache.force_restart_timeout=180
1968
1969; OPcache error_log file name. Empty string assumes "stderr".
1970;opcache.error_log=
1971
1972; All OPcache errors go to the Web server log.
1973; By default, only fatal errors (level 0) or errors (level 1) are logged.
1974; You can also enable warnings (level 2), info messages (level 3) or
1975; debug messages (level 4).
1976;opcache.log_verbosity_level=1
1977
1978; Preferred Shared Memory back-end. Leave empty and let the system decide.
1979;opcache.preferred_memory_model=
1980
1981; Protect the shared memory from unexpected writing during script execution.
1982; Useful for internal debugging only.
1983;opcache.protect_memory=0
1984
1985; Allows calling OPcache API functions only from PHP scripts which path is
1986; started from specified string. The default "" means no restriction
1987;opcache.restrict_api=
1988
1989; Mapping base of shared memory segments (for Windows only). All the PHP
1990; processes have to map shared memory into the same address space. This
1991; directive allows to manually fix the "Unable to reattach to base address"
1992; errors.
1993;opcache.mmap_base=
1994
1995; Enables and sets the second level cache directory.
1996; It should improve performance when SHM memory is full, at server restart or
1997; SHM reset. The default "" disables file based caching.
1998;opcache.file_cache=
1999
2000; Enables or disables opcode caching in shared memory.
2001;opcache.file_cache_only=0
2002
2003; Enables or disables checksum validation when script loaded from file cache.
2004;opcache.file_cache_consistency_checks=1
2005
2006; Implies opcache.file_cache_only=1 for a certain process that failed to
2007; reattach to the shared memory (for Windows only). Explicitly enabled file
2008; cache is required.
2009;opcache.file_cache_fallback=1
2010
2011; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
2012; This should improve performance, but requires appropriate OS configuration.
2013;opcache.huge_code_pages=1
2014
2015; Validate cached file permissions.
2016; opcache.validate_permission=0
2017
2018; Prevent name collisions in chroot'ed environment.
2019; opcache.validate_root=0
2020
2021[curl]
2022; A default value for the CURLOPT_CAINFO option. This is required to be an
2023; absolute path.
2024;curl.cainfo =
2025
2026[openssl]
2027; The location of a Certificate Authority (CA) file on the local filesystem
2028; to use when verifying the identity of SSL/TLS peers. Most users should
2029; not specify a value for this directive as PHP will attempt to use the
2030; OS-managed cert stores in its absence. If specified, this value may still
2031; be overridden on a per-stream basis via the "cafile" SSL stream context
2032; option.
2033;openssl.cafile=
2034
2035; If openssl.cafile is not specified or if the CA file is not found, the
2036; directory pointed to by openssl.capath is searched for a suitable
2037; certificate. This value must be a correctly hashed certificate directory.
2038; Most users should not specify a value for this directive as PHP will
2039; attempt to use the OS-managed cert stores in its absence. If specified,
2040; this value may still be overridden on a per-stream basis via the "capath"
2041; SSL stream context option.
2042;openssl.capath=
2043
2044; Local Variables:
2045; tab-width: 4
2046; End: