Make WordPress Core

Ticket #26802: php.ini

File php.ini, 67.7 KB (added by WinWPAdmin, 11 years ago)

PHP.ini for reference

Line 
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
18; Windows directory (C:\windows or C:\winnt)
19; See the PHP docs for more specific information.
20; http://php.net/configuration.file
21
22; The syntax of the file is extremely simple.  Whitespace and lines
23; beginning with a semicolon are silently ignored (as you probably guessed).
24; Section headers (e.g. [Foo]) are also silently ignored, even though
25; they might mean something in the future.
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.
34; http://php.net/ini.sections
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
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'
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
81; php.ini-development is very similar to its production variant, except it's
82; much more verbose when it comes to errors. We recommending using the
83; development version only in development environments as errors shown to
84; application users can inadvertently leak otherwise secure information.
85
86; This is php.ini-production INI file.
87
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
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
110
111; html_errors
112;   Default Value: On
113;   Development Value: On
114;   Production value: On
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.bug_compat_42
142;   Default Value: On
143;   Development Value: On
144;   Production Value: Off
145
146; session.bug_compat_warn
147;   Default Value: On
148;   Development Value: On
149;   Production Value: Off
150
151; session.gc_divisor
152;   Default Value: 100
153;   Development Value: 1000
154;   Production Value: 1000
155
156; session.hash_bits_per_character
157;   Default Value: 4
158;   Development Value: 5
159;   Production Value: 5
160
161; short_open_tag
162;   Default Value: On
163;   Development Value: Off
164;   Production Value: Off
165
166; track_errors
167;   Default Value: Off
168;   Development Value: On
169;   Production Value: Off
170
171; url_rewriter.tags
172;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
173;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
174;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
175
176; variables_order
177;   Default Value: "EGPCS"
178;   Development Value: "GPCS"
179;   Production Value: "GPCS"
180
181;;;;;;;;;;;;;;;;;;;;
182; php.ini Options  ;
183;;;;;;;;;;;;;;;;;;;;
184; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
185;user_ini.filename = ".user.ini"
186
187; To disable this feature set this option to empty value
188;user_ini.filename =
189
190; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
191;user_ini.cache_ttl = 300
192
193;;;;;;;;;;;;;;;;;;;;
194; Language Options ;
195;;;;;;;;;;;;;;;;;;;;
196
197; Enable the PHP scripting language engine under Apache.
198; http://php.net/engine
199engine = On
200
201; This directive determines whether or not PHP will recognize code between
202; <? and ?> tags as PHP source which should be processed as such. It is
203; generally recommended that <?php and ?> should be used and that this feature
204; should be disabled, as enabling it may result in issues when generating XML
205; documents, however this remains supported for backward compatibility reasons.
206; Note that this directive does not control the <?= shorthand tag, which can be
207; used regardless of this directive.
208; Default Value: On
209; Development Value: Off
210; Production Value: Off
211; http://php.net/short-open-tag
212short_open_tag = Off
213
214; Allow ASP-style <% %> tags.
215; http://php.net/asp-tags
216asp_tags = Off
217
218; The number of significant digits displayed in floating point numbers.
219; http://php.net/precision
220precision = 14
221
222; Output buffering is a mechanism for controlling how much output data
223; (excluding headers and cookies) PHP should keep internally before pushing that
224; data to the client. If your application's output exceeds this setting, PHP
225; will send that data in chunks of roughly the size you specify.
226; Turning on this setting and managing its maximum buffer size can yield some
227; interesting side-effects depending on your application and web server.
228; You may be able to send headers and cookies after you've already sent output
229; through print or echo. You also may see performance benefits if your server is
230; emitting less packets due to buffered output versus PHP streaming the output
231; as it gets it. On production servers, 4096 bytes is a good setting for performance
232; reasons.
233; Note: Output buffering can also be controlled via Output Buffering Control
234;   functions.
235; Possible Values:
236;   On = Enabled and buffer is unlimited. (Use with caution)
237;   Off = Disabled
238;   Integer = Enables the buffer and sets its maximum size in bytes.
239; Note: This directive is hardcoded to Off for the CLI SAPI
240; Default Value: Off
241; Development Value: 4096
242; Production Value: 4096
243; http://php.net/output-buffering
244output_buffering = 4096
245
246; You can redirect all of the output of your scripts to a function.  For
247; example, if you set output_handler to "mb_output_handler", character
248; encoding will be transparently converted to the specified encoding.
249; Setting any output handler automatically turns on output buffering.
250; Note: People who wrote portable scripts should not depend on this ini
251;   directive. Instead, explicitly set the output handler using ob_start().
252;   Using this ini directive may cause problems unless you know what script
253;   is doing.
254; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
255;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
256; Note: output_handler must be empty if this is set 'On' !!!!
257;   Instead you must use zlib.output_handler.
258; http://php.net/output-handler
259;output_handler =
260
261; Transparent output compression using the zlib library
262; Valid values for this option are 'off', 'on', or a specific buffer size
263; to be used for compression (default is 4KB)
264; Note: Resulting chunk size may vary due to nature of compression. PHP
265;   outputs chunks that are few hundreds bytes each as a result of
266;   compression. If you prefer a larger chunk size for better
267;   performance, enable output_buffering in addition.
268; Note: You need to use zlib.output_handler instead of the standard
269;   output_handler, or otherwise the output will be corrupted.
270; http://php.net/zlib.output-compression
271zlib.output_compression = Off
272
273; http://php.net/zlib.output-compression-level
274;zlib.output_compression_level = -1
275
276; You cannot specify additional output handlers if zlib.output_compression
277; is activated here. This setting does the same as output_handler but in
278; a different order.
279; http://php.net/zlib.output-handler
280;zlib.output_handler =
281
282; Implicit flush tells PHP to tell the output layer to flush itself
283; automatically after every output block.  This is equivalent to calling the
284; PHP function flush() after each and every call to print() or echo() and each
285; and every HTML block.  Turning this option on has serious performance
286; implications and is generally recommended for debugging purposes only.
287; http://php.net/implicit-flush
288; Note: This directive is hardcoded to On for the CLI SAPI
289implicit_flush = Off
290
291; The unserialize callback function will be called (with the undefined class'
292; name as parameter), if the unserializer finds an undefined class
293; which should be instantiated. A warning appears if the specified function is
294; not defined, or if the function doesn't include/implement the missing class.
295; So only set this entry, if you really want to implement such a
296; callback-function.
297unserialize_callback_func =
298
299; When floats & doubles are serialized store serialize_precision significant
300; digits after the floating point. The default value ensures that when floats
301; are decoded with unserialize, the data will remain the same.
302serialize_precision = 17
303
304; open_basedir, if set, limits all file operations to the defined directory
305; and below.  This directive makes most sense if used in a per-directory
306; or per-virtualhost web server configuration file. This directive is
307; *NOT* affected by whether Safe Mode is turned On or Off.
308; http://php.net/open-basedir
309open_basedir = "C:\inetpub\wwwroot\;C:\inetpub\virtualroot\;c:\php\temp\upload\;c:\php\temp\session\"
310
311; This directive allows you to disable certain functions for security reasons.
312; It receives a comma-delimited list of function names. This directive is
313; *NOT* affected by whether Safe Mode is turned On or Off.
314; http://php.net/disable-functions
315disable_functions =
316
317; This directive allows you to disable certain classes for security reasons.
318; It receives a comma-delimited list of class names. This directive is
319; *NOT* affected by whether Safe Mode is turned On or Off.
320; http://php.net/disable-classes
321disable_classes =
322
323; Colors for Syntax Highlighting mode.  Anything that's acceptable in
324; <span style="color: ???????"> would work.
325; http://php.net/syntax-highlighting
326;highlight.string  = #DD0000
327;highlight.comment = #FF9900
328;highlight.keyword = #007700
329;highlight.default = #0000BB
330;highlight.html    = #000000
331
332; If enabled, the request will be allowed to complete even if the user aborts
333; the request. Consider enabling it if executing long requests, which may end up
334; being interrupted by the user or a browser timing out. PHP's default behavior
335; is to disable this feature.
336; http://php.net/ignore-user-abort
337;ignore_user_abort = On
338
339; Determines the size of the realpath cache to be used by PHP. This value should
340; be increased on systems where PHP opens many files to reflect the quantity of
341; the file operations performed.
342; http://php.net/realpath-cache-size
343;realpath_cache_size = 16k
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.
348; http://php.net/realpath-cache-ttl
349;realpath_cache_ttl = 120
350
351; Enables or disables the circular reference collector.
352; http://php.net/zend.enable-gc
353zend.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
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.
375; http://php.net/expose-php
376expose_php = Off
377
378;;;;;;;;;;;;;;;;;;;
379; Resource Limits ;
380;;;;;;;;;;;;;;;;;;;
381
382; Maximum execution time of each script, in seconds
383; http://php.net/max-execution-time
384; Note: This directive is hardcoded to 0 for the CLI SAPI
385max_execution_time = 300
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
389; long running scripts.
390; Note: This directive is hardcoded to -1 for the CLI SAPI
391; Default Value: -1 (Unlimited)
392; Development Value: 60 (60 seconds)
393; Production Value: 60 (60 seconds)
394; http://php.net/max-input-time
395max_input_time = 60
396
397; Maximum input variable nesting level
398; http://php.net/max-input-nesting-level
399max_input_nesting_level = 64
400
401; How many GET/POST/COOKIE input variables may be accepted
402max_input_vars = 1000
403
404; Maximum amount of memory a script may consume (128MB)
405; http://php.net/memory-limit
406memory_limit = 128M
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.
423; Note: The php.ini-development file has this setting as E_ALL. This
424; means it pretty much reports everything which is exactly what you want during
425; development and early testing.
426;
427; Error Level Constants:
428; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
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
436;                     relying on the fact it's automatically initialized to an
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:
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.)
457;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
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
462error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
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.
469; It's recommended that errors be logged on production servers rather than
470; having the errors sent to STDOUT.
471; Possible Values:
472;   Off = Do not display any errors
473;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
474;   On or stdout = Display errors to STDOUT
475; Default Value: On
476; Development Value: On
477; Production Value: Off
478; http://php.net/display-errors
479display_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
484; debugging configuration problems. But, it's strongly recommended that you
485; leave this setting off on production servers.
486; Default Value: Off
487; Development Value: On
488; Production Value: Off
489; http://php.net/display-startup-errors
490display_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
499; http://php.net/log-errors
500log_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.
504; http://php.net/log-errors-max-len
505log_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.
509; http://php.net/ignore-repeated-errors
510ignore_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.
515; http://php.net/ignore-repeated-source
516ignore_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
521; http://php.net/report-memleaks
522report_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.
530; Default Value: Off
531; Development Value: On
532; Production Value: Off
533; http://php.net/track-errors
534track_errors = Off
535
536; Turn off normal error reporting and emit XML-RPC error XML
537; http://php.net/xmlrpc-errors
538;xmlrpc_errors = 0
539
540; An XML-RPC faultCode
541;xmlrpc_error_number = 0
542
543; When PHP displays or logs an error, it has the capability of formatting the
544; error message as HTML for easier reading. This directive controls whether
545; the error message is formatted as HTML or not.
546; Note: This directive is hardcoded to Off for the CLI SAPI
547; Default Value: On
548; Development Value: On
549; Production value: On
550; http://php.net/html-errors
551html_errors = On
552
553; If html_errors is set to On *and* docref_root is not empty, then PHP
554; produces clickable error messages that direct to a page describing the error
555; or function causing the error in detail.
556; You can download a copy of the PHP manual from http://php.net/docs
557; and change docref_root to the base URL of your local copy including the
558; leading '/'. You must also specify the file extension being used including
559; the dot. PHP's default behavior is to leave these settings empty, in which
560; case no links to documentation are generated.
561; Note: Never use this feature for production boxes.
562; http://php.net/docref-root
563; Examples
564;docref_root = "/phpmanual/"
565
566; http://php.net/docref-ext
567;docref_ext = .html
568
569; String to output before an error message. PHP's default behavior is to leave
570; this setting blank.
571; http://php.net/error-prepend-string
572; Example:
573;error_prepend_string = "<span style='color: #ff0000'>"
574
575; String to output after an error message. PHP's default behavior is to leave
576; this setting blank.
577; http://php.net/error-append-string
578; Example:
579;error_append_string = "</span>"
580
581; Log errors to specified file. PHP's default behavior is to leave this value
582; empty.
583; http://php.net/error-log
584; Example:
585;error_log = php_errors.log
586; Log errors to syslog (Event Log on NT, not valid in Windows 95).
587;error_log = syslog
588
589;windows.show_crt_warning
590; Default value: 0
591; Development value: 0
592; Production value: 0
593
594;;;;;;;;;;;;;;;;;
595; Data Handling ;
596;;;;;;;;;;;;;;;;;
597
598; The separator used in PHP generated URLs to separate arguments.
599; PHP's default setting is "&".
600; http://php.net/arg-separator.output
601; Example:
602;arg_separator.output = "&amp;"
603
604; List of separator(s) used by PHP to parse input URLs into variables.
605; PHP's default setting is "&".
606; NOTE: Every character in this directive is considered as separator!
607; http://php.net/arg-separator.input
608; Example:
609;arg_separator.input = ";&"
610
611; This directive determines which super global arrays are registered when PHP
612; starts up. G,P,C,E & S are abbreviations for the following respective super
613; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
614; paid for the registration of these arrays and because ENV is not as commonly
615; used as the others, ENV is not recommended on productions servers. You
616; can still get access to the environment variables through getenv() should you
617; need to.
618; Default Value: "EGPCS"
619; Development Value: "GPCS"
620; Production Value: "GPCS";
621; http://php.net/variables-order
622variables_order = "GPCS"
623
624; This directive determines which super global data (G,P,C,E & S) should
625; be registered into the super global array REQUEST. If so, it also determines
626; the order in which that data is registered. The values for this directive are
627; specified in the same manner as the variables_order directive, EXCEPT one.
628; Leaving this value empty will cause PHP to use the value set in the
629; variables_order directive. It does not mean it will leave the super globals
630; array REQUEST empty.
631; Default Value: None
632; Development Value: "GP"
633; Production Value: "GP"
634; http://php.net/request-order
635request_order = "GP"
636
637; This directive determines whether PHP registers $argv & $argc each time it
638; runs. $argv contains an array of all the arguments passed to PHP when a script
639; is invoked. $argc contains an integer representing the number of arguments
640; that were passed when the script was invoked. These arrays are extremely
641; useful when running scripts from the command line. When this directive is
642; enabled, registering these variables consumes CPU cycles and memory each time
643; a script is executed. For performance reasons, this feature should be disabled
644; on production servers.
645; Note: This directive is hardcoded to On for the CLI SAPI
646; Default Value: On
647; Development Value: Off
648; Production Value: Off
649; http://php.net/register-argc-argv
650register_argc_argv = Off
651
652; When enabled, the ENV, REQUEST and SERVER variables are created when they're
653; first used (Just In Time) instead of when the script starts. If these
654; variables are not used within a script, having this directive on will result
655; in a performance gain. The PHP directive register_argc_argv must be disabled
656; for this directive to have any affect.
657; http://php.net/auto-globals-jit
658auto_globals_jit = On
659
660; Whether PHP will read the POST data.
661; This option is enabled by default.
662; Most likely, you won't want to disable this option globally. It causes $_POST
663; and $_FILES to always be empty; the only way you will be able to read the
664; POST data will be through the php://input stream wrapper. This can be useful
665; to proxy requests or to process the POST data in a memory efficient fashion.
666; http://php.net/enable-post-data-reading
667;enable_post_data_reading = Off
668
669; Maximum size of POST data that PHP will accept.
670; Its value may be 0 to disable the limit. It is ignored if POST data reading
671; is disabled through enable_post_data_reading.
672; http://php.net/post-max-size
673post_max_size = 8M
674
675; Automatically add files before PHP document.
676; http://php.net/auto-prepend-file
677auto_prepend_file =
678
679; Automatically add files after PHP document.
680; http://php.net/auto-append-file
681auto_append_file =
682
683; By default, PHP will output a character encoding using
684; the Content-type: header.  To disable sending of the charset, simply
685; set it to be empty.
686;
687; PHP's built-in default is text/html
688; http://php.net/default-mimetype
689default_mimetype = "text/html"
690
691; PHP's default character set is set to empty.
692; http://php.net/default-charset
693;default_charset = "UTF-8"
694
695; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
696; to disable this feature. If post reading is disabled through
697; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
698; http://php.net/always-populate-raw-post-data
699;always_populate_raw_post_data = On
700
701;;;;;;;;;;;;;;;;;;;;;;;;;
702; Paths and Directories ;
703;;;;;;;;;;;;;;;;;;;;;;;;;
704
705; UNIX: "/path1:/path2"
706;include_path = ".:/php/includes"
707;
708; Windows: "\path1;\path2"
709;include_path = ".;c:\php\includes"
710;
711; PHP's default setting for include_path is ".;/path/to/php/pear"
712; http://php.net/include-path
713
714; The root of the PHP pages, used only if nonempty.
715; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
716; if you are running php as a CGI under any web server (other than IIS)
717; see documentation for security issues.  The alternate is to use the
718; cgi.force_redirect configuration below
719; http://php.net/doc-root
720doc_root =
721
722; The directory under which PHP opens the script using /~username used only
723; if nonempty.
724; http://php.net/user-dir
725user_dir =
726
727; Directory in which the loadable extensions (modules) reside.
728; http://php.net/extension-dir
729; extension_dir = "./"
730; On windows:
731; extension_dir = "ext"
732
733; Whether or not to enable the dl() function.  The dl() function does NOT work
734; properly in multithreaded servers, such as IIS or Zeus, and is automatically
735; disabled on them.
736; http://php.net/enable-dl
737enable_dl = Off
738
739; cgi.force_redirect is necessary to provide security running PHP as a CGI under
740; most web servers.  Left undefined, PHP turns this on by default.  You can
741; turn it off here AT YOUR OWN RISK
742; **You CAN safely turn this off for IIS, in fact, you MUST.**
743; http://php.net/cgi.force-redirect
744cgi.force_redirect = 0
745
746; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
747; every request. PHP's default behavior is to disable this feature.
748;cgi.nph = 1
749
750; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
751; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
752; will look for to know it is OK to continue execution.  Setting this variable MAY
753; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
754; http://php.net/cgi.redirect-status-env
755;cgi.redirect_status_env =
756
757; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
758; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
759; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
760; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
761; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
762; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
763; http://php.net/cgi.fix-pathinfo
764cgi.fix_pathinfo = 1
765
766; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
767; security tokens of the calling client.  This allows IIS to define the
768; security context that the request runs under.  mod_fastcgi under Apache
769; does not currently support this feature (03/17/2002)
770; Set to 1 if running under IIS.  Default is zero.
771; http://php.net/fastcgi.impersonate
772fastcgi.impersonate = 1
773
774; Disable logging through FastCGI connection. PHP's default behavior is to enable
775; this feature.
776;fastcgi.logging = 0
777
778; cgi.rfc2616_headers configuration option tells PHP what type of headers to
779; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
780; is supported by Apache. When this option is set to 1 PHP will send
781; RFC2616 compliant header.
782; Default is zero.
783; http://php.net/cgi.rfc2616-headers
784;cgi.rfc2616_headers = 0
785
786;;;;;;;;;;;;;;;;
787; File Uploads ;
788;;;;;;;;;;;;;;;;
789
790; Whether to allow HTTP file uploads.
791; http://php.net/file-uploads
792file_uploads = On
793
794; Temporary directory for HTTP uploaded files (will use system default if not
795; specified).
796; http://php.net/upload-tmp-dir
797;upload_tmp_dir =
798
799; Maximum allowed size for uploaded files.
800; http://php.net/upload-max-filesize
801upload_max_filesize = 2M
802
803; Maximum number of files that can be uploaded via a single request
804max_file_uploads = 20
805
806;;;;;;;;;;;;;;;;;;
807; Fopen wrappers ;
808;;;;;;;;;;;;;;;;;;
809
810; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
811; http://php.net/allow-url-fopen
812;allow_url_fopen = On
813allow_url_fopen = Off
814
815; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
816; http://php.net/allow-url-include
817allow_url_include = Off
818
819; Define the anonymous ftp password (your email address). PHP's default setting
820; for this is empty.
821; http://php.net/from
822;from="john@doe.com"
823
824; Define the User-Agent string. PHP's default setting for this is empty.
825; http://php.net/user-agent
826;user_agent="PHP"
827
828; Default timeout for socket based streams (seconds)
829; http://php.net/default-socket-timeout
830default_socket_timeout = 60
831upload_tmp_dir = "C:\PHP\temp\upload"
832session.save_path = "C:\PHP\temp\session"
833error_log = "C:\PHP\logs\php-5.4.23_errors.log"
834fastcgi.logging = 0
835extension_dir = "C:\PHP\php-5.4.23-nts-Win32-VC9-x86\ext\"
836
837; If your scripts have to deal with files from Macintosh systems,
838; or you are running on a Mac and need to deal with files from
839; unix or win32 systems, setting this flag will cause PHP to
840; automatically detect the EOL character in those files so that
841; fgets() and file() will work regardless of the source of the file.
842; http://php.net/auto-detect-line-endings
843;auto_detect_line_endings = Off
844
845;;;;;;;;;;;;;;;;;;;;;;
846; Dynamic Extensions ;
847;;;;;;;;;;;;;;;;;;;;;;
848
849; If you wish to have an extension loaded automatically, use the following
850; syntax:
851;
852;   extension=modulename.extension
853;
854; For example, on Windows:
855;
856;   extension=msql.dll
857;
858; ... or under UNIX:
859;
860;   extension=msql.so
861;
862; ... or with a path:
863;
864;   extension=/path/to/extension/msql.so
865;
866; If you only provide the name of the extension, PHP will look for it in its
867; default extension directory.
868;
869; Windows Extensions
870; Note that ODBC support is built in, so no dll is needed for it.
871; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
872; extension folders as well as the separate PECL DLL download (PHP 5).
873; Be sure to appropriately set the extension_dir directive.
874;
875;extension=php_bz2.dll
876;extension=php_curl.dll
877;extension=php_fileinfo.dll
878extension=php_gd2.dll
879extension=php_gettext.dll
880;extension=php_gmp.dll
881;extension=php_intl.dll
882;extension=php_imap.dll
883;extension=php_interbase.dll
884;extension=php_ldap.dll
885extension=php_mbstring.dll
886extension=php_exif.dll      ; Must be after mbstring as it depends on it
887extension=php_mysql.dll
888extension=php_mysqli.dll
889;extension=php_oci8.dll      ; Use with Oracle 10gR2 Instant Client
890;extension=php_oci8_11g.dll  ; Use with Oracle 11gR2 Instant Client
891extension=php_openssl.dll
892;extension=php_pdo_firebird.dll
893;extension=php_pdo_mysql.dll
894;extension=php_pdo_oci.dll
895;extension=php_pdo_odbc.dll
896;extension=php_pdo_pgsql.dll
897;extension=php_pdo_sqlite.dll
898;extension=php_pgsql.dll
899;extension=php_pspell.dll
900;extension=php_shmop.dll
901
902; The MIBS data available in the PHP distribution must be installed.
903; See http://www.php.net/manual/en/snmp.installation.php
904;extension=php_snmp.dll
905
906extension=php_soap.dll
907;extension=php_sockets.dll
908;extension=php_sqlite3.dll
909;extension=php_sybase_ct.dll
910;extension=php_tidy.dll
911extension=php_xmlrpc.dll
912;extension=php_xsl.dll
913
914;;;;;;;;;;;;;;;;;;;
915; Module Settings ;
916;;;;;;;;;;;;;;;;;;;
917
918[CLI Server]
919; Whether the CLI web server uses ANSI color coding in its terminal output.
920cli_server.color = On
921
922[Date]
923; Defines the default timezone used by the date functions
924; http://php.net/date.timezone
925date.timezone = "America/New_York"
926
927; http://php.net/date.default-latitude
928;date.default_latitude = 31.7667
929
930; http://php.net/date.default-longitude
931;date.default_longitude = 35.2333
932
933; http://php.net/date.sunrise-zenith
934;date.sunrise_zenith = 90.583333
935
936; http://php.net/date.sunset-zenith
937;date.sunset_zenith = 90.583333
938
939[filter]
940; http://php.net/filter.default
941;filter.default = unsafe_raw
942
943; http://php.net/filter.default-flags
944;filter.default_flags =
945
946[iconv]
947;iconv.input_encoding = ISO-8859-1
948;iconv.internal_encoding = ISO-8859-1
949;iconv.output_encoding = ISO-8859-1
950
951[intl]
952;intl.default_locale =
953; This directive allows you to produce PHP errors when some error
954; happens within intl functions. The value is the level of the error produced.
955; Default is 0, which does not produce any errors.
956;intl.error_level = E_WARNING
957
958[sqlite]
959; http://php.net/sqlite.assoc-case
960;sqlite.assoc_case = 0
961
962[sqlite3]
963;sqlite3.extension_dir =
964
965[Pcre]
966;PCRE library backtracking limit.
967; http://php.net/pcre.backtrack-limit
968;pcre.backtrack_limit=100000
969
970;PCRE library recursion limit.
971;Please note that if you set this value to a high number you may consume all
972;the available process stack and eventually crash PHP (due to reaching the
973;stack size limit imposed by the Operating System).
974; http://php.net/pcre.recursion-limit
975;pcre.recursion_limit=100000
976
977[Pdo]
978; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
979; http://php.net/pdo-odbc.connection-pooling
980;pdo_odbc.connection_pooling=strict
981
982;pdo_odbc.db2_instance_name
983
984[Pdo_mysql]
985; If mysqlnd is used: Number of cache slots for the internal result set cache
986; http://php.net/pdo_mysql.cache_size
987pdo_mysql.cache_size = 2000
988
989; Default socket name for local MySQL connects.  If empty, uses the built-in
990; MySQL defaults.
991; http://php.net/pdo_mysql.default-socket
992pdo_mysql.default_socket=
993
994[Phar]
995; http://php.net/phar.readonly
996;phar.readonly = On
997
998; http://php.net/phar.require-hash
999;phar.require_hash = On
1000
1001;phar.cache_list =
1002
1003[mail function]
1004; For Win32 only.
1005; http://php.net/smtp
1006SMTP = 127.0.0.1
1007; http://php.net/smtp-port
1008smtp_port = 25
1009
1010; For Win32 only.
1011; http://php.net/sendmail-from
1012sendmail_from = php.webserver@mydomain.com
1013
1014; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
1015; http://php.net/sendmail-path
1016;sendmail_path =
1017
1018; Force the addition of the specified parameters to be passed as extra parameters
1019; to the sendmail binary. These parameters will always replace the value of
1020; the 5th parameter to mail(), even in safe mode.
1021;mail.force_extra_parameters =
1022
1023; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
1024mail.add_x_header = On
1025
1026; The path to a log file that will log all mail() calls. Log entries include
1027; the full path of the script, line number, To address and headers.
1028;mail.log =
1029; Log mail to syslog (Event Log on NT, not valid in Windows 95).
1030;mail.log = syslog
1031
1032[SQL]
1033; http://php.net/sql.safe-mode
1034sql.safe_mode = Off
1035
1036[ODBC]
1037; http://php.net/odbc.default-db
1038;odbc.default_db    =  Not yet implemented
1039
1040; http://php.net/odbc.default-user
1041;odbc.default_user  =  Not yet implemented
1042
1043; http://php.net/odbc.default-pw
1044;odbc.default_pw    =  Not yet implemented
1045
1046; Controls the ODBC cursor model.
1047; Default: SQL_CURSOR_STATIC (default).
1048;odbc.default_cursortype
1049
1050; Allow or prevent persistent links.
1051; http://php.net/odbc.allow-persistent
1052odbc.allow_persistent = On
1053
1054; Check that a connection is still valid before reuse.
1055; http://php.net/odbc.check-persistent
1056odbc.check_persistent = On
1057
1058; Maximum number of persistent links.  -1 means no limit.
1059; http://php.net/odbc.max-persistent
1060odbc.max_persistent = -1
1061
1062; Maximum number of links (persistent + non-persistent).  -1 means no limit.
1063; http://php.net/odbc.max-links
1064odbc.max_links = -1
1065
1066; Handling of LONG fields.  Returns number of bytes to variables.  0 means
1067; passthru.
1068; http://php.net/odbc.defaultlrl
1069odbc.defaultlrl = 4096
1070
1071; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
1072; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
1073; of odbc.defaultlrl and odbc.defaultbinmode
1074; http://php.net/odbc.defaultbinmode
1075odbc.defaultbinmode = 1
1076
1077;birdstep.max_links = -1
1078
1079[Interbase]
1080; Allow or prevent persistent links.
1081ibase.allow_persistent = 1
1082
1083; Maximum number of persistent links.  -1 means no limit.
1084ibase.max_persistent = -1
1085
1086; Maximum number of links (persistent + non-persistent).  -1 means no limit.
1087ibase.max_links = -1
1088
1089; Default database name for ibase_connect().
1090;ibase.default_db =
1091
1092; Default username for ibase_connect().
1093;ibase.default_user =
1094
1095; Default password for ibase_connect().
1096;ibase.default_password =
1097
1098; Default charset for ibase_connect().
1099;ibase.default_charset =
1100
1101; Default timestamp format.
1102ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
1103
1104; Default date format.
1105ibase.dateformat = "%Y-%m-%d"
1106
1107; Default time format.
1108ibase.timeformat = "%H:%M:%S"
1109
1110[MySQL]
1111; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1112; http://php.net/mysql.allow_local_infile
1113mysql.allow_local_infile = On
1114
1115; Allow or prevent persistent links.
1116; http://php.net/mysql.allow-persistent
1117mysql.allow_persistent = On
1118
1119; If mysqlnd is used: Number of cache slots for the internal result set cache
1120; http://php.net/mysql.cache_size
1121mysql.cache_size = 2000
1122
1123; Maximum number of persistent links.  -1 means no limit.
1124; http://php.net/mysql.max-persistent
1125mysql.max_persistent = -1
1126
1127; Maximum number of links (persistent + non-persistent).  -1 means no limit.
1128; http://php.net/mysql.max-links
1129mysql.max_links = -1
1130
1131; Default port number for mysql_connect().  If unset, mysql_connect() will use
1132; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1133; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
1134; at MYSQL_PORT.
1135; http://php.net/mysql.default-port
1136mysql.default_port =
1137
1138; Default socket name for local MySQL connects.  If empty, uses the built-in
1139; MySQL defaults.
1140; http://php.net/mysql.default-socket
1141mysql.default_socket =
1142
1143; Default host for mysql_connect() (doesn't apply in safe mode).
1144; http://php.net/mysql.default-host
1145mysql.default_host =
1146
1147; Default user for mysql_connect() (doesn't apply in safe mode).
1148; http://php.net/mysql.default-user
1149mysql.default_user =
1150
1151; Default password for mysql_connect() (doesn't apply in safe mode).
1152; Note that this is generally a *bad* idea to store passwords in this file.
1153; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
1154; and reveal this password!  And of course, any users with read access to this
1155; file will be able to reveal the password as well.
1156; http://php.net/mysql.default-password
1157mysql.default_password =
1158
1159; Maximum time (in seconds) for connect timeout. -1 means no limit
1160; http://php.net/mysql.connect-timeout
1161mysql.connect_timeout = 60
1162
1163; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
1164; SQL-Errors will be displayed.
1165; http://php.net/mysql.trace-mode
1166mysql.trace_mode = Off
1167
1168[MySQLi]
1169
1170; Maximum number of persistent links.  -1 means no limit.
1171; http://php.net/mysqli.max-persistent
1172mysqli.max_persistent = -1
1173
1174; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1175; http://php.net/mysqli.allow_local_infile
1176;mysqli.allow_local_infile = On
1177
1178; Allow or prevent persistent links.
1179; http://php.net/mysqli.allow-persistent
1180mysqli.allow_persistent = On
1181
1182; Maximum number of links.  -1 means no limit.
1183; http://php.net/mysqli.max-links
1184mysqli.max_links = -1
1185
1186; If mysqlnd is used: Number of cache slots for the internal result set cache
1187; http://php.net/mysqli.cache_size
1188mysqli.cache_size = 2000
1189
1190; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
1191; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1192; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
1193; at MYSQL_PORT.
1194; http://php.net/mysqli.default-port
1195mysqli.default_port = 3306
1196
1197; Default socket name for local MySQL connects.  If empty, uses the built-in
1198; MySQL defaults.
1199; http://php.net/mysqli.default-socket
1200mysqli.default_socket =
1201
1202; Default host for mysql_connect() (doesn't apply in safe mode).
1203; http://php.net/mysqli.default-host
1204mysqli.default_host =
1205
1206; Default user for mysql_connect() (doesn't apply in safe mode).
1207; http://php.net/mysqli.default-user
1208mysqli.default_user =
1209
1210; Default password for mysqli_connect() (doesn't apply in safe mode).
1211; Note that this is generally a *bad* idea to store passwords in this file.
1212; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
1213; and reveal this password!  And of course, any users with read access to this
1214; file will be able to reveal the password as well.
1215; http://php.net/mysqli.default-pw
1216mysqli.default_pw =
1217
1218; Allow or prevent reconnect
1219mysqli.reconnect = Off
1220
1221[mysqlnd]
1222; Enable / Disable collection of general statistics by mysqlnd which can be
1223; used to tune and monitor MySQL operations.
1224; http://php.net/mysqlnd.collect_statistics
1225mysqlnd.collect_statistics = On
1226
1227; Enable / Disable collection of memory usage statistics by mysqlnd which can be
1228; used to tune and monitor MySQL operations.
1229; http://php.net/mysqlnd.collect_memory_statistics
1230mysqlnd.collect_memory_statistics = Off
1231
1232; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
1233; http://php.net/mysqlnd.net_cmd_buffer_size
1234;mysqlnd.net_cmd_buffer_size = 2048
1235
1236; Size of a pre-allocated buffer used for reading data sent by the server in
1237; bytes.
1238; http://php.net/mysqlnd.net_read_buffer_size
1239;mysqlnd.net_read_buffer_size = 32768
1240
1241[OCI8]
1242
1243; Connection: Enables privileged connections using external
1244; credentials (OCI_SYSOPER, OCI_SYSDBA)
1245; http://php.net/oci8.privileged-connect
1246;oci8.privileged_connect = Off
1247
1248; Connection: The maximum number of persistent OCI8 connections per
1249; process. Using -1 means no limit.
1250; http://php.net/oci8.max-persistent
1251;oci8.max_persistent = -1
1252
1253; Connection: The maximum number of seconds a process is allowed to
1254; maintain an idle persistent connection. Using -1 means idle
1255; persistent connections will be maintained forever.
1256; http://php.net/oci8.persistent-timeout
1257;oci8.persistent_timeout = -1
1258
1259; Connection: The number of seconds that must pass before issuing a
1260; ping during oci_pconnect() to check the connection validity. When
1261; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
1262; pings completely.
1263; http://php.net/oci8.ping-interval
1264;oci8.ping_interval = 60
1265
1266; Connection: Set this to a user chosen connection class to be used
1267; for all pooled server requests with Oracle 11g Database Resident
1268; Connection Pooling (DRCP).  To use DRCP, this value should be set to
1269; the same string for all web servers running the same application,
1270; the database pool must be configured, and the connection string must
1271; specify to use a pooled server.
1272;oci8.connection_class =
1273
1274; High Availability: Using On lets PHP receive Fast Application
1275; Notification (FAN) events generated when a database node fails. The
1276; database must also be configured to post FAN events.
1277;oci8.events = Off
1278
1279; Tuning: This option enables statement caching, and specifies how
1280; many statements to cache. Using 0 disables statement caching.
1281; http://php.net/oci8.statement-cache-size
1282;oci8.statement_cache_size = 20
1283
1284; Tuning: Enables statement prefetching and sets the default number of
1285; rows that will be fetched automatically after statement execution.
1286; http://php.net/oci8.default-prefetch
1287;oci8.default_prefetch = 100
1288
1289; Compatibility. Using On means oci_close() will not close
1290; oci_connect() and oci_new_connect() connections.
1291; http://php.net/oci8.old-oci-close-semantics
1292;oci8.old_oci_close_semantics = Off
1293
1294[PostgreSQL]
1295; Allow or prevent persistent links.
1296; http://php.net/pgsql.allow-persistent
1297pgsql.allow_persistent = On
1298
1299; Detect broken persistent links always with pg_pconnect().
1300; Auto reset feature requires a little overheads.
1301; http://php.net/pgsql.auto-reset-persistent
1302pgsql.auto_reset_persistent = Off
1303
1304; Maximum number of persistent links.  -1 means no limit.
1305; http://php.net/pgsql.max-persistent
1306pgsql.max_persistent = -1
1307
1308; Maximum number of links (persistent+non persistent).  -1 means no limit.
1309; http://php.net/pgsql.max-links
1310pgsql.max_links = -1
1311
1312; Ignore PostgreSQL backends Notice message or not.
1313; Notice message logging require a little overheads.
1314; http://php.net/pgsql.ignore-notice
1315pgsql.ignore_notice = 0
1316
1317; Log PostgreSQL backends Notice message or not.
1318; Unless pgsql.ignore_notice=0, module cannot log notice message.
1319; http://php.net/pgsql.log-notice
1320pgsql.log_notice = 0
1321
1322[Sybase-CT]
1323; Allow or prevent persistent links.
1324; http://php.net/sybct.allow-persistent
1325sybct.allow_persistent = On
1326
1327; Maximum number of persistent links.  -1 means no limit.
1328; http://php.net/sybct.max-persistent
1329sybct.max_persistent = -1
1330
1331; Maximum number of links (persistent + non-persistent).  -1 means no limit.
1332; http://php.net/sybct.max-links
1333sybct.max_links = -1
1334
1335; Minimum server message severity to display.
1336; http://php.net/sybct.min-server-severity
1337sybct.min_server_severity = 10
1338
1339; Minimum client message severity to display.
1340; http://php.net/sybct.min-client-severity
1341sybct.min_client_severity = 10
1342
1343; Set per-context timeout
1344; http://php.net/sybct.timeout
1345;sybct.timeout=
1346
1347;sybct.packet_size
1348
1349; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
1350; Default: one minute
1351;sybct.login_timeout=
1352
1353; The name of the host you claim to be connecting from, for display by sp_who.
1354; Default: none
1355;sybct.hostname=
1356
1357; Allows you to define how often deadlocks are to be retried. -1 means "forever".
1358; Default: 0
1359;sybct.deadlock_retry_count=
1360
1361[bcmath]
1362; Number of decimal digits for all bcmath functions.
1363; http://php.net/bcmath.scale
1364bcmath.scale = 0
1365
1366[browscap]
1367; http://php.net/browscap
1368;browscap = extra/browscap.ini
1369
1370[Session]
1371; Handler used to store/retrieve data.
1372; http://php.net/session.save-handler
1373session.save_handler = files
1374
1375; Argument passed to save_handler.  In the case of files, this is the path
1376; where data files are stored. Note: Windows users have to change this
1377; variable in order to use PHP's session functions.
1378;
1379; The path can be defined as:
1380;
1381;     session.save_path = "N;/path"
1382;
1383; where N is an integer.  Instead of storing all the session files in
1384; /path, what this will do is use subdirectories N-levels deep, and
1385; store the session data in those directories.  This is useful if you
1386; or your OS have problems with lots of files in one directory, and is
1387; a more efficient layout for servers that handle lots of sessions.
1388;
1389; NOTE 1: PHP will not create this directory structure automatically.
1390;         You can use the script in the ext/session dir for that purpose.
1391; NOTE 2: See the section on garbage collection below if you choose to
1392;         use subdirectories for session storage
1393;
1394; The file storage module creates files using mode 600 by default.
1395; You can change that by using
1396;
1397;     session.save_path = "N;MODE;/path"
1398;
1399; where MODE is the octal representation of the mode. Note that this
1400; does not overwrite the process's umask.
1401; http://php.net/session.save-path
1402;session.save_path = "/tmp"
1403
1404; Whether to use cookies.
1405; http://php.net/session.use-cookies
1406session.use_cookies = 1
1407
1408; http://php.net/session.cookie-secure
1409;session.cookie_secure =
1410
1411; This option forces PHP to fetch and use a cookie for storing and maintaining
1412; the session id. We encourage this operation as it's very helpful in combating
1413; session hijacking when not specifying and managing your own session id. It is
1414; not the end all be all of session hijacking defense, but it's a good start.
1415; http://php.net/session.use-only-cookies
1416session.use_only_cookies = 1
1417
1418; Name of the session (used as cookie name).
1419; http://php.net/session.name
1420session.name = PHPSESSID
1421
1422; Initialize session on request startup.
1423; http://php.net/session.auto-start
1424session.auto_start = 0
1425
1426; Lifetime in seconds of cookie or, if 0, until browser is restarted.
1427; http://php.net/session.cookie-lifetime
1428session.cookie_lifetime = 0
1429
1430; The path for which the cookie is valid.
1431; http://php.net/session.cookie-path
1432session.cookie_path = /
1433
1434; The domain for which the cookie is valid.
1435; http://php.net/session.cookie-domain
1436session.cookie_domain =
1437
1438; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
1439; http://php.net/session.cookie-httponly
1440session.cookie_httponly =
1441
1442; Handler used to serialize data.  php is the standard serializer of PHP.
1443; http://php.net/session.serialize-handler
1444session.serialize_handler = php
1445
1446; Defines the probability that the 'garbage collection' process is started
1447; on every session initialization. The probability is calculated by using
1448; gc_probability/gc_divisor. Where session.gc_probability is the numerator
1449; and gc_divisor is the denominator in the equation. Setting this value to 1
1450; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1451; the gc will run on any give request.
1452; Default Value: 1
1453; Development Value: 1
1454; Production Value: 1
1455; http://php.net/session.gc-probability
1456session.gc_probability = 1
1457
1458; Defines the probability that the 'garbage collection' process is started on every
1459; session initialization. The probability is calculated by using the following equation:
1460; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
1461; session.gc_divisor is the denominator in the equation. Setting this value to 1
1462; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1463; the gc will run on any give request. Increasing this value to 1000 will give you
1464; a 0.1% chance the gc will run on any give request. For high volume production servers,
1465; this is a more efficient approach.
1466; Default Value: 100
1467; Development Value: 1000
1468; Production Value: 1000
1469; http://php.net/session.gc-divisor
1470session.gc_divisor = 1000
1471
1472; After this number of seconds, stored data will be seen as 'garbage' and
1473; cleaned up by the garbage collection process.
1474; http://php.net/session.gc-maxlifetime
1475session.gc_maxlifetime = 1440
1476
1477; NOTE: If you are using the subdirectory option for storing session files
1478;       (see session.save_path above), then garbage collection does *not*
1479;       happen automatically.  You will need to do your own garbage
1480;       collection through a shell script, cron entry, or some other method.
1481;       For example, the following script would is the equivalent of
1482;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1483;          find /path/to/sessions -cmin +24 -type f | xargs rm
1484
1485; PHP 4.2 and less have an undocumented feature/bug that allows you to
1486; to initialize a session variable in the global scope.
1487; PHP 4.3 and later will warn you, if this feature is used.
1488; You can disable the feature and the warning separately. At this time,
1489; the warning is only displayed, if bug_compat_42 is enabled. This feature
1490; introduces some serious security problems if not handled correctly. It's
1491; recommended that you do not use this feature on production servers. But you
1492; should enable this on development servers and enable the warning as well. If you
1493; do not enable the feature on development servers, you won't be warned when it's
1494; used and debugging errors caused by this can be difficult to track down.
1495; Default Value: On
1496; Development Value: On
1497; Production Value: Off
1498; http://php.net/session.bug-compat-42
1499session.bug_compat_42 = Off
1500
1501; This setting controls whether or not you are warned by PHP when initializing a
1502; session value into the global space. session.bug_compat_42 must be enabled before
1503; these warnings can be issued by PHP. See the directive above for more information.
1504; Default Value: On
1505; Development Value: On
1506; Production Value: Off
1507; http://php.net/session.bug-compat-warn
1508session.bug_compat_warn = Off
1509
1510; Check HTTP Referer to invalidate externally stored URLs containing ids.
1511; HTTP_REFERER has to contain this substring for the session to be
1512; considered as valid.
1513; http://php.net/session.referer-check
1514session.referer_check =
1515
1516; How many bytes to read from the file.
1517; http://php.net/session.entropy-length
1518session.entropy_length = 32
1519
1520; Specified here to create the session id.
1521; http://php.net/session.entropy-file
1522; Defaults to /dev/urandom
1523; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
1524; If neither are found at compile time, the default is no entropy file.
1525; On windows, setting the entropy_length setting will activate the
1526; Windows random source (using the CryptoAPI)
1527;session.entropy_file = /dev/urandom
1528
1529; Set to {nocache,private,public,} to determine HTTP caching aspects
1530; or leave this empty to avoid sending anti-caching headers.
1531; http://php.net/session.cache-limiter
1532session.cache_limiter = nocache
1533
1534; Document expires after n minutes.
1535; http://php.net/session.cache-expire
1536session.cache_expire = 180
1537
1538; trans sid support is disabled by default.
1539; Use of trans sid may risk your users security.
1540; Use this option with caution.
1541; - User may send URL contains active session ID
1542;   to other person via. email/irc/etc.
1543; - URL that contains active session ID may be stored
1544;   in publicly accessible computer.
1545; - User may access your site with the same session ID
1546;   always using URL stored in browser's history or bookmarks.
1547; http://php.net/session.use-trans-sid
1548session.use_trans_sid = 0
1549
1550; Select a hash function for use in generating session ids.
1551; Possible Values
1552;   0  (MD5 128 bits)
1553;   1  (SHA-1 160 bits)
1554; This option may also be set to the name of any hash function supported by
1555; the hash extension. A list of available hashes is returned by the hash_algos()
1556; function.
1557; http://php.net/session.hash-function
1558session.hash_function = 0
1559
1560; Define how many bits are stored in each character when converting
1561; the binary hash data to something readable.
1562; Possible values:
1563;   4  (4 bits: 0-9, a-f)
1564;   5  (5 bits: 0-9, a-v)
1565;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
1566; Default Value: 4
1567; Development Value: 5
1568; Production Value: 5
1569; http://php.net/session.hash-bits-per-character
1570session.hash_bits_per_character = 5
1571
1572; The URL rewriter will look for URLs in a defined set of HTML tags.
1573; form/fieldset are special; if you include them here, the rewriter will
1574; add a hidden <input> field with the info which is otherwise appended
1575; to URLs.  If you want XHTML conformity, remove the form entry.
1576; Note that all valid entries require a "=", even if no value follows.
1577; Default Value: "a=href,area=href,frame=src,form=,fieldset="
1578; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1579; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1580; http://php.net/url-rewriter.tags
1581url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
1582
1583; Enable upload progress tracking in $_SESSION
1584; Default Value: On
1585; Development Value: On
1586; Production Value: On
1587; http://php.net/session.upload-progress.enabled
1588;session.upload_progress.enabled = On
1589
1590; Cleanup the progress information as soon as all POST data has been read
1591; (i.e. upload completed).
1592; Default Value: On
1593; Development Value: On
1594; Production Value: On
1595; http://php.net/session.upload-progress.cleanup
1596;session.upload_progress.cleanup = On
1597
1598; A prefix used for the upload progress key in $_SESSION
1599; Default Value: "upload_progress_"
1600; Development Value: "upload_progress_"
1601; Production Value: "upload_progress_"
1602; http://php.net/session.upload-progress.prefix
1603;session.upload_progress.prefix = "upload_progress_"
1604
1605; The index name (concatenated with the prefix) in $_SESSION
1606; containing the upload progress information
1607; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
1608; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
1609; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
1610; http://php.net/session.upload-progress.name
1611;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
1612
1613; How frequently the upload progress should be updated.
1614; Given either in percentages (per-file), or in bytes
1615; Default Value: "1%"
1616; Development Value: "1%"
1617; Production Value: "1%"
1618; http://php.net/session.upload-progress.freq
1619;session.upload_progress.freq =  "1%"
1620
1621; The minimum delay between updates, in seconds
1622; Default Value: 1
1623; Development Value: 1
1624; Production Value: 1
1625; http://php.net/session.upload-progress.min-freq
1626;session.upload_progress.min_freq = "1"
1627
1628[MSSQL]
1629; Allow or prevent persistent links.
1630mssql.allow_persistent = On
1631
1632; Maximum number of persistent links.  -1 means no limit.
1633mssql.max_persistent = -1
1634
1635; Maximum number of links (persistent+non persistent).  -1 means no limit.
1636mssql.max_links = -1
1637
1638; Minimum error severity to display.
1639mssql.min_error_severity = 10
1640
1641; Minimum message severity to display.
1642mssql.min_message_severity = 10
1643
1644; Compatibility mode with old versions of PHP 3.0.
1645mssql.compatability_mode = Off
1646
1647; Connect timeout
1648;mssql.connect_timeout = 5
1649
1650; Query timeout
1651;mssql.timeout = 60
1652
1653; Valid range 0 - 2147483647.  Default = 4096.
1654;mssql.textlimit = 4096
1655
1656; Valid range 0 - 2147483647.  Default = 4096.
1657;mssql.textsize = 4096
1658
1659; Limits the number of records in each batch.  0 = all records in one batch.
1660;mssql.batchsize = 0
1661
1662; Specify how datetime and datetim4 columns are returned
1663; On => Returns data converted to SQL server settings
1664; Off => Returns values as YYYY-MM-DD hh:mm:ss
1665;mssql.datetimeconvert = On
1666
1667; Use NT authentication when connecting to the server
1668mssql.secure_connection = Off
1669
1670; Specify max number of processes. -1 = library default
1671; msdlib defaults to 25
1672; FreeTDS defaults to 4096
1673;mssql.max_procs = -1
1674
1675; Specify client character set.
1676; If empty or not set the client charset from freetds.conf is used
1677; This is only used when compiled with FreeTDS
1678;mssql.charset = "ISO-8859-1"
1679
1680[Assertion]
1681; Assert(expr); active by default.
1682; http://php.net/assert.active
1683;assert.active = On
1684
1685; Issue a PHP warning for each failed assertion.
1686; http://php.net/assert.warning
1687;assert.warning = On
1688
1689; Don't bail out by default.
1690; http://php.net/assert.bail
1691;assert.bail = Off
1692
1693; User-function to be called if an assertion fails.
1694; http://php.net/assert.callback
1695;assert.callback = 0
1696
1697; Eval the expression with current error_reporting().  Set to true if you want
1698; error_reporting(0) around the eval().
1699; http://php.net/assert.quiet-eval
1700;assert.quiet_eval = 0
1701
1702[COM]
1703; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1704; http://php.net/com.typelib-file
1705;com.typelib_file =
1706
1707; allow Distributed-COM calls
1708; http://php.net/com.allow-dcom
1709;com.allow_dcom = true
1710
1711; autoregister constants of a components typlib on com_load()
1712; http://php.net/com.autoregister-typelib
1713;com.autoregister_typelib = true
1714
1715; register constants casesensitive
1716; http://php.net/com.autoregister-casesensitive
1717;com.autoregister_casesensitive = false
1718
1719; show warnings on duplicate constant registrations
1720; http://php.net/com.autoregister-verbose
1721;com.autoregister_verbose = true
1722
1723; The default character set code-page to use when passing strings to and from COM objects.
1724; Default: system ANSI code page
1725;com.code_page=
1726
1727[mbstring]
1728; language for internal character representation.
1729; http://php.net/mbstring.language
1730;mbstring.language = Japanese
1731
1732; internal/script encoding.
1733; Some encoding cannot work as internal encoding.
1734; (e.g. SJIS, BIG5, ISO-2022-*)
1735; http://php.net/mbstring.internal-encoding
1736;mbstring.internal_encoding = EUC-JP
1737
1738; http input encoding.
1739; http://php.net/mbstring.http-input
1740;mbstring.http_input = auto
1741
1742; http output encoding. mb_output_handler must be
1743; registered as output buffer to function
1744; http://php.net/mbstring.http-output
1745;mbstring.http_output = SJIS
1746
1747; enable automatic encoding translation according to
1748; mbstring.internal_encoding setting. Input chars are
1749; converted to internal encoding by setting this to On.
1750; Note: Do _not_ use automatic encoding translation for
1751;       portable libs/applications.
1752; http://php.net/mbstring.encoding-translation
1753;mbstring.encoding_translation = Off
1754
1755; automatic encoding detection order.
1756; auto means
1757; http://php.net/mbstring.detect-order
1758;mbstring.detect_order = auto
1759
1760; substitute_character used when character cannot be converted
1761; one from another
1762; http://php.net/mbstring.substitute-character
1763;mbstring.substitute_character = none;
1764
1765; overload(replace) single byte functions by mbstring functions.
1766; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1767; etc. Possible values are 0,1,2,4 or combination of them.
1768; For example, 7 for overload everything.
1769; 0: No overload
1770; 1: Overload mail() function
1771; 2: Overload str*() functions
1772; 4: Overload ereg*() functions
1773; http://php.net/mbstring.func-overload
1774;mbstring.func_overload = 0
1775
1776; enable strict encoding detection.
1777;mbstring.strict_detection = Off
1778
1779; This directive specifies the regex pattern of content types for which mb_output_handler()
1780; is activated.
1781; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
1782;mbstring.http_output_conv_mimetype=
1783
1784[gd]
1785; Tell the jpeg decode to ignore warnings and try to create
1786; a gd image. The warning will then be displayed as notices
1787; disabled by default
1788; http://php.net/gd.jpeg-ignore-warning
1789;gd.jpeg_ignore_warning = 0
1790
1791[exif]
1792; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1793; With mbstring support this will automatically be converted into the encoding
1794; given by corresponding encode setting. When empty mbstring.internal_encoding
1795; is used. For the decode settings you can distinguish between motorola and
1796; intel byte order. A decode setting cannot be empty.
1797; http://php.net/exif.encode-unicode
1798;exif.encode_unicode = ISO-8859-15
1799
1800; http://php.net/exif.decode-unicode-motorola
1801;exif.decode_unicode_motorola = UCS-2BE
1802
1803; http://php.net/exif.decode-unicode-intel
1804;exif.decode_unicode_intel    = UCS-2LE
1805
1806; http://php.net/exif.encode-jis
1807;exif.encode_jis =
1808
1809; http://php.net/exif.decode-jis-motorola
1810;exif.decode_jis_motorola = JIS
1811
1812; http://php.net/exif.decode-jis-intel
1813;exif.decode_jis_intel    = JIS
1814
1815[Tidy]
1816; The path to a default tidy configuration file to use when using tidy
1817; http://php.net/tidy.default-config
1818;tidy.default_config = /usr/local/lib/php/default.tcfg
1819
1820; Should tidy clean and repair output automatically?
1821; WARNING: Do not use this option if you are generating non-html content
1822; such as dynamic images
1823; http://php.net/tidy.clean-output
1824tidy.clean_output = Off
1825
1826[soap]
1827; Enables or disables WSDL caching feature.
1828; http://php.net/soap.wsdl-cache-enabled
1829soap.wsdl_cache_enabled=1
1830
1831; Sets the directory name where SOAP extension will put cache files.
1832; http://php.net/soap.wsdl-cache-dir
1833soap.wsdl_cache_dir="/tmp"
1834
1835; (time to live) Sets the number of second while cached file will be used
1836; instead of original one.
1837; http://php.net/soap.wsdl-cache-ttl
1838soap.wsdl_cache_ttl=86400
1839
1840; Sets the size of the cache limit. (Max. number of WSDL files to cache)
1841soap.wsdl_cache_limit = 5
1842
1843[sysvshm]
1844; A default size of the shared memory segment
1845;sysvshm.init_mem = 10000
1846
1847[ldap]
1848; Sets the maximum number of open links or -1 for unlimited.
1849ldap.max_links = -1
1850
1851[mcrypt]
1852; For more information about mcrypt settings see http://php.net/mcrypt-module-open
1853
1854; Directory where to load mcrypt algorithms
1855; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1856;mcrypt.algorithms_dir=
1857
1858; Directory where to load mcrypt modes
1859; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1860;mcrypt.modes_dir=
1861
1862[dba]
1863;dba.default_handler=
1864
1865[curl]
1866; A default value for the CURLOPT_CAINFO option. This is required to be an
1867; absolute path.
1868;curl.cainfo =
1869
1870[PATH=C:/inetpub/virtualroot/wordpress.site/]
1871open_basedir = "C:\\inetpub\\virtualroot\\wordpress.site\\www\\;c:\\php\\temp\\upload\\;c:\\php\\temp\\session\\"
1872
1873; Local Variables:
1874; tab-width: 4
1875; End:
1876[PHP_CURL]
1877extension=php_curl.dll