php.in

姚钊
2023-12-01

 

 

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

 

 类似资料: