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