PageRenderTime 133ms CodeModel.GetById 81ms app.highlight 11ms RepoModel.GetById 29ms app.codeStats 0ms

/recipes/modphp/files/php.ini

https://bitbucket.org/lokkju/openpli-oe
Unknown | 1203 lines | 964 code | 239 blank | 0 comment | 0 complexity | 2761a3be0ef1d7b5159ee45eb1937885 MD5 | raw file
   1[PHP]
   2
   3;;;;;;;;;;;
   4; WARNING ;
   5;;;;;;;;;;;
   6; This is the default settings file for new PHP installations.
   7; By default, PHP installs itself with a configuration suitable for
   8; development purposes, and *NOT* for production purposes.
   9; For several security-oriented considerations that should be taken
  10; before going online with your site, please consult php.ini-recommended
  11; and http://php.net/manual/en/security.php.
  12
  13
  14;;;;;;;;;;;;;;;;;;;
  15; About php.ini   ;
  16;;;;;;;;;;;;;;;;;;;
  17; This file controls many aspects of PHP's behavior.  In order for PHP to
  18; read it, it must be named 'php.ini'.  PHP looks for it in the current
  19; working directory, in the path designated by the environment variable
  20; PHPRC, and in the path that was defined in compile time (in that order).
  21; Under Windows, the compile-time path is the Windows directory.  The
  22; path in which the php.ini file is looked for can be overridden using
  23; the -c argument in command line mode.
  24;
  25; The syntax of the file is extremely simple.  Whitespace and Lines
  26; beginning with a semicolon are silently ignored (as you probably guessed).
  27; Section headers (e.g. [Foo]) are also silently ignored, even though
  28; they might mean something in the future.
  29;
  30; Directives are specified using the following syntax:
  31; directive = value
  32; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
  33;
  34; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
  35; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
  36; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
  37;
  38; Expressions in the INI file are limited to bitwise operators and parentheses:
  39; |        bitwise OR
  40; &        bitwise AND
  41; ~        bitwise NOT
  42; !        boolean NOT
  43;
  44; Boolean flags can be turned on using the values 1, On, True or Yes.
  45; They can be turned off using the values 0, Off, False or No.
  46;
  47; An empty string can be denoted by simply not writing anything after the equal
  48; sign, or by using the None keyword:
  49;
  50;  foo =         ; sets foo to an empty string
  51;  foo = none    ; sets foo to an empty string
  52;  foo = "none"  ; sets foo to the string 'none'
  53;
  54; If you use constants in your value, and these constants belong to a
  55; dynamically loaded extension (either a PHP extension or a Zend extension),
  56; you may only use these constants *after* the line that loads the extension.
  57;
  58;
  59;;;;;;;;;;;;;;;;;;;
  60; About this file ;
  61;;;;;;;;;;;;;;;;;;;
  62; All the values in the php.ini-dist file correspond to the builtin
  63; defaults (that is, if no php.ini is used, or if you delete these lines,
  64; the builtin defaults will be identical).
  65
  66
  67;;;;;;;;;;;;;;;;;;;;
  68; Language Options ;
  69;;;;;;;;;;;;;;;;;;;;
  70
  71; Enable the PHP scripting language engine under Apache.
  72engine = On
  73
  74; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
  75zend.ze1_compatibility_mode = Off
  76
  77; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
  78; NOTE: Using short tags should be avoided when developing applications or
  79; libraries that are meant for redistribution, or deployment on PHP
  80; servers which are not under your control, because short tags may not
  81; be supported on the target server. For portable, redistributable code,
  82; be sure not to use short tags.
  83short_open_tag = On
  84
  85; Allow ASP-style <% %> tags.
  86asp_tags = Off
  87
  88; The number of significant digits displayed in floating point numbers.
  89precision    =  12
  90
  91; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  92y2k_compliance = On
  93
  94; Output buffering allows you to send header lines (including cookies) even
  95; after you send body content, at the price of slowing PHP's output layer a
  96; bit.  You can enable output buffering during runtime by calling the output
  97; buffering functions.  You can also enable output buffering for all files by
  98; setting this directive to On.  If you wish to limit the size of the buffer
  99; to a certain size - you can use a maximum number of bytes instead of 'On', as
 100; a value for this directive (e.g., output_buffering=4096).
 101output_buffering = 4096
 102
 103; You can redirect all of the output of your scripts to a function.  For
 104; example, if you set output_handler to "mb_output_handler", character
 105; encoding will be transparently converted to the specified encoding.
 106; Setting any output handler automatically turns on output buffering.
 107; Note: People who wrote portable scripts should not depend on this ini
 108;       directive. Instead, explicitly set the output handler using ob_start().
 109;       Using this ini directive may cause problems unless you know what script
 110;       is doing.
 111; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
 112;       and you cannot use both "ob_gzhandler" and "zlib.output_compression".
 113; Note: output_handler must be empty if this is set 'On' !!!!
 114;       Instead you must use zlib.output_handler.
 115;output_handler =
 116
 117; Transparent output compression using the zlib library
 118; Valid values for this option are 'off', 'on', or a specific buffer size
 119; to be used for compression (default is 4KB)
 120; Note: Resulting chunk size may vary due to nature of compression. PHP
 121;       outputs chunks that are few hundreds bytes each as a result of
 122;       compression. If you prefer a larger chunk size for better
 123;       performance, enable output_buffering in addition.
 124; Note: You need to use zlib.output_handler instead of the standard
 125;       output_handler, or otherwise the output will be corrupted.
 126zlib.output_compression = Off
 127
 128; You cannot specify additional output handlers if zlib.output_compression
 129; is activated here. This setting does the same as output_handler but in
 130; a different order.
 131;zlib.output_handler =
 132
 133; Implicit flush tells PHP to tell the output layer to flush itself
 134; automatically after every output block.  This is equivalent to calling the
 135; PHP function flush() after each and every call to print() or echo() and each
 136; and every HTML block.  Turning this option on has serious performance
 137; implications and is generally recommended for debugging purposes only.
 138implicit_flush = Off
 139
 140; The unserialize callback function will be called (with the undefined class'
 141; name as parameter), if the unserializer finds an undefined class
 142; which should be instantiated.
 143; A warning appears if the specified function is not defined, or if the
 144; function doesn't include/implement the missing class.
 145; So only set this entry, if you really want to implement such a
 146; callback-function.
 147unserialize_callback_func=
 148
 149; When floats & doubles are serialized store serialize_precision significant
 150; digits after the floating point. The default value ensures that when floats
 151; are decoded with unserialize, the data will remain the same.
 152serialize_precision = 100
 153
 154; Whether to enable the ability to force arguments to be passed by reference
 155; at function call time.  This method is deprecated and is likely to be
 156; unsupported in future versions of PHP/Zend.  The encouraged method of
 157; specifying which arguments should be passed by reference is in the function
 158; declaration.  You're encouraged to try and turn this option Off and make
 159; sure your scripts work properly with it in order to ensure they will work
 160; with future versions of the language (you will receive a warning each time
 161; you use this feature, and the argument will be passed by value instead of by
 162; reference).
 163allow_call_time_pass_reference = On
 164
 165;
 166; Safe Mode
 167;
 168safe_mode = Off
 169
 170; By default, Safe Mode does a UID compare check when
 171; opening files. If you want to relax this to a GID compare,
 172; then turn on safe_mode_gid.
 173safe_mode_gid = Off
 174
 175; When safe_mode is on, UID/GID checks are bypassed when
 176; including files from this directory and its subdirectories.
 177; (directory must also be in include_path or full path must
 178; be used when including)
 179safe_mode_include_dir =
 180
 181; When safe_mode is on, only executables located in the safe_mode_exec_dir
 182; will be allowed to be executed via the exec family of functions.
 183safe_mode_exec_dir =
 184
 185; Setting certain environment variables may be a potential security breach.
 186; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
 187; the user may only alter environment variables whose names begin with the
 188; prefixes supplied here.  By default, users will only be able to set
 189; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
 190;
 191; Note:  If this directive is empty, PHP will let the user modify ANY
 192; environment variable!
 193safe_mode_allowed_env_vars = PHP_
 194
 195; This directive contains a comma-delimited list of environment variables that
 196; the end user won't be able to change using putenv().  These variables will be
 197; protected even if safe_mode_allowed_env_vars is set to allow to change them.
 198safe_mode_protected_env_vars = LD_LIBRARY_PATH
 199
 200; open_basedir, if set, limits all file operations to the defined directory
 201; and below.  This directive makes most sense if used in a per-directory
 202; or per-virtualhost web server configuration file. This directive is
 203; *NOT* affected by whether Safe Mode is turned On or Off.
 204;open_basedir =
 205
 206; This directive allows you to disable certain functions for security reasons.
 207; It receives a comma-delimited list of function names. This directive is
 208; *NOT* affected by whether Safe Mode is turned On or Off.
 209disable_functions =
 210
 211; This directive allows you to disable certain classes for security reasons.
 212; It receives a comma-delimited list of class names. This directive is
 213; *NOT* affected by whether Safe Mode is turned On or Off.
 214disable_classes =
 215
 216; Colors for Syntax Highlighting mode.  Anything that's acceptable in
 217; <span style="color: ???????"> would work.
 218;highlight.string  = #DD0000
 219;highlight.comment = #FF9900
 220;highlight.keyword = #007700
 221;highlight.bg      = #FFFFFF
 222;highlight.default = #0000BB
 223;highlight.html    = #000000
 224
 225; If enabled, the request will be allowed to complete even if the user aborts
 226; the request. Consider enabling it if executing long request, which may end up
 227; being interrupted by the user or a browser timing out.
 228; ignore_user_abort = On
 229
 230; Determines the size of the realpath cache to be used by PHP. This value should
 231; be increased on systems where PHP opens many files to reflect the quantity of
 232; the file operations performed.
 233realpath_cache_size=16k
 234
 235; Duration of time, in seconds for which to cache realpath information for a given
 236; file or directory. For systems with rarely changing files, consider increasing this
 237; value.
 238realpath_cache_ttl=120
 239
 240;
 241; Misc
 242;
 243; Decides whether PHP may expose the fact that it is installed on the server
 244; (e.g. by adding its signature to the Web server header).  It is no security
 245; threat in any way, but it makes it possible to determine whether you use PHP
 246; on your server or not.
 247expose_php = On
 248
 249
 250;;;;;;;;;;;;;;;;;;;
 251; Resource Limits ;
 252;;;;;;;;;;;;;;;;;;;
 253
 254max_execution_time = 30     ; Maximum execution time of each script, in seconds
 255max_input_time = 60	; Maximum amount of time each script may spend parsing request data
 256memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
 257
 258
 259;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 260; Error handling and logging ;
 261;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 262
 263; error_reporting is a bit-field.  Or each number up to get desired error
 264; reporting level
 265; E_ALL             - All errors and warnings (doesn't include E_STRICT)
 266; E_ERROR           - fatal run-time errors
 267; E_WARNING         - run-time warnings (non-fatal errors)
 268; E_PARSE           - compile-time parse errors
 269; E_NOTICE          - run-time notices (these are warnings which often result
 270;                     from a bug in your code, but it's possible that it was
 271;                     intentional (e.g., using an uninitialized variable and
 272;                     relying on the fact it's automatically initialized to an
 273;                     empty string)
 274; E_STRICT			- run-time notices, enable to have PHP suggest changes
 275;                     to your code which will ensure the best interoperability
 276;                     and forward compatibility of your code
 277; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
 278; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
 279;                     initial startup
 280; E_COMPILE_ERROR   - fatal compile-time errors
 281; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
 282; E_USER_ERROR      - user-generated error message
 283; E_USER_WARNING    - user-generated warning message
 284; E_USER_NOTICE     - user-generated notice message
 285;
 286; Examples:
 287;
 288;   - Show all errors, except for notices and coding standards warnings
 289;
 290;error_reporting = E_ALL & ~E_NOTICE
 291;
 292;   - Show all errors, except for notices
 293;
 294;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
 295;
 296;   - Show only errors
 297;
 298;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
 299;
 300;   - Show all errors except for notices and coding standards warnings
 301;
 302error_reporting  =  E_ALL & ~E_NOTICE
 303
 304; Print out errors (as a part of the output).  For production web sites,
 305; you're strongly encouraged to turn this feature off, and use error logging
 306; instead (see below).  Keeping display_errors enabled on a production web site
 307; may reveal security information to end users, such as file paths on your Web
 308; server, your database schema or other information.
 309display_errors = Off
 310
 311; Even when display_errors is on, errors that occur during PHP's startup
 312; sequence are not displayed.  It's strongly recommended to keep
 313; display_startup_errors off, except for when debugging.
 314display_startup_errors = Off
 315
 316; Log errors into a log file (server-specific log, stderr, or error_log (below))
 317; As stated above, you're strongly advised to use error logging in place of
 318; error displaying on production web sites.
 319log_errors = On
 320
 321; Set maximum length of log_errors. In error_log information about the source is
 322; added. The default is 1024 and 0 allows to not apply any maximum length at all.
 323log_errors_max_len = 1024
 324
 325; Do not log repeated messages. Repeated errors must occur in same file on same
 326; line until ignore_repeated_source is set true.
 327ignore_repeated_errors = Off
 328
 329; Ignore source of message when ignoring repeated messages. When this setting
 330; is On you will not log errors with repeated messages from different files or
 331; sourcelines.
 332ignore_repeated_source = Off
 333
 334; If this parameter is set to Off, then memory leaks will not be shown (on
 335; stdout or in the log). This has only effect in a debug compile, and if
 336; error reporting includes E_WARNING in the allowed list
 337report_memleaks = On
 338
 339; Store the last error/warning message in $php_errormsg (boolean).
 340track_errors = Off
 341
 342; Disable the inclusion of HTML tags in error messages.
 343; Note: Never use this feature for production boxes.
 344;html_errors = Off
 345
 346; If html_errors is set On PHP produces clickable error messages that direct
 347; to a page describing the error or function causing the error in detail.
 348; You can download a copy of the PHP manual from http://www.php.net/docs.php
 349; and change docref_root to the base URL of your local copy including the
 350; leading '/'. You must also specify the file extension being used including
 351; the dot.
 352; Note: Never use this feature for production boxes.
 353;docref_root = "/phpmanual/"
 354;docref_ext = .html
 355
 356; String to output before an error message.
 357;error_prepend_string = "<font color=ff0000>"
 358
 359; String to output after an error message.
 360;error_append_string = "</font>"
 361
 362; Log errors to specified file.
 363error_log = "/var/log/php"
 364
 365; Log errors to syslog (Event Log on NT, not valid in Windows 95).
 366;error_log = syslog
 367
 368
 369;;;;;;;;;;;;;;;;;
 370; Data Handling ;
 371;;;;;;;;;;;;;;;;;
 372;
 373; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
 374
 375; The separator used in PHP generated URLs to separate arguments.
 376; Default is "&".
 377;arg_separator.output = "&amp;"
 378
 379; List of separator(s) used by PHP to parse input URLs into variables.
 380; Default is "&".
 381; NOTE: Every character in this directive is considered as separator!
 382;arg_separator.input = ";&"
 383
 384; This directive describes the order in which PHP registers GET, POST, Cookie,
 385; Environment and Built-in variables (G, P, C, E & S respectively, often
 386; referred to as EGPCS or GPC).  Registration is done from left to right, newer
 387; values override older values.
 388variables_order = "EGPCS"
 389
 390; Whether or not to register the EGPCS variables as global variables.  You may
 391; want to turn this off if you don't want to clutter your scripts' global scope
 392; with user data.  This makes most sense when coupled with track_vars - in which
 393; case you can access all of the GPC variables through the $HTTP_*_VARS[],
 394; variables.
 395;
 396; You should do your best to write your scripts so that they do not require
 397; register_globals to be on;  Using form variables as globals can easily lead
 398; to possible security problems, if the code is not very well thought of.
 399register_globals = Off
 400
 401; Whether or not to register the old-style input arrays, HTTP_GET_VARS
 402; and friends.  If you're not using them, it's recommended to turn them off,
 403; for performance reasons.
 404register_long_arrays = Off
 405
 406; This directive tells PHP whether to declare the argv&argc variables (that
 407; would contain the GET information).  If you don't use these variables, you
 408; should turn it off for increased performance.
 409register_argc_argv = Off
 410
 411; When enabled, the SERVER and ENV variables are created when they're first
 412; used (Just In Time) instead of when the script starts. If these variables
 413; are not used within a script, having this directive on will result in a
 414; performance gain. The PHP directives register_globals, register_long_arrays,
 415; and register_argc_argv must be disabled for this directive to have any affect.
 416auto_globals_jit = On
 417
 418; Maximum size of POST data that PHP will accept.
 419post_max_size = 8M
 420
 421; Magic quotes
 422;
 423
 424; Magic quotes for incoming GET/POST/Cookie data.
 425magic_quotes_gpc = On
 426
 427; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
 428magic_quotes_runtime = Off
 429
 430; Use Sybase-style magic quotes (escape ' with '' instead of \').
 431magic_quotes_sybase = Off
 432
 433; Automatically add files before or after any PHP document.
 434auto_prepend_file =
 435auto_append_file =
 436
 437; As of 4.0b4, PHP always outputs a character encoding by default in
 438; the Content-type: header.  To disable sending of the charset, simply
 439; set it to be empty.
 440;
 441; PHP's built-in default is text/html
 442default_mimetype = "text/html"
 443;default_charset = "iso-8859-1"
 444
 445; Always populate the $HTTP_RAW_POST_DATA variable.
 446;always_populate_raw_post_data = On
 447
 448
 449;;;;;;;;;;;;;;;;;;;;;;;;;
 450; Paths and Directories ;
 451;;;;;;;;;;;;;;;;;;;;;;;;;
 452
 453; UNIX: "/path1:/path2"
 454;include_path = ".:/php/includes"
 455;
 456; Windows: "\path1;\path2"
 457;include_path = ".;c:\php\includes"
 458
 459; The root of the PHP pages, used only if nonempty.
 460; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
 461; if you are running php as a CGI under any web server (other than IIS)
 462; see documentation for security issues.  The alternate is to use the
 463; cgi.force_redirect configuration below
 464doc_root =
 465
 466; The directory under which PHP opens the script using /~username used only
 467; if nonempty.
 468user_dir =
 469
 470; Directory in which the loadable extensions (modules) reside.
 471extension_dir = "/usr/lib/extensions"
 472
 473; Whether or not to enable the dl() function.  The dl() function does NOT work
 474; properly in multithreaded servers, such as IIS or Zeus, and is automatically
 475; disabled on them.
 476enable_dl = On
 477
 478; cgi.force_redirect is necessary to provide security running PHP as a CGI under
 479; most web servers.  Left undefined, PHP turns this on by default.  You can
 480; turn it off here AT YOUR OWN RISK
 481; **You CAN safely turn this off for IIS, in fact, you MUST.**
 482; cgi.force_redirect = 1
 483
 484; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
 485; every request.
 486; cgi.nph = 1
 487
 488; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
 489; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
 490; will look for to know it is OK to continue execution.  Setting this variable MAY
 491; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
 492; cgi.redirect_status_env = ;
 493
 494; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
 495; security tokens of the calling client.  This allows IIS to define the
 496; security context that the request runs under.  mod_fastcgi under Apache
 497; does not currently support this feature (03/17/2002)
 498; Set to 1 if running under IIS.  Default is zero.
 499; fastcgi.impersonate = 1;
 500
 501; Disable logging through FastCGI connection
 502; fastcgi.log = 0
 503
 504; cgi.rfc2616_headers configuration option tells PHP what type of headers to
 505; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
 506; is supported by Apache. When this option is set to 1 PHP will send
 507; RFC2616 compliant header.
 508; Default is zero.
 509;cgi.rfc2616_headers = 0
 510
 511
 512;;;;;;;;;;;;;;;;
 513; File Uploads ;
 514;;;;;;;;;;;;;;;;
 515
 516; Whether to allow HTTP file uploads.
 517file_uploads = On
 518
 519; Temporary directory for HTTP uploaded files (will use system default if not
 520; specified).
 521;upload_tmp_dir =
 522
 523; Maximum allowed size for uploaded files.
 524upload_max_filesize = 2M
 525
 526
 527;;;;;;;;;;;;;;;;;;
 528; Fopen wrappers ;
 529;;;;;;;;;;;;;;;;;;
 530
 531; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
 532allow_url_fopen = On
 533
 534; Define the anonymous ftp password (your email address)
 535;from="john@doe.com"
 536
 537; Define the User-Agent string
 538; user_agent="PHP"
 539
 540; Default timeout for socket based streams (seconds)
 541default_socket_timeout = 60
 542
 543; If your scripts have to deal with files from Macintosh systems,
 544; or you are running on a Mac and need to deal with files from
 545; unix or win32 systems, setting this flag will cause PHP to
 546; automatically detect the EOL character in those files so that
 547; fgets() and file() will work regardless of the source of the file.
 548; auto_detect_line_endings = Off
 549
 550
 551;;;;;;;;;;;;;;;;;;;;;;
 552; Dynamic Extensions ;
 553;;;;;;;;;;;;;;;;;;;;;;
 554;
 555; If you wish to have an extension loaded automatically, use the following
 556; syntax:
 557;
 558;   extension=modulename.extension
 559;
 560; For example, on Windows:
 561;
 562;   extension=msql.dll
 563;
 564; ... or under UNIX:
 565;
 566;   extension=msql.so
 567;
 568; Note that it should be the name of the module only; no directory information
 569; needs to go here.  Specify the location of the extension with the
 570; extension_dir directive above.
 571
 572
 573; Windows Extensions
 574; Note that ODBC support is built in, so no dll is needed for it.
 575; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
 576; extension folders as well as the separate PECL DLL download (PHP 5).
 577; Be sure to appropriately set the extension_dir directive.
 578
 579;extension=php_mbstring.dll
 580;extension=php_bz2.dll
 581;extension=php_curl.dll
 582;extension=php_dba.dll
 583;extension=php_dbase.dll
 584;extension=php_exif.dll
 585;extension=php_fdf.dll
 586;extension=php_filepro.dll
 587;extension=php_gd2.dll
 588;extension=php_gettext.dll
 589;extension=php_ifx.dll
 590;extension=php_imap.dll
 591;extension=php_interbase.dll
 592;extension=php_ldap.dll
 593;extension=php_mcrypt.dll
 594;extension=php_mhash.dll
 595;extension=php_mime_magic.dll
 596;extension=php_ming.dll
 597;extension=php_mssql.dll
 598;extension=php_msql.dll
 599;extension=php_mysql.dll
 600;extension=php_oci8.dll
 601;extension=php_openssl.dll
 602;extension=php_oracle.dll
 603;extension=php_pgsql.dll
 604;extension=php_shmop.dll
 605;extension=php_snmp.dll
 606;extension=php_sockets.dll
 607;extension=php_sqlite.dll
 608;extension=php_sybase_ct.dll
 609;extension=php_tidy.dll
 610;extension=php_xmlrpc.dll
 611;extension=php_xsl.dll
 612
 613
 614;;;;;;;;;;;;;;;;;;;
 615; Module Settings ;
 616;;;;;;;;;;;;;;;;;;;
 617
 618[Date]
 619; Defines the default timezone used by the date functions
 620;date.timezone = 
 621
 622[Syslog]
 623; Whether or not to define the various syslog variables (e.g. $LOG_PID,
 624; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
 625; runtime, you can define these variables by calling define_syslog_variables().
 626define_syslog_variables  = Off
 627
 628[mail function]
 629; For Win32 only.
 630SMTP = localhost
 631smtp_port = 25
 632
 633; For Win32 only.
 634;sendmail_from = me@example.com
 635
 636; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
 637;sendmail_path =
 638
 639; Force the addition of the specified parameters to be passed as extra parameters
 640; to the sendmail binary. These parameters will always replace the value of
 641; the 5th parameter to mail(), even in safe mode.
 642;mail.force_extra_parameters =
 643
 644[SQL]
 645sql.safe_mode = Off
 646
 647[ODBC]
 648;odbc.default_db    =  Not yet implemented
 649;odbc.default_user  =  Not yet implemented
 650;odbc.default_pw    =  Not yet implemented
 651
 652; Allow or prevent persistent links.
 653odbc.allow_persistent = On
 654
 655; Check that a connection is still valid before reuse.
 656odbc.check_persistent = On
 657
 658; Maximum number of persistent links.  -1 means no limit.
 659odbc.max_persistent = -1
 660
 661; Maximum number of links (persistent + non-persistent).  -1 means no limit.
 662odbc.max_links = -1
 663
 664; Handling of LONG fields.  Returns number of bytes to variables.  0 means
 665; passthru.
 666odbc.defaultlrl = 4096
 667
 668; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
 669; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
 670; of uodbc.defaultlrl and uodbc.defaultbinmode
 671odbc.defaultbinmode = 1
 672
 673[MySQL]
 674; Allow or prevent persistent links.
 675mysql.allow_persistent = On
 676
 677; Maximum number of persistent links.  -1 means no limit.
 678mysql.max_persistent = -1
 679
 680; Maximum number of links (persistent + non-persistent).  -1 means no limit.
 681mysql.max_links = -1
 682
 683; Default port number for mysql_connect().  If unset, mysql_connect() will use
 684; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
 685; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
 686; at MYSQL_PORT.
 687mysql.default_port =
 688
 689; Default socket name for local MySQL connects.  If empty, uses the built-in
 690; MySQL defaults.
 691mysql.default_socket =
 692
 693; Default host for mysql_connect() (doesn't apply in safe mode).
 694mysql.default_host =
 695
 696; Default user for mysql_connect() (doesn't apply in safe mode).
 697mysql.default_user =
 698
 699; Default password for mysql_connect() (doesn't apply in safe mode).
 700; Note that this is generally a *bad* idea to store passwords in this file.
 701; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
 702; and reveal this password!  And of course, any users with read access to this
 703; file will be able to reveal the password as well.
 704mysql.default_password =
 705
 706; Maximum time (in secondes) for connect timeout. -1 means no limit
 707mysql.connect_timeout = 60
 708
 709; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
 710; SQL-Errors will be displayed.
 711mysql.trace_mode = Off
 712
 713[MySQLi]
 714
 715; Maximum number of links.  -1 means no limit.
 716mysqli.max_links = -1
 717
 718; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
 719; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
 720; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
 721; at MYSQL_PORT.
 722mysqli.default_port = 3306
 723
 724; Default socket name for local MySQL connects.  If empty, uses the built-in
 725; MySQL defaults.
 726mysqli.default_socket =
 727
 728; Default host for mysql_connect() (doesn't apply in safe mode).
 729mysqli.default_host =
 730
 731; Default user for mysql_connect() (doesn't apply in safe mode).
 732mysqli.default_user =
 733
 734; Default password for mysqli_connect() (doesn't apply in safe mode).
 735; Note that this is generally a *bad* idea to store passwords in this file.
 736; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
 737; and reveal this password!  And of course, any users with read access to this
 738; file will be able to reveal the password as well.
 739mysqli.default_pw =
 740
 741; Allow or prevent reconnect
 742mysqli.reconnect = Off
 743
 744[mSQL]
 745; Allow or prevent persistent links.
 746msql.allow_persistent = On
 747
 748; Maximum number of persistent links.  -1 means no limit.
 749msql.max_persistent = -1
 750
 751; Maximum number of links (persistent+non persistent).  -1 means no limit.
 752msql.max_links = -1
 753
 754[PostgresSQL]
 755; Allow or prevent persistent links.
 756pgsql.allow_persistent = On
 757
 758; Detect broken persistent links always with pg_pconnect().
 759; Auto reset feature requires a little overheads.
 760pgsql.auto_reset_persistent = Off
 761
 762; Maximum number of persistent links.  -1 means no limit.
 763pgsql.max_persistent = -1
 764
 765; Maximum number of links (persistent+non persistent).  -1 means no limit.
 766pgsql.max_links = -1
 767
 768; Ignore PostgreSQL backends Notice message or not.
 769; Notice message logging require a little overheads.
 770pgsql.ignore_notice = 0
 771
 772; Log PostgreSQL backends Noitce message or not.
 773; Unless pgsql.ignore_notice=0, module cannot log notice message.
 774pgsql.log_notice = 0
 775
 776[Sybase]
 777; Allow or prevent persistent links.
 778sybase.allow_persistent = On
 779
 780; Maximum number of persistent links.  -1 means no limit.
 781sybase.max_persistent = -1
 782
 783; Maximum number of links (persistent + non-persistent).  -1 means no limit.
 784sybase.max_links = -1
 785
 786;sybase.interface_file = "/usr/sybase/interfaces"
 787
 788; Minimum error severity to display.
 789sybase.min_error_severity = 10
 790
 791; Minimum message severity to display.
 792sybase.min_message_severity = 10
 793
 794; Compatability mode with old versions of PHP 3.0.
 795; If on, this will cause PHP to automatically assign types to results according
 796; to their Sybase type, instead of treating them all as strings.  This
 797; compatibility mode will probably not stay around forever, so try applying
 798; whatever necessary changes to your code, and turn it off.
 799sybase.compatability_mode = Off
 800
 801[Sybase-CT]
 802; Allow or prevent persistent links.
 803sybct.allow_persistent = On
 804
 805; Maximum number of persistent links.  -1 means no limit.
 806sybct.max_persistent = -1
 807
 808; Maximum number of links (persistent + non-persistent).  -1 means no limit.
 809sybct.max_links = -1
 810
 811; Minimum server message severity to display.
 812sybct.min_server_severity = 10
 813
 814; Minimum client message severity to display.
 815sybct.min_client_severity = 10
 816
 817[bcmath]
 818; Number of decimal digits for all bcmath functions.
 819bcmath.scale = 0
 820
 821[browscap]
 822;browscap = extra/browscap.ini
 823
 824[Informix]
 825; Default host for ifx_connect() (doesn't apply in safe mode).
 826ifx.default_host =
 827
 828; Default user for ifx_connect() (doesn't apply in safe mode).
 829ifx.default_user =
 830
 831; Default password for ifx_connect() (doesn't apply in safe mode).
 832ifx.default_password =
 833
 834; Allow or prevent persistent links.
 835ifx.allow_persistent = On
 836
 837; Maximum number of persistent links.  -1 means no limit.
 838ifx.max_persistent = -1
 839
 840; Maximum number of links (persistent + non-persistent).  -1 means no limit.
 841ifx.max_links = -1
 842
 843; If on, select statements return the contents of a text blob instead of its id.
 844ifx.textasvarchar = 0
 845
 846; If on, select statements return the contents of a byte blob instead of its id.
 847ifx.byteasvarchar = 0
 848
 849; Trailing blanks are stripped from fixed-length char columns.  May help the
 850; life of Informix SE users.
 851ifx.charasvarchar = 0
 852
 853; If on, the contents of text and byte blobs are dumped to a file instead of
 854; keeping them in memory.
 855ifx.blobinfile = 0
 856
 857; NULL's are returned as empty strings, unless this is set to 1.  In that case,
 858; NULL's are returned as string 'NULL'.
 859ifx.nullformat = 0
 860
 861[Session]
 862; Handler used to store/retrieve data.
 863session.save_handler = files
 864
 865; Argument passed to save_handler.  In the case of files, this is the path
 866; where data files are stored. Note: Windows users have to change this
 867; variable in order to use PHP's session functions.
 868;
 869; As of PHP 4.0.1, you can define the path as:
 870;
 871;     session.save_path = "N;/path"
 872;
 873; where N is an integer.  Instead of storing all the session files in
 874; /path, what this will do is use subdirectories N-levels deep, and
 875; store the session data in those directories.  This is useful if you
 876; or your OS have problems with lots of files in one directory, and is
 877; a more efficient layout for servers that handle lots of sessions.
 878;
 879; NOTE 1: PHP will not create this directory structure automatically.
 880;         You can use the script in the ext/session dir for that purpose.
 881; NOTE 2: See the section on garbage collection below if you choose to
 882;         use subdirectories for session storage
 883;
 884; The file storage module creates files using mode 600 by default.
 885; You can change that by using
 886;
 887;     session.save_path = "N;MODE;/path"
 888;
 889; where MODE is the octal representation of the mode. Note that this
 890; does not overwrite the process's umask.
 891;session.save_path = "/tmp"
 892
 893; Whether to use cookies.
 894session.use_cookies = 1
 895
 896; This option enables administrators to make their users invulnerable to
 897; attacks which involve passing session ids in URLs; defaults to 0.
 898; session.use_only_cookies = 1
 899
 900; Name of the session (used as cookie name).
 901session.name = PHPSESSID
 902
 903; Initialize session on request startup.
 904session.auto_start = 0
 905
 906; Lifetime in seconds of cookie or, if 0, until browser is restarted.
 907session.cookie_lifetime = 0
 908
 909; The path for which the cookie is valid.
 910session.cookie_path = /
 911
 912; The domain for which the cookie is valid.
 913session.cookie_domain =
 914
 915; Handler used to serialize data.  php is the standard serializer of PHP.
 916session.serialize_handler = php
 917
 918; Define the probability that the 'garbage collection' process is started
 919; on every session initialization.
 920; The probability is calculated by using gc_probability/gc_divisor,
 921; e.g. 1/100 means there is a 1% chance that the GC process starts
 922; on each request.
 923
 924session.gc_probability = 1
 925session.gc_divisor     = 100
 926
 927; After this number of seconds, stored data will be seen as 'garbage' and
 928; cleaned up by the garbage collection process.
 929session.gc_maxlifetime = 1440
 930
 931; NOTE: If you are using the subdirectory option for storing session files
 932;       (see session.save_path above), then garbage collection does *not*
 933;       happen automatically.  You will need to do your own garbage
 934;       collection through a shell script, cron entry, or some other method.
 935;       For example, the following script would is the equivalent of
 936;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
 937;          cd /path/to/sessions; find -cmin +24 | xargs rm
 938
 939; PHP 4.2 and less have an undocumented feature/bug that allows you to
 940; to initialize a session variable in the global scope, albeit register_globals
 941; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
 942; You can disable the feature and the warning separately. At this time,
 943; the warning is only displayed, if bug_compat_42 is enabled.
 944
 945session.bug_compat_42 = 1
 946session.bug_compat_warn = 1
 947
 948; Check HTTP Referer to invalidate externally stored URLs containing ids.
 949; HTTP_REFERER has to contain this substring for the session to be
 950; considered as valid.
 951session.referer_check =
 952
 953; How many bytes to read from the file.
 954session.entropy_length = 0
 955
 956; Specified here to create the session id.
 957session.entropy_file =
 958
 959;session.entropy_length = 16
 960
 961;session.entropy_file = /dev/urandom
 962
 963; Set to {nocache,private,public,} to determine HTTP caching aspects
 964; or leave this empty to avoid sending anti-caching headers.
 965session.cache_limiter = nocache
 966
 967; Document expires after n minutes.
 968session.cache_expire = 180
 969
 970; trans sid support is disabled by default.
 971; Use of trans sid may risk your users security.
 972; Use this option with caution.
 973; - User may send URL contains active session ID
 974;   to other person via. email/irc/etc.
 975; - URL that contains active session ID may be stored
 976;   in publically accessible computer.
 977; - User may access your site with the same session ID
 978;   always using URL stored in browser's history or bookmarks.
 979session.use_trans_sid = 0
 980
 981; Select a hash function
 982; 0: MD5   (128 bits)
 983; 1: SHA-1 (160 bits)
 984session.hash_function = 0
 985
 986; Define how many bits are stored in each character when converting
 987; the binary hash data to something readable.
 988;
 989; 4 bits: 0-9, a-f
 990; 5 bits: 0-9, a-v
 991; 6 bits: 0-9, a-z, A-Z, "-", ","
 992session.hash_bits_per_character = 4
 993
 994; The URL rewriter will look for URLs in a defined set of HTML tags.
 995; form/fieldset are special; if you include them here, the rewriter will
 996; add a hidden <input> field with the info which is otherwise appended
 997; to URLs.  If you want XHTML conformity, remove the form entry.
 998; Note that all valid entries require a "=", even if no value follows.
 999url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
1000
1001[MSSQL]
1002; Allow or prevent persistent links.
1003mssql.allow_persistent = On
1004
1005; Maximum number of persistent links.  -1 means no limit.
1006mssql.max_persistent = -1
1007
1008; Maximum number of links (persistent+non persistent).  -1 means no limit.
1009mssql.max_links = -1
1010
1011; Minimum error severity to display.
1012mssql.min_error_severity = 10
1013
1014; Minimum message severity to display.
1015mssql.min_message_severity = 10
1016
1017; Compatability mode with old versions of PHP 3.0.
1018mssql.compatability_mode = Off
1019
1020; Connect timeout
1021;mssql.connect_timeout = 5
1022
1023; Query timeout
1024;mssql.timeout = 60
1025
1026; Valid range 0 - 2147483647.  Default = 4096.
1027;mssql.textlimit = 4096
1028
1029; Valid range 0 - 2147483647.  Default = 4096.
1030;mssql.textsize = 4096
1031
1032; Limits the number of records in each batch.  0 = all records in one batch.
1033;mssql.batchsize = 0
1034
1035; Specify how datetime and datetim4 columns are returned
1036; On => Returns data converted to SQL server settings
1037; Off => Returns values as YYYY-MM-DD hh:mm:ss
1038;mssql.datetimeconvert = On
1039
1040; Use NT authentication when connecting to the server
1041mssql.secure_connection = Off
1042
1043; Specify max number of processes. -1 = library default
1044; msdlib defaults to 25
1045; FreeTDS defaults to 4096
1046;mssql.max_procs = -1
1047
1048; Specify client character set. 
1049; If empty or not set the client charset from freetds.comf is used
1050; This is only used when compiled with FreeTDS
1051;mssql.charset = "ISO-8859-1"
1052
1053[Assertion]
1054; Assert(expr); active by default.
1055;assert.active = On
1056
1057; Issue a PHP warning for each failed assertion.
1058;assert.warning = On
1059
1060; Don't bail out by default.
1061;assert.bail = Off
1062
1063; User-function to be called if an assertion fails.
1064;assert.callback = 0
1065
1066; Eval the expression with current error_reporting().  Set to true if you want
1067; error_reporting(0) around the eval().
1068;assert.quiet_eval = 0
1069
1070[Verisign Payflow Pro]
1071; Default Payflow Pro server.
1072pfpro.defaulthost = "test-payflow.verisign.com"
1073
1074; Default port to connect to.
1075pfpro.defaultport = 443
1076
1077; Default timeout in seconds.
1078pfpro.defaulttimeout = 30
1079
1080; Default proxy IP address (if required).
1081;pfpro.proxyaddress =
1082
1083; Default proxy port.
1084;pfpro.proxyport =
1085
1086; Default proxy logon.
1087;pfpro.proxylogon =
1088
1089; Default proxy password.
1090;pfpro.proxypassword =
1091
1092[COM]
1093; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1094;com.typelib_file =
1095; allow Distributed-COM calls
1096;com.allow_dcom = true
1097; autoregister constants of a components typlib on com_load()
1098;com.autoregister_typelib = true
1099; register constants casesensitive
1100;com.autoregister_casesensitive = false
1101; show warnings on duplicate constat registrations
1102;com.autoregister_verbose = true
1103
1104[mbstring]
1105; language for internal character representation.
1106;mbstring.language = Japanese
1107
1108; internal/script encoding.
1109; Some encoding cannot work as internal encoding.
1110; (e.g. SJIS, BIG5, ISO-2022-*)
1111;mbstring.internal_encoding = EUC-JP
1112
1113; http input encoding.
1114;mbstring.http_input = auto
1115
1116; http output encoding. mb_output_handler must be
1117; registered as output buffer to function
1118;mbstring.http_output = SJIS
1119
1120; enable automatic encoding translation according to
1121; mbstring.internal_encoding setting. Input chars are
1122; converted to internal encoding by setting this to On.
1123; Note: Do _not_ use automatic encoding translation for
1124;       portable libs/applications.
1125;mbstring.encoding_translation = Off
1126
1127; automatic encoding detection order.
1128; auto means
1129;mbstring.detect_order = auto
1130
1131; substitute_character used when character cannot be converted
1132; one from another
1133;mbstring.substitute_character = none;
1134
1135; overload(replace) single byte functions by mbstring functions.
1136; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1137; etc. Possible values are 0,1,2,4 or combination of them.
1138; For example, 7 for overload everything.
1139; 0: No overload
1140; 1: Overload mail() function
1141; 2: Overload str*() functions
1142; 4: Overload ereg*() functions
1143;mbstring.func_overload = 0
1144
1145; enable strict encoding detection.
1146;mbstring.strict_encoding = Off
1147
1148[FrontBase]
1149;fbsql.allow_persistent = On
1150;fbsql.autocommit = On
1151;fbsql.show_timestamp_decimals = Off
1152;fbsql.default_database =
1153;fbsql.default_database_password =
1154;fbsql.default_host =
1155;fbsql.default_password =
1156;fbsql.default_user = "_SYSTEM"
1157;fbsql.generate_warnings = Off
1158;fbsql.max_connections = 128
1159;fbsql.max_links = 128
1160;fbsql.max_persistent = -1
1161;fbsql.max_results = 128
1162;fbsql.batchSize = 1000
1163
1164[gd]
1165; Tell the jpeg decode to libjpeg warnings and try to create
1166; a gd image. The warning will then be displayed as notices
1167; disabled by default
1168;gd.jpeg_ignore_warning = 0
1169 
1170[exif]
1171; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1172; With mbstring support this will automatically be converted into the encoding
1173; given by corresponding encode setting. When empty mbstring.internal_encoding
1174; is used. For the decode settings you can distinguish between motorola and
1175; intel byte order. A decode setting cannot be empty.
1176;exif.encode_unicode = ISO-8859-15
1177;exif.decode_unicode_motorola = UCS-2BE
1178;exif.decode_unicode_intel    = UCS-2LE
1179;exif.encode_jis =
1180;exif.decode_jis_motorola = JIS
1181;exif.decode_jis_intel    = JIS
1182
1183[Tidy]
1184; The path to a default tidy configuration file to use when using tidy
1185;tidy.default_config = /usr/local/lib/php/default.tcfg
1186
1187; Should tidy clean and repair output automatically?
1188; WARNING: Do not use this option if you are generating non-html content
1189; such as dynamic images
1190tidy.clean_output = Off
1191
1192[soap]
1193; Enables or disables WSDL caching feature.
1194soap.wsdl_cache_enabled=1
1195; Sets the directory name where SOAP extension will put cache files.
1196soap.wsdl_cache_dir="/tmp"
1197; (time to live) Sets the number of second while cached file will be used 
1198; instead of original one.
1199soap.wsdl_cache_ttl=86400
1200
1201; Local Variables:
1202; tab-width: 4
1203; End: