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