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