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