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