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