PageRenderTime 12ms CodeModel.GetById 161ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 91ms

/php5/cli/php.ini

http://github.com/brinkman83/bashrc
Unknown | 1853 lines | 1525 code | 328 blank | 0 comment | 0 complexity | 79170576b2b207bd28a4e2fce844e541 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   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;;;;;;;;;;;;;;;;;;;
  87; Quick Reference ;
  88;;;;;;;;;;;;;;;;;;;
  89; The following are all the settings which are different in either the production
  90; or development versions of the INIs with respect to PHP's default behavior.
  91; Please see the actual settings later in the document for more details as to why
  92; we recommend these changes in PHP's behavior.
  93
  94; allow_call_time_pass_reference
  95;   Default Value: On
  96;   Development Value: Off
  97;   Production Value: Off
  98
  99; display_errors
 100;   Default Value: On
 101;   Development Value: On
 102;   Production Value: Off
 103
 104; display_startup_errors
 105;   Default Value: Off
 106;   Development Value: On
 107;   Production Value: Off
 108
 109; error_reporting
 110;   Default Value: E_ALL & ~E_NOTICE
 111;   Development Value: E_ALL | E_STRICT
 112;   Production Value: E_ALL & ~E_DEPRECATED
 113
 114; html_errors
 115;   Default Value: On
 116;   Development Value: On
 117;   Production value: Off
 118
 119; log_errors
 120;   Default Value: Off
 121;   Development Value: On
 122;   Production Value: On
 123
 124; magic_quotes_gpc
 125;   Default Value: On
 126;   Development Value: Off
 127;   Production Value: Off
 128
 129; max_input_time
 130;   Default Value: -1 (Unlimited)
 131;   Development Value: 60 (60 seconds)
 132;   Production Value: 60 (60 seconds)
 133
 134; output_buffering
 135;   Default Value: Off
 136;   Development Value: 4096
 137;   Production Value: 4096
 138
 139; register_argc_argv
 140;   Default Value: On
 141;   Development Value: Off
 142;   Production Value: Off
 143
 144; register_long_arrays
 145;   Default Value: On
 146;   Development Value: Off
 147;   Production Value: Off
 148
 149; request_order
 150;   Default Value: None
 151;   Development Value: "GP"
 152;   Production Value: "GP"
 153
 154; session.bug_compat_42
 155;   Default Value: On
 156;   Development Value: On
 157;   Production Value: Off
 158
 159; session.bug_compat_warn
 160;   Default Value: On
 161;   Development Value: On
 162;   Production Value: Off
 163
 164; session.gc_divisor
 165;   Default Value: 100
 166;   Development Value: 1000
 167;   Production Value: 1000
 168
 169; session.hash_bits_per_character
 170;   Default Value: 4
 171;   Development Value: 5
 172;   Production Value: 5
 173
 174; short_open_tag
 175;   Default Value: On
 176;   Development Value: Off
 177;   Production Value: Off
 178
 179; track_errors
 180;   Default Value: Off
 181;   Development Value: On
 182;   Production Value: Off
 183
 184; url_rewriter.tags
 185;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
 186;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
 187;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
 188
 189; variables_order
 190;   Default Value: "EGPCS"
 191;   Development Value: "GPCS"
 192;   Production Value: "GPCS"
 193
 194;;;;;;;;;;;;;;;;;;;;
 195; php.ini Options  ;
 196;;;;;;;;;;;;;;;;;;;;
 197; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
 198;user_ini.filename = ".user.ini"
 199
 200; To disable this feature set this option to empty value
 201;user_ini.filename =
 202
 203; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
 204;user_ini.cache_ttl = 300
 205
 206;;;;;;;;;;;;;;;;;;;;
 207; Language Options ;
 208;;;;;;;;;;;;;;;;;;;;
 209
 210; Enable the PHP scripting language engine under Apache.
 211; http://php.net/engine
 212engine = On
 213
 214; This directive determines whether or not PHP will recognize code between
 215; <? and ?> tags as PHP source which should be processed as such. It's been
 216; recommended for several years that you not use the short tag "short cut" and
 217; instead to use the full <?php and ?> tag combination. With the wide spread use
 218; of XML and use of these tags by other languages, the server can become easily
 219; confused and end up parsing the wrong code in the wrong context. But because
 220; this short cut has been a feature for such a long time, it's currently still
 221; supported for backwards compatibility, but we recommend you don't use them.
 222; Default Value: On
 223; Development Value: Off
 224; Production Value: Off
 225; http://php.net/short-open-tag
 226short_open_tag = On
 227
 228; Allow ASP-style <% %> tags.
 229; http://php.net/asp-tags
 230asp_tags = Off
 231
 232; The number of significant digits displayed in floating point numbers.
 233; http://php.net/precision
 234precision = 14
 235
 236; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
 237; http://php.net/y2k-compliance
 238y2k_compliance = On
 239
 240; Output buffering is a mechanism for controlling how much output data
 241; (excluding headers and cookies) PHP should keep internally before pushing that
 242; data to the client. If your application's output exceeds this setting, PHP
 243; will send that data in chunks of roughly the size you specify.
 244; Turning on this setting and managing its maximum buffer size can yield some
 245; interesting side-effects depending on your application and web server.
 246; You may be able to send headers and cookies after you've already sent output
 247; through print or echo. You also may see performance benefits if your server is
 248; emitting less packets due to buffered output versus PHP streaming the output
 249; as it gets it. On production servers, 4096 bytes is a good setting for performance
 250; reasons.
 251; Note: Output buffering can also be controlled via Output Buffering Control
 252;   functions.
 253; Possible Values:
 254;   On = Enabled and buffer is unlimited. (Use with caution)
 255;   Off = Disabled
 256;   Integer = Enables the buffer and sets its maximum size in bytes.
 257; Note: This directive is hardcoded to Off for the CLI SAPI
 258; Default Value: Off
 259; Development Value: 4096
 260; Production Value: 4096
 261; http://php.net/output-buffering
 262output_buffering = 4096
 263
 264; You can redirect all of the output of your scripts to a function.  For
 265; example, if you set output_handler to "mb_output_handler", character
 266; encoding will be transparently converted to the specified encoding.
 267; Setting any output handler automatically turns on output buffering.
 268; Note: People who wrote portable scripts should not depend on this ini
 269;   directive. Instead, explicitly set the output handler using ob_start().
 270;   Using this ini directive may cause problems unless you know what script
 271;   is doing.
 272; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
 273;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
 274; Note: output_handler must be empty if this is set 'On' !!!!
 275;   Instead you must use zlib.output_handler.
 276; http://php.net/output-handler
 277;output_handler =
 278
 279; Transparent output compression using the zlib library
 280; Valid values for this option are 'off', 'on', or a specific buffer size
 281; to be used for compression (default is 4KB)
 282; Note: Resulting chunk size may vary due to nature of compression. PHP
 283;   outputs chunks that are few hundreds bytes each as a result of
 284;   compression. If you prefer a larger chunk size for better
 285;   performance, enable output_buffering in addition.
 286; Note: You need to use zlib.output_handler instead of the standard
 287;   output_handler, or otherwise the output will be corrupted.
 288; http://php.net/zlib.output-compression
 289zlib.output_compression = Off
 290
 291; http://php.net/zlib.output-compression-level
 292;zlib.output_compression_level = -1
 293
 294; You cannot specify additional output handlers if zlib.output_compression
 295; is activated here. This setting does the same as output_handler but in
 296; a different order.
 297; http://php.net/zlib.output-handler
 298;zlib.output_handler =
 299
 300; Implicit flush tells PHP to tell the output layer to flush itself
 301; automatically after every output block.  This is equivalent to calling the
 302; PHP function flush() after each and every call to print() or echo() and each
 303; and every HTML block.  Turning this option on has serious performance
 304; implications and is generally recommended for debugging purposes only.
 305; http://php.net/implicit-flush
 306; Note: This directive is hardcoded to On for the CLI SAPI
 307implicit_flush = Off
 308
 309; The unserialize callback function will be called (with the undefined class'
 310; name as parameter), if the unserializer finds an undefined class
 311; which should be instantiated. A warning appears if the specified function is
 312; not defined, or if the function doesn't include/implement the missing class.
 313; So only set this entry, if you really want to implement such a
 314; callback-function.
 315unserialize_callback_func =
 316
 317; When floats & doubles are serialized store serialize_precision significant
 318; digits after the floating point. The default value ensures that when floats
 319; are decoded with unserialize, the data will remain the same.
 320serialize_precision = 100
 321
 322; This directive allows you to enable and disable warnings which PHP will issue
 323; if you pass a value by reference at function call time. Passing values by
 324; reference at function call time is a deprecated feature which will be removed
 325; from PHP at some point in the near future. The acceptable method for passing a
 326; value by reference to a function is by declaring the reference in the functions
 327; definition, not at call time. This directive does not disable this feature, it
 328; only determines whether PHP will warn you about it or not. These warnings
 329; should enabled in development environments only.
 330; Default Value: On (Suppress warnings)
 331; Development Value: Off (Issue warnings)
 332; Production Value: Off (Issue warnings)
 333; http://php.net/allow-call-time-pass-reference
 334allow_call_time_pass_reference = Off
 335
 336; Safe Mode
 337; http://php.net/safe-mode
 338safe_mode = Off
 339
 340; By default, Safe Mode does a UID compare check when
 341; opening files. If you want to relax this to a GID compare,
 342; then turn on safe_mode_gid.
 343; http://php.net/safe-mode-gid
 344safe_mode_gid = Off
 345
 346; When safe_mode is on, UID/GID checks are bypassed when
 347; including files from this directory and its subdirectories.
 348; (directory must also be in include_path or full path must
 349; be used when including)
 350; http://php.net/safe-mode-include-dir
 351safe_mode_include_dir =
 352
 353; When safe_mode is on, only executables located in the safe_mode_exec_dir
 354; will be allowed to be executed via the exec family of functions.
 355; http://php.net/safe-mode-exec-dir
 356safe_mode_exec_dir =
 357
 358; Setting certain environment variables may be a potential security breach.
 359; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
 360; the user may only alter environment variables whose names begin with the
 361; prefixes supplied here.  By default, users will only be able to set
 362; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
 363; Note:  If this directive is empty, PHP will let the user modify ANY
 364;   environment variable!
 365; http://php.net/safe-mode-allowed-env-vars
 366safe_mode_allowed_env_vars = PHP_
 367
 368; This directive contains a comma-delimited list of environment variables that
 369; the end user won't be able to change using putenv().  These variables will be
 370; protected even if safe_mode_allowed_env_vars is set to allow to change them.
 371; http://php.net/safe-mode-protected-env-vars
 372safe_mode_protected_env_vars = LD_LIBRARY_PATH
 373
 374; open_basedir, if set, limits all file operations to the defined directory
 375; and below.  This directive makes most sense if used in a per-directory
 376; or per-virtualhost web server configuration file. This directive is
 377; *NOT* affected by whether Safe Mode is turned On or Off.
 378; http://php.net/open-basedir
 379;open_basedir =
 380
 381; This directive allows you to disable certain functions for security reasons.
 382; It receives a comma-delimited list of function names. This directive is
 383; *NOT* affected by whether Safe Mode is turned On or Off.
 384; http://php.net/disable-functions
 385disable_functions =
 386
 387; This directive allows you to disable certain classes for security reasons.
 388; It receives a comma-delimited list of class names. This directive is
 389; *NOT* affected by whether Safe Mode is turned On or Off.
 390; http://php.net/disable-classes
 391disable_classes =
 392
 393; Colors for Syntax Highlighting mode.  Anything that's acceptable in
 394; <span style="color: ???????"> would work.
 395; http://php.net/syntax-highlighting
 396;highlight.string  = #DD0000
 397;highlight.comment = #FF9900
 398;highlight.keyword = #007700
 399;highlight.bg      = #FFFFFF
 400;highlight.default = #0000BB
 401;highlight.html    = #000000
 402
 403; If enabled, the request will be allowed to complete even if the user aborts
 404; the request. Consider enabling it if executing long requests, which may end up
 405; being interrupted by the user or a browser timing out. PHP's default behavior
 406; is to disable this feature.
 407; http://php.net/ignore-user-abort
 408;ignore_user_abort = On
 409
 410; Determines the size of the realpath cache to be used by PHP. This value should
 411; be increased on systems where PHP opens many files to reflect the quantity of
 412; the file operations performed.
 413; http://php.net/realpath-cache-size
 414;realpath_cache_size = 16k
 415
 416; Duration of time, in seconds for which to cache realpath information for a given
 417; file or directory. For systems with rarely changing files, consider increasing this
 418; value.
 419; http://php.net/realpath-cache-ttl
 420;realpath_cache_ttl = 120
 421
 422;;;;;;;;;;;;;;;;;
 423; Miscellaneous ;
 424;;;;;;;;;;;;;;;;;
 425
 426; Decides whether PHP may expose the fact that it is installed on the server
 427; (e.g. by adding its signature to the Web server header).  It is no security
 428; threat in any way, but it makes it possible to determine whether you use PHP
 429; on your server or not.
 430; http://php.net/expose-php
 431expose_php = On
 432
 433;;;;;;;;;;;;;;;;;;;
 434; Resource Limits ;
 435;;;;;;;;;;;;;;;;;;;
 436
 437; Maximum execution time of each script, in seconds
 438; http://php.net/max-execution-time
 439; Note: This directive is hardcoded to 0 for the CLI SAPI
 440max_execution_time = 30
 441
 442; Maximum amount of time each script may spend parsing request data. It's a good
 443; idea to limit this time on productions servers in order to eliminate unexpectedly
 444; long running scripts.
 445; Note: This directive is hardcoded to -1 for the CLI SAPI
 446; Default Value: -1 (Unlimited)
 447; Development Value: 60 (60 seconds)
 448; Production Value: 60 (60 seconds)
 449; http://php.net/max-input-time
 450max_input_time = 60
 451
 452; Maximum input variable nesting level
 453; http://php.net/max-input-nesting-level
 454;max_input_nesting_level = 64
 455
 456; Maximum amount of memory a script may consume (128MB)
 457; http://php.net/memory-limit
 458memory_limit = -1
 459
 460;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 461; Error handling and logging ;
 462;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 463
 464; This directive informs PHP of which errors, warnings and notices you would like
 465; it to take action for. The recommended way of setting values for this
 466; directive is through the use of the error level constants and bitwise
 467; operators. The error level constants are below here for convenience as well as
 468; some common settings and their meanings.
 469; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
 470; those related to E_NOTICE and E_STRICT, which together cover best practices and
 471; recommended coding standards in PHP. For performance reasons, this is the
 472; recommend error reporting setting. Your production server shouldn't be wasting
 473; resources complaining about best practices and coding standards. That's what
 474; development servers and development settings are for.
 475; Note: The php.ini-development file has this setting as E_ALL | E_STRICT. This
 476; means it pretty much reports everything which is exactly what you want during
 477; development and early testing.
 478;
 479; Error Level Constants:
 480; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
 481; E_ERROR           - fatal run-time errors
 482; E_RECOVERABLE_ERROR  - almost fatal run-time errors
 483; E_WARNING         - run-time warnings (non-fatal errors)
 484; E_PARSE           - compile-time parse errors
 485; E_NOTICE          - run-time notices (these are warnings which often result
 486;                     from a bug in your code, but it's possible that it was
 487;                     intentional (e.g., using an uninitialized variable and
 488;                     relying on the fact it's automatically initialized to an
 489;                     empty string)
 490; E_STRICT          - run-time notices, enable to have PHP suggest changes
 491;                     to your code which will ensure the best interoperability
 492;                     and forward compatibility of your code
 493; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
 494; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
 495;                     initial startup
 496; E_COMPILE_ERROR   - fatal compile-time errors
 497; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
 498; E_USER_ERROR      - user-generated error message
 499; E_USER_WARNING    - user-generated warning message
 500; E_USER_NOTICE     - user-generated notice message
 501; E_DEPRECATED      - warn about code that will not work in future versions
 502;                     of PHP
 503; E_USER_DEPRECATED - user-generated deprecation warnings
 504;
 505; Common Values:
 506;   E_ALL & ~E_NOTICE  (Show all errors, except for notices and coding standards warnings.)
 507;   E_ALL & ~E_NOTICE | E_STRICT  (Show all errors, except for notices)
 508;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
 509;   E_ALL | E_STRICT  (Show all errors, warnings and notices including coding standards.)
 510; Default Value: E_ALL & ~E_NOTICE
 511; Development Value: E_ALL | E_STRICT
 512; Production Value: E_ALL & ~E_DEPRECATED
 513; http://php.net/error-reporting
 514error_reporting = E_ALL & ~E_DEPRECATED
 515
 516; This directive controls whether or not and where PHP will output errors,
 517; notices and warnings too. Error output is very useful during development, but
 518; it could be very dangerous in production environments. Depending on the code
 519; which is triggering the error, sensitive information could potentially leak
 520; out of your application such as database usernames and passwords or worse.
 521; It's recommended that errors be logged on production servers rather than
 522; having the errors sent to STDOUT.
 523; Possible Values:
 524;   Off = Do not display any errors
 525;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
 526;   On or stdout = Display errors to STDOUT
 527; Default Value: On
 528; Development Value: On
 529; Production Value: Off
 530; http://php.net/display-errors
 531display_errors = Off
 532
 533; The display of errors which occur during PHP's startup sequence are handled
 534; separately from display_errors. PHP's default behavior is to suppress those
 535; errors from clients. Turning the display of startup errors on can be useful in
 536; debugging configuration problems. But, it's strongly recommended that you
 537; leave this setting off on production servers.
 538; Default Value: Off
 539; Development Value: On
 540; Production Value: Off
 541; http://php.net/display-startup-errors
 542display_startup_errors = Off
 543
 544; Besides displaying errors, PHP can also log errors to locations such as a
 545; server-specific log, STDERR, or a location specified by the error_log
 546; directive found below. While errors should not be displayed on productions
 547; servers they should still be monitored and logging is a great way to do that.
 548; Default Value: Off
 549; Development Value: On
 550; Production Value: On
 551; http://php.net/log-errors
 552log_errors = On
 553
 554; Set maximum length of log_errors. In error_log information about the source is
 555; added. The default is 1024 and 0 allows to not apply any maximum length at all.
 556; http://php.net/log-errors-max-len
 557log_errors_max_len = 1024
 558
 559; Do not log repeated messages. Repeated errors must occur in same file on same
 560; line unless ignore_repeated_source is set true.
 561; http://php.net/ignore-repeated-errors
 562ignore_repeated_errors = Off
 563
 564; Ignore source of message when ignoring repeated messages. When this setting
 565; is On you will not log errors with repeated messages from different files or
 566; source lines.
 567; http://php.net/ignore-repeated-source
 568ignore_repeated_source = Off
 569
 570; If this parameter is set to Off, then memory leaks will not be shown (on
 571; stdout or in the log). This has only effect in a debug compile, and if
 572; error reporting includes E_WARNING in the allowed list
 573; http://php.net/report-memleaks
 574report_memleaks = On
 575
 576; This setting is on by default.
 577;report_zend_debug = 0
 578
 579; Store the last error/warning message in $php_errormsg (boolean). Setting this value
 580; to On can assist in debugging and is appropriate for development servers. It should
 581; however be disabled on production servers.
 582; Default Value: Off
 583; Development Value: On
 584; Production Value: Off
 585; http://php.net/track-errors
 586track_errors = Off
 587
 588; Turn off normal error reporting and emit XML-RPC error XML
 589; http://php.net/xmlrpc-errors
 590;xmlrpc_errors = 0
 591
 592; An XML-RPC faultCode
 593;xmlrpc_error_number = 0
 594
 595; When PHP displays or logs an error, it has the capability of inserting html
 596; links to documentation related to that error. This directive controls whether
 597; those HTML links appear in error messages or not. For performance and security
 598; reasons, it's recommended you disable this on production servers.
 599; Note: This directive is hardcoded to Off for the CLI SAPI
 600; Default Value: On
 601; Development Value: On
 602; Production value: Off
 603; http://php.net/html-errors
 604html_errors = Off
 605
 606; If html_errors is set On PHP produces clickable error messages that direct
 607; to a page describing the error or function causing the error in detail.
 608; You can download a copy of the PHP manual from http://php.net/docs
 609; and change docref_root to the base URL of your local copy including the
 610; leading '/'. You must also specify the file extension being used including
 611; the dot. PHP's default behavior is to leave these settings empty.
 612; Note: Never use this feature for production boxes.
 613; http://php.net/docref-root
 614; Examples
 615;docref_root = "/phpmanual/"
 616
 617; http://php.net/docref-ext
 618;docref_ext = .html
 619
 620; String to output before an error message. PHP's default behavior is to leave
 621; this setting blank.
 622; http://php.net/error-prepend-string
 623; Example:
 624;error_prepend_string = "<font color=#ff0000>"
 625
 626; String to output after an error message. PHP's default behavior is to leave
 627; this setting blank.
 628; http://php.net/error-append-string
 629; Example:
 630;error_append_string = "</font>"
 631
 632; Log errors to specified file. PHP's default behavior is to leave this value
 633; empty.
 634; http://php.net/error-log
 635; Example:
 636;error_log = php_errors.log
 637; Log errors to syslog (Event Log on NT, not valid in Windows 95).
 638;error_log = syslog
 639
 640;;;;;;;;;;;;;;;;;
 641; Data Handling ;
 642;;;;;;;;;;;;;;;;;
 643
 644; The separator used in PHP generated URLs to separate arguments.
 645; PHP's default setting is "&".
 646; http://php.net/arg-separator.output
 647; Example:
 648;arg_separator.output = "&amp;"
 649
 650; List of separator(s) used by PHP to parse input URLs into variables.
 651; PHP's default setting is "&".
 652; NOTE: Every character in this directive is considered as separator!
 653; http://php.net/arg-separator.input
 654; Example:
 655;arg_separator.input = ";&"
 656
 657; This directive determines which super global arrays are registered when PHP
 658; starts up. If the register_globals directive is enabled, it also determines
 659; what order variables are populated into the global space. G,P,C,E & S are
 660; abbreviations for the following respective super globals: GET, POST, COOKIE,
 661; ENV and SERVER. There is a performance penalty paid for the registration of
 662; these arrays and because ENV is not as commonly used as the others, ENV is
 663; is not recommended on productions servers. You can still get access to
 664; the environment variables through getenv() should you need to.
 665; Default Value: "EGPCS"
 666; Development Value: "GPCS"
 667; Production Value: "GPCS";
 668; http://php.net/variables-order
 669variables_order = "GPCS"
 670
 671; This directive determines which super global data (G,P,C,E & S) should
 672; be registered into the super global array REQUEST. If so, it also determines
 673; the order in which that data is registered. The values for this directive are
 674; specified in the same manner as the variables_order directive, EXCEPT one.
 675; Leaving this value empty will cause PHP to use the value set in the
 676; variables_order directive. It does not mean it will leave the super globals
 677; array REQUEST empty.
 678; Default Value: None
 679; Development Value: "GP"
 680; Production Value: "GP"
 681; http://php.net/request-order
 682request_order = "GP"
 683
 684; Whether or not to register the EGPCS variables as global variables.  You may
 685; want to turn this off if you don't want to clutter your scripts' global scope
 686; with user data.
 687; You should do your best to write your scripts so that they do not require
 688; register_globals to be on;  Using form variables as globals can easily lead
 689; to possible security problems, if the code is not very well thought of.
 690; http://php.net/register-globals
 691register_globals = Off
 692
 693; Determines whether the deprecated long $HTTP_*_VARS type predefined variables
 694; are registered by PHP or not. As they are deprecated, we obviously don't
 695; recommend you use them. They are on by default for compatibility reasons but
 696; they are not recommended on production servers.
 697; Default Value: On
 698; Development Value: Off
 699; Production Value: Off
 700; http://php.net/register-long-arrays
 701register_long_arrays = Off
 702
 703; This directive determines whether PHP registers $argv & $argc each time it
 704; runs. $argv contains an array of all the arguments passed to PHP when a script
 705; is invoked. $argc contains an integer representing the number of arguments
 706; that were passed when the script was invoked. These arrays are extremely
 707; useful when running scripts from the command line. When this directive is
 708; enabled, registering these variables consumes CPU cycles and memory each time
 709; a script is executed. For performance reasons, this feature should be disabled
 710; on production servers.
 711; Note: This directive is hardcoded to On for the CLI SAPI
 712; Default Value: On
 713; Development Value: Off
 714; Production Value: Off
 715; http://php.net/register-argc-argv
 716register_argc_argv = Off
 717
 718; When enabled, the SERVER and ENV variables are created when they're first
 719; used (Just In Time) instead of when the script starts. If these variables
 720; are not used within a script, having this directive on will result in a
 721; performance gain. The PHP directives register_globals, register_long_arrays,
 722; and register_argc_argv must be disabled for this directive to have any affect.
 723; http://php.net/auto-globals-jit
 724auto_globals_jit = On
 725
 726; Maximum size of POST data that PHP will accept.
 727; http://php.net/post-max-size
 728post_max_size = 8M
 729
 730; Magic quotes are a preprocessing feature of PHP where PHP will attempt to
 731; escape any character sequences in GET, POST, COOKIE and ENV data which might
 732; otherwise corrupt data being placed in resources such as databases before
 733; making that data available to you. Because of character encoding issues and
 734; non-standard SQL implementations across many databases, it's not currently
 735; possible for this feature to be 100% accurate. PHP's default behavior is to
 736; enable the feature. We strongly recommend you use the escaping mechanisms
 737; designed specifically for the database your using instead of relying on this
 738; feature. Also note, this feature has been deprecated as of PHP 5.3.0 and is
 739; scheduled for removal in PHP 6.
 740; Default Value: On
 741; Development Value: Off
 742; Production Value: Off
 743; http://php.net/magic-quotes-gpc
 744magic_quotes_gpc = Off
 745
 746; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
 747; http://php.net/magic-quotes-runtime
 748magic_quotes_runtime = Off
 749
 750; Use Sybase-style magic quotes (escape ' with '' instead of \').
 751; http://php.net/magic-quotes-sybase
 752magic_quotes_sybase = Off
 753
 754; Automatically add files before PHP document.
 755; http://php.net/auto-prepend-file
 756auto_prepend_file =
 757
 758; Automatically add files after PHP document.
 759; http://php.net/auto-append-file
 760auto_append_file =
 761
 762; By default, PHP will output a character encoding using
 763; the Content-type: header.  To disable sending of the charset, simply
 764; set it to be empty.
 765;
 766; PHP's built-in default is text/html
 767; http://php.net/default-mimetype
 768default_mimetype = "text/html"
 769
 770; PHP's default character set is set to empty.
 771; http://php.net/default-charset
 772;default_charset = "iso-8859-1"
 773
 774; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
 775; to disable this feature.
 776; http://php.net/always-populate-raw-post-data
 777;always_populate_raw_post_data = On
 778
 779;;;;;;;;;;;;;;;;;;;;;;;;;
 780; Paths and Directories ;
 781;;;;;;;;;;;;;;;;;;;;;;;;;
 782
 783; UNIX: "/path1:/path2"
 784;include_path = ".:/usr/share/php"
 785;
 786; Windows: "\path1;\path2"
 787;include_path = ".;c:\php\includes"
 788;
 789; PHP's default setting for include_path is ".;/path/to/php/pear"
 790; http://php.net/include-path
 791
 792; The root of the PHP pages, used only if nonempty.
 793; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
 794; if you are running php as a CGI under any web server (other than IIS)
 795; see documentation for security issues.  The alternate is to use the
 796; cgi.force_redirect configuration below
 797; http://php.net/doc-root
 798doc_root =
 799
 800; The directory under which PHP opens the script using /~username used only
 801; if nonempty.
 802; http://php.net/user-dir
 803user_dir =
 804
 805; Directory in which the loadable extensions (modules) reside.
 806; http://php.net/extension-dir
 807; extension_dir = "./"
 808; On windows:
 809; extension_dir = "ext"
 810
 811; Whether or not to enable the dl() function.  The dl() function does NOT work
 812; properly in multithreaded servers, such as IIS or Zeus, and is automatically
 813; disabled on them.
 814; http://php.net/enable-dl
 815enable_dl = Off
 816
 817; cgi.force_redirect is necessary to provide security running PHP as a CGI under
 818; most web servers.  Left undefined, PHP turns this on by default.  You can
 819; turn it off here AT YOUR OWN RISK
 820; **You CAN safely turn this off for IIS, in fact, you MUST.**
 821; http://php.net/cgi.force-redirect
 822;cgi.force_redirect = 1
 823
 824; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
 825; every request. PHP's default behavior is to disable this feature.
 826;cgi.nph = 1
 827
 828; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
 829; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
 830; will look for to know it is OK to continue execution.  Setting this variable MAY
 831; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
 832; http://php.net/cgi.redirect-status-env
 833;cgi.redirect_status_env = ;
 834
 835; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
 836; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
 837; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
 838; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
 839; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 840; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 841; http://php.net/cgi.fix-pathinfo
 842;cgi.fix_pathinfo=1
 843
 844; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
 845; security tokens of the calling client.  This allows IIS to define the
 846; security context that the request runs under.  mod_fastcgi under Apache
 847; does not currently support this feature (03/17/2002)
 848; Set to 1 if running under IIS.  Default is zero.
 849; http://php.net/fastcgi.impersonate
 850;fastcgi.impersonate = 1;
 851
 852; Disable logging through FastCGI connection. PHP's default behavior is to enable
 853; this feature.
 854;fastcgi.logging = 0
 855
 856; cgi.rfc2616_headers configuration option tells PHP what type of headers to
 857; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
 858; is supported by Apache. When this option is set to 1 PHP will send
 859; RFC2616 compliant header.
 860; Default is zero.
 861; http://php.net/cgi.rfc2616-headers
 862;cgi.rfc2616_headers = 0
 863
 864;;;;;;;;;;;;;;;;
 865; File Uploads ;
 866;;;;;;;;;;;;;;;;
 867
 868; Whether to allow HTTP file uploads.
 869; http://php.net/file-uploads
 870file_uploads = On
 871
 872; Temporary directory for HTTP uploaded files (will use system default if not
 873; specified).
 874; http://php.net/upload-tmp-dir
 875;upload_tmp_dir =
 876
 877; Maximum allowed size for uploaded files.
 878; http://php.net/upload-max-filesize
 879upload_max_filesize = 2M
 880
 881; Maximum number of files that can be uploaded via a single request
 882max_file_uploads = 20
 883
 884;;;;;;;;;;;;;;;;;;
 885; Fopen wrappers ;
 886;;;;;;;;;;;;;;;;;;
 887
 888; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
 889; http://php.net/allow-url-fopen
 890allow_url_fopen = On
 891
 892; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
 893; http://php.net/allow-url-include
 894allow_url_include = Off
 895
 896; Define the anonymous ftp password (your email address). PHP's default setting
 897; for this is empty.
 898; http://php.net/from
 899;from="john@doe.com"
 900
 901; Define the User-Agent string. PHP's default setting for this is empty.
 902; http://php.net/user-agent
 903;user_agent="PHP"
 904
 905; Default timeout for socket based streams (seconds)
 906; http://php.net/default-socket-timeout
 907default_socket_timeout = 60
 908
 909; If your scripts have to deal with files from Macintosh systems,
 910; or you are running on a Mac and need to deal with files from
 911; unix or win32 systems, setting this flag will cause PHP to
 912; automatically detect the EOL character in those files so that
 913; fgets() and file() will work regardless of the source of the file.
 914; http://php.net/auto-detect-line-endings
 915;auto_detect_line_endings = Off
 916
 917;;;;;;;;;;;;;;;;;;;;;;
 918; Dynamic Extensions ;
 919;;;;;;;;;;;;;;;;;;;;;;
 920
 921; If you wish to have an extension loaded automatically, use the following
 922; syntax:
 923;
 924;   extension=modulename.extension
 925;
 926; For example, on Windows:
 927;
 928;   extension=msql.dll
 929;
 930; ... or under UNIX:
 931;
 932;   extension=msql.so
 933;
 934; ... or with a path:
 935;
 936;   extension=/path/to/extension/msql.so
 937;
 938; If you only provide the name of the extension, PHP will look for it in its
 939; default extension directory.
 940;
 941
 942;;;;;;;;;;;;;;;;;;;
 943; Module Settings ;
 944;;;;;;;;;;;;;;;;;;;
 945
 946[Date]
 947; Defines the default timezone used by the date functions
 948; http://php.net/date.timezone
 949;date.timezone =
 950
 951; http://php.net/date.default-latitude
 952;date.default_latitude = 31.7667
 953
 954; http://php.net/date.default-longitude
 955;date.default_longitude = 35.2333
 956
 957; http://php.net/date.sunrise-zenith
 958;date.sunrise_zenith = 90.583333
 959
 960; http://php.net/date.sunset-zenith
 961;date.sunset_zenith = 90.583333
 962
 963[filter]
 964; http://php.net/filter.default
 965;filter.default = unsafe_raw
 966
 967; http://php.net/filter.default-flags
 968;filter.default_flags =
 969
 970[iconv]
 971;iconv.input_encoding = ISO-8859-1
 972;iconv.internal_encoding = ISO-8859-1
 973;iconv.output_encoding = ISO-8859-1
 974
 975[intl]
 976;intl.default_locale =
 977; This directive allows you to produce PHP errors when some error
 978; happens within intl functions. The value is the level of the error produced.
 979; Default is 0, which does not produce any errors.
 980;intl.error_level = E_WARNING
 981
 982[sqlite]
 983; http://php.net/sqlite.assoc-case
 984;sqlite.assoc_case = 0
 985
 986[sqlite3]
 987;sqlite3.extension_dir =
 988
 989[Pcre]
 990;PCRE library backtracking limit.
 991; http://php.net/pcre.backtrack-limit
 992;pcre.backtrack_limit=100000
 993
 994;PCRE library recursion limit.
 995;Please note that if you set this value to a high number you may consume all
 996;the available process stack and eventually crash PHP (due to reaching the
 997;stack size limit imposed by the Operating System).
 998; http://php.net/pcre.recursion-limit
 999;pcre.recursion_limit=100000
1000
1001[Pdo]
1002; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
1003; http://php.net/pdo-odbc.connection-pooling
1004;pdo_odbc.connection_pooling=strict
1005
1006;pdo_odbc.db2_instance_name
1007
1008[Pdo_mysql]
1009; If mysqlnd is used: Number of cache slots for the internal result set cache
1010; http://php.net/pdo_mysql.cache_size
1011pdo_mysql.cache_size = 2000
1012
1013; Default socket name for local MySQL connects.  If empty, uses the built-in
1014; MySQL defaults.
1015; http://php.net/pdo_mysql.default-socket
1016pdo_mysql.default_socket=
1017
1018[Phar]
1019; http://php.net/phar.readonly
1020;phar.readonly = On
1021
1022; http://php.net/phar.require-hash
1023;phar.require_hash = On
1024
1025;phar.cache_list =
1026
1027[Syslog]
1028; Whether or not to define the various syslog variables (e.g. $LOG_PID,
1029; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
1030; runtime, you can define these variables by calling define_syslog_variables().
1031; http://php.net/define-syslog-variables
1032define_syslog_variables  = Off
1033
1034[mail function]
1035; For Win32 only.
1036; http://php.net/smtp
1037SMTP = localhost
1038; http://php.net/smtp-port
1039smtp_port = 25
1040
1041; For Win32 only.
1042; http://php.net/sendmail-from
1043;sendmail_from = me@example.com
1044
1045; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
1046; http://php.net/sendmail-path
1047;sendmail_path =
1048
1049; Force the addition of the specified parameters to be passed as extra parameters
1050; to the sendmail binary. These parameters will always replace the value of
1051; the 5th parameter to mail(), even in safe mode.
1052;mail.force_extra_parameters =
1053
1054; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
1055mail.add_x_header = On
1056
1057; Log all mail() calls including the full path of the script, line #, to address and headers
1058;mail.log =
1059
1060[SQL]
1061; http://php.net/sql.safe-mode
1062sql.safe_mode = Off
1063
1064[ODBC]
1065; http://php.net/odbc.default-db
1066;odbc.default_db    =  Not yet implemented
1067
1068; http://php.net/odbc.default-user
1069;odbc.default_user  =  Not yet implemented
1070
1071; http://php.net/odbc.default-pw
1072;odbc.default_pw    =  Not yet implemented
1073
1074; Controls the ODBC cursor model.
1075; Default: SQL_CURSOR_STATIC (default).
1076;odbc.default_cursortype
1077
1078; Allow or prevent persistent links.
1079; http://php.net/odbc.allow-persistent
1080odbc.allow_persistent = On
1081
1082; Check that a connection is still valid before reuse.
1083; http://php.net/odbc.check-persistent
1084odbc.check_persistent = On
1085
1086; Maximum number of persistent links.  -1 means no limit.
1087; http://php.net/odbc.max-persistent
1088odbc.max_persistent = -1
1089
1090; Maximum number of links (persistent + non-persistent).  -1 means no limit.
1091; http://php.net/odbc.max-links
1092odbc.max_links = -1
1093
1094; Handling of LONG fields.  Returns number of bytes to variables.  0 means
1095; passthru.
1096; http://php.net/odbc.defaultlrl
1097odbc.defaultlrl = 4096
1098
1099; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
1100; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
1101; of odbc.defaultlrl and odbc.defaultbinmode
1102; http://php.net/odbc.defaultbinmode
1103odbc.defaultbinmode = 1
1104
1105;birdstep.max_links = -1
1106
1107[Interbase]
1108; Allow or prevent persistent links.
1109ibase.allow_persistent = 1
1110
1111; Maximum number of persistent links.  -1 means no limit.
1112ibase.max_persistent = -1
1113
1114; Maximum number of links (persistent + non-persistent).  -1 means no limit.
1115ibase.max_links = -1
1116
1117; Default database name for ibase_connect().
1118;ibase.default_db =
1119
1120; Default username for ibase_connect().
1121;ibase.default_user =
1122
1123; Default password for ibase_connect().
1124;ibase.default_password =
1125
1126; Default charset for ibase_connect().
1127;ibase.default_charset =
1128
1129; Default timestamp format.
1130ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
1131
1132; Default date format.
1133ibase.dateformat = "%Y-%m-%d"
1134
1135; Default time format.
1136ibase.timeformat = "%H:%M:%S"
1137
1138[MySQL]
1139; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1140; http://php.net/mysql.allow_local_infile
1141mysql.allow_local_infile = On
1142
1143; Allow or prevent persistent links.
1144; http://php.net/mysql.allow-persistent
1145mysql.allow_persistent = On
1146
1147; If mysqlnd is used: Number of cache slots for the internal result set cache
1148; http://php.net/mysql.cache_size
1149mysql.cache_size = 2000
1150
1151; Maximum number of persistent links.  -1 means no limit.
1152; http://php.net/mysql.max-persistent
1153mysql.max_persistent = -1
1154
1155; Maximum number of links (persistent + non-persistent).  -1 means no limit.
1156; http://php.net/mysql.max-links
1157mysql.max_links = -1
1158
1159; Default port number for mysql_connect().  If unset, mysql_connect() will use
1160; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1161; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
1162; at MYSQL_PORT.
1163; http://php.net/mysql.default-port
1164mysql.default_port =
1165
1166; Default socket name for local MySQL connects.  If empty, uses the built-in
1167; MySQL defaults.
1168; http://php.net/mysql.default-socket
1169mysql.default_socket =
1170
1171; Default host for mysql_connect() (doesn't apply in safe mode).
1172; http://php.net/mysql.default-host
1173mysql.default_host =
1174
1175; Default user for mysql_connect() (doesn't apply in safe mode).
1176; http://php.net/mysql.default-user
1177mysql.default_user =
1178
1179; Default password for mysql_connect() (doesn't apply in safe mode).
1180; Note that this is generally a *bad* idea to store passwords in this file.
1181; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
1182; and reveal this password!  And of course, any users with read access to this
1183; file will be able to reveal the password as well.
1184; http://php.net/mysql.default-password
1185mysql.default_password =
1186
1187; Maximum time (in seconds) for connect timeout. -1 means no limit
1188; http://php.net/mysql.connect-timeout
1189mysql.connect_timeout = 60
1190
1191; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
1192; SQL-Errors will be displayed.
1193; http://php.net/mysql.trace-mode
1194mysql.trace_mode = Off
1195
1196[MySQLi]
1197
1198; Maximum number of persistent links.  -1 means no limit.
1199; http://php.net/mysqli.max-persistent
1200mysqli.max_persistent = -1
1201
1202; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1203; http://php.net/mysqli.allow_local_infile
1204;mysqli.allow_local_infile = On
1205
1206; Allow or prevent persistent links.
1207; http://php.net/mysqli.allow-persistent
1208mysqli.allow_persistent = On
1209
1210; Maximum number of links.  -1 means no limit.
1211; http://php.net/mysqli.max-links
1212mysqli.max_links = -1
1213
1214; If mysqlnd is used: Number of cache slots for the internal result set cache
1215; http://php.net/mysqli.cache_size
1216mysqli.cache_size = 2000
1217
1218; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
1219; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1220; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
1221; at MYSQL_PORT.
1222; http://php.net/mysqli.default-port
1223mysqli.default_port = 3306
1224
1225; Default socket name for local MySQL connects.  If empty, uses the built-in
1226; MySQL defaults.
1227; http://php.net/mysqli.default-socket
1228mysqli.default_socket =
1229
1230; Default host for mysql_connect() (doesn't apply in safe mode).
1231; http://php.net/mysqli.default-host
1232mysqli.default_host =
1233
1234; Default user for mysql_connect() (doesn't apply in safe mode).
1235; http://php.net/mysqli.default-user
1236mysqli.default_user =
1237
1238; Default password for mysqli_connect() (doesn't apply in safe mode).
1239; Note that this is generally a *bad* idea to store passwords in this file.
1240; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
1241; and reveal this password!  And of course, any users with read access to this
1242; file will be able to reveal the password as well.
1243; http://php.net/mysqli.default-pw
1244mysqli.default_pw =
1245
1246; Allow or prevent reconnect
1247mysqli.reconnect = Off
1248
1249[mysqlnd]
1250; Enable / Disable collection of general statstics by mysqlnd which can be
1251; used to tune and monitor MySQL operations.
1252; http://php.net/mysqlnd.collect_statistics
1253mysqlnd.collect_statistics = On
1254
1255; Enable / Disable collection of memory usage statstics by mysqlnd which can be
1256; used to tune and monitor MySQL operations.
1257; http://php.net/mysqlnd.collect_memory_statistics
1258mysqlnd.collect_memory_statistics = Off
1259
1260; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
1261; http://php.net/mysqlnd.net_cmd_buffer_size
1262;mysqlnd.net_cmd_buffer_size = 2048
1263
1264; Size of a pre-allocated buffer used for reading data sent by the server in
1265; bytes.
1266; http://php.net/mysqlnd.net_read_buffer_size
1267;mysqlnd.net_read_buffer_size = 32768
1268
1269[OCI8]
1270
1271; Connection: Enables privileged connections using external
1272; credentials (OCI_SYSOPER, OCI_SYSDBA)
1273; http://php.net/oci8.privileged-connect
1274;oci8.privileged_connect = Off
1275
1276; Connection: The maximum number of persistent OCI8 connections per
1277; process. Using -1 means no limit.
1278; http://php.net/oci8.max-persistent
1279;oci8.max_persistent = -1
1280
1281; Connection: The maximum number of seconds a process is allowed to
1282; maintain an idle persistent connection. Using -1 means idle
1283; persistent connections will be maintained forever.
1284; http://php.net/oci8.persistent-timeout
1285;oci8.persistent_timeout = -1
1286
1287; Connection: The number of seconds that must pass before issuing a
1288; ping during oci_pconnect() to check the connection validity. When
1289; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
1290; pings completely.
1291; http://php.net/oci8.ping-interval
1292;oci8.ping_interval = 60
1293
1294; Connection: Set this to a user chosen connection class to be used
1295; for all pooled server requests with Oracle 11g Database Resident
1296; Connection Pooling (DRCP).  To use DRCP, this value should be set to
1297; the same string for all web servers running the same application,
1298; the database pool must be configured, and the connection string must
1299; specify to use a pooled server.
1300;oci8.connection_class =
1301
1302; High Availability: Using On lets PHP receive Fast Application
1303; Notification (FAN) events generated when a database node fails. The
1304; database must also be configured to post FAN events.
1305;oci8.events = Off
1306
1307; Tuning: This option enables statement caching, and specifies how
1308; many statements to cache. Using 0 disables statement caching.
1309; http://php.net/oci8.statement-cache-size
1310;oci8.statement_cache_size = 20
1311
1312; Tuning: Enables statement prefetching and sets the default number of
1313; rows that will be fetched automatically after statement execution.
1314; http://php.net/oci8.default-prefetch
1315;oci8.default_prefetch = 100
1316
1317; Compatibility. Using On means oci_close() will not close
1318; oci_connect() and oci_new_connect() connections.
1319; http://php.net/oci8.old-oci-close-semantics
1320;oci8.old_oci_close_semantics = Off
1321
1322[PostgresSQL]
1323; Allow or prevent persistent links.
1324; http://php.net/pgsql.allow-persistent
1325pgsql.allow_persistent = On
1326
1327; Detect broken persistent links always with pg_pconnect().
1328; Auto reset feature requires a little overheads.
1329; http://php.net/pgsql.auto-reset-persistent
1330pgsql.auto_reset_persistent = Off
1331
1332; Maximum number of persistent links.  -1 means no limit.
1333; http://php.net/pgsql.max-persistent
1334pgsql.max_persistent = -1
1335
1336; Maximum number of links (persistent+non persistent).  -1 means no limit.
1337; http://php.net/pgsql.max-links
1338pgsql.max_links = -1
1339
1340; Ignore PostgreSQL backends Notice message or not.
1341; Notice message logging require a little overheads.
1342; http://php.net/pgsql.ignore-notice
1343pgsql.ignore_notice = 0
1344
1345; Log PostgreSQL backends Noitce message or not.
1346; Unless pgsql.ignore_notice=0, moduleā€¦

Large files files are truncated, but you can click here to view the full file