| 1 | [PHP] |
|---|
| 2 | |
|---|
| 3 | ; |
|---|
| 4 | ; %%warning_message%% |
|---|
| 5 | ; |
|---|
| 6 | |
|---|
| 7 | ;;;;;;;;;;; |
|---|
| 8 | ; WARNING ; |
|---|
| 9 | ;;;;;;;;;;; |
|---|
| 10 | ; This is the default settings file for new PHP installations. |
|---|
| 11 | ; By default, PHP installs itself with a configuration suitable for |
|---|
| 12 | ; development purposes, and *NOT* for production purposes. |
|---|
| 13 | ; For several security-oriented considerations that should be taken |
|---|
| 14 | ; before going online with your site, please consult php.ini-recommended |
|---|
| 15 | ; and http://php.net/manual/en/security.php. |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | ;;;;;;;;;;;;;;;;;;; |
|---|
| 19 | ; About this file ; |
|---|
| 20 | ;;;;;;;;;;;;;;;;;;; |
|---|
| 21 | ; This file controls many aspects of PHP's behavior. In order for PHP to |
|---|
| 22 | ; read it, it must be named 'php.ini'. PHP looks for it in the current |
|---|
| 23 | ; working directory, in the path designated by the environment variable |
|---|
| 24 | ; PHPRC, and in the path that was defined in compile time (in that order). |
|---|
| 25 | ; Under Windows, the compile-time path is the Windows directory. The |
|---|
| 26 | ; path in which the php.ini file is looked for can be overridden using |
|---|
| 27 | ; the -c argument in command line mode. |
|---|
| 28 | ; |
|---|
| 29 | ; The syntax of the file is extremely simple. Whitespace and Lines |
|---|
| 30 | ; beginning with a semicolon are silently ignored (as you probably guessed). |
|---|
| 31 | ; Section headers (e.g. [Foo]) are also silently ignored, even though |
|---|
| 32 | ; they might mean something in the future. |
|---|
| 33 | ; |
|---|
| 34 | ; Directives are specified using the following syntax: |
|---|
| 35 | ; directive = value |
|---|
| 36 | ; Directive names are *case sensitive* - foo=bar is different from FOO=bar. |
|---|
| 37 | ; |
|---|
| 38 | ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one |
|---|
| 39 | ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression |
|---|
| 40 | ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo"). |
|---|
| 41 | ; |
|---|
| 42 | ; Expressions in the INI file are limited to bitwise operators and parentheses: |
|---|
| 43 | ; | bitwise OR |
|---|
| 44 | ; & bitwise AND |
|---|
| 45 | ; ~ bitwise NOT |
|---|
| 46 | ; ! boolean NOT |
|---|
| 47 | ; |
|---|
| 48 | ; Boolean flags can be turned on using the values 1, On, True or Yes. |
|---|
| 49 | ; They can be turned off using the values 0, Off, False or No. |
|---|
| 50 | ; |
|---|
| 51 | ; An empty string can be denoted by simply not writing anything after the equal |
|---|
| 52 | ; sign, or by using the None keyword: |
|---|
| 53 | ; |
|---|
| 54 | ; foo = ; sets foo to an empty string |
|---|
| 55 | ; foo = none ; sets foo to an empty string |
|---|
| 56 | ; foo = "none" ; sets foo to the string 'none' |
|---|
| 57 | ; |
|---|
| 58 | ; If you use constants in your value, and these constants belong to a |
|---|
| 59 | ; dynamically loaded extension (either a PHP extension or a Zend extension), |
|---|
| 60 | ; you may only use these constants *after* the line that loads the extension. |
|---|
| 61 | ; |
|---|
| 62 | ; All the values in the php.ini-dist file correspond to the builtin |
|---|
| 63 | ; defaults (that is, if no php.ini is used, or if you delete these lines, |
|---|
| 64 | ; the builtin defaults will be identical). |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | ;;;;;;;;;;;;;;;;;;;; |
|---|
| 68 | ; Language Options ; |
|---|
| 69 | ;;;;;;;;;;;;;;;;;;;; |
|---|
| 70 | |
|---|
| 71 | ; Enable the PHP scripting language engine under Apache. |
|---|
| 72 | engine = On |
|---|
| 73 | |
|---|
| 74 | ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. |
|---|
| 75 | short_open_tag = On |
|---|
| 76 | |
|---|
| 77 | ; Allow ASP-style <% %> tags. |
|---|
| 78 | asp_tags = Off |
|---|
| 79 | |
|---|
| 80 | ; The number of significant digits displayed in floating point numbers. |
|---|
| 81 | precision = 14 |
|---|
| 82 | |
|---|
| 83 | ; Enforce year 2000 compliance (will cause problems with non-compliant browsers) |
|---|
| 84 | y2k_compliance = Off |
|---|
| 85 | |
|---|
| 86 | ; Output buffering allows you to send header lines (including cookies) even |
|---|
| 87 | ; after you send body content, at the price of slowing PHP's output layer a |
|---|
| 88 | ; bit. You can enable output buffering during runtime by calling the output |
|---|
| 89 | ; buffering functions. You can also enable output buffering for all files by |
|---|
| 90 | ; setting this directive to On. If you wish to limit the size of the buffer |
|---|
| 91 | ; to a certain size - you can use a maximum number of bytes instead of 'On', as |
|---|
| 92 | ; a value for this directive (e.g., output_buffering=4096). |
|---|
| 93 | output_buffering = Off |
|---|
| 94 | |
|---|
| 95 | ; You can redirect all of the output of your scripts to a function. For |
|---|
| 96 | ; example, if you set output_handler to "ob_gzhandler", output will be |
|---|
| 97 | ; transparently compressed for browsers that support gzip or deflate encoding. |
|---|
| 98 | ; Setting an output handler automatically turns on output buffering. |
|---|
| 99 | output_handler = |
|---|
| 100 | |
|---|
| 101 | ; Transparent output compression using the zlib library |
|---|
| 102 | ; Valid values for this option are 'off', 'on', or a specific buffer size |
|---|
| 103 | ; to be used for compression (default is 4KB) |
|---|
| 104 | zlib.output_compression = Off |
|---|
| 105 | |
|---|
| 106 | ; Implicit flush tells PHP to tell the output layer to flush itself |
|---|
| 107 | ; automatically after every output block. This is equivalent to calling the |
|---|
| 108 | ; PHP function flush() after each and every call to print() or echo() and each |
|---|
| 109 | ; and every HTML block. Turning this option on has serious performance |
|---|
| 110 | ; implications and is generally recommended for debugging purposes only. |
|---|
| 111 | implicit_flush = Off |
|---|
| 112 | |
|---|
| 113 | ; Whether to enable the ability to force arguments to be passed by reference |
|---|
| 114 | ; at function call time. This method is deprecated and is likely to be |
|---|
| 115 | ; unsupported in future versions of PHP/Zend. The encouraged method of |
|---|
| 116 | ; specifying which arguments should be passed by reference is in the function |
|---|
| 117 | ; declaration. You're encouraged to try and turn this option Off and make |
|---|
| 118 | ; sure your scripts work properly with it in order to ensure they will work |
|---|
| 119 | ; with future versions of the language (you will receive a warning each time |
|---|
| 120 | ; you use this feature, and the argument will be passed by value instead of by |
|---|
| 121 | ; reference). |
|---|
| 122 | allow_call_time_pass_reference = On |
|---|
| 123 | |
|---|
| 124 | |
|---|
| 125 | ; |
|---|
| 126 | ; Safe Mode |
|---|
| 127 | ; |
|---|
| 128 | safe_mode = Off |
|---|
| 129 | |
|---|
| 130 | ; By default, Safe Mode does a UID compare check when |
|---|
| 131 | ; opening files. If you want to relax this to a GID compare, |
|---|
| 132 | ; then turn on safe_mode_gid. |
|---|
| 133 | safe_mode_gid = Off |
|---|
| 134 | |
|---|
| 135 | ; When safe_mode is on, UID/GID checks are bypassed when |
|---|
| 136 | ; including files from this directory and its subdirectories. |
|---|
| 137 | ; (directory must also be in include_path or full path must |
|---|
| 138 | ; be used when including) |
|---|
| 139 | safe_mode_include_dir = |
|---|
| 140 | |
|---|
| 141 | ; When safe_mode is on, only executables located in the safe_mode_exec_dir |
|---|
| 142 | ; will be allowed to be executed via the exec family of functions. |
|---|
| 143 | safe_mode_exec_dir = |
|---|
| 144 | |
|---|
| 145 | ; open_basedir, if set, limits all file operations to the defined directory |
|---|
| 146 | ; and below. This directive makes most sense if used in a per-directory |
|---|
| 147 | ; or per-virtualhost web server configuration file. |
|---|
| 148 | ; |
|---|
| 149 | ;open_basedir = |
|---|
| 150 | |
|---|
| 151 | ; Setting certain environment variables may be a potential security breach. |
|---|
| 152 | ; This directive contains a comma-delimited list of prefixes. In Safe Mode, |
|---|
| 153 | ; the user may only alter environment variables whose names begin with the |
|---|
| 154 | ; prefixes supplied here. By default, users will only be able to set |
|---|
| 155 | ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR). |
|---|
| 156 | ; |
|---|
| 157 | ; Note: If this directive is empty, PHP will let the user modify ANY |
|---|
| 158 | ; environment variable! |
|---|
| 159 | safe_mode_allowed_env_vars = PHP_ |
|---|
| 160 | |
|---|
| 161 | ; This directive contains a comma-delimited list of environment variables that |
|---|
| 162 | ; the end user won't be able to change using putenv(). These variables will be |
|---|
| 163 | ; protected even if safe_mode_allowed_env_vars is set to allow to change them. |
|---|
| 164 | safe_mode_protected_env_vars = LD_LIBRARY_PATH |
|---|
| 165 | |
|---|
| 166 | ; This directive allows you to disable certain functions for security reasons. |
|---|
| 167 | ; It receives a comma-delimited list of function names. This directive is |
|---|
| 168 | ; *NOT* affected by whether Safe Mode is turned On or Off. |
|---|
| 169 | disable_functions = |
|---|
| 170 | |
|---|
| 171 | ; Colors for Syntax Highlighting mode. Anything that's acceptable in |
|---|
| 172 | ; <font color="??????"> would work. |
|---|
| 173 | highlight.string = #CC0000 |
|---|
| 174 | highlight.comment = #FF9900 |
|---|
| 175 | highlight.keyword = #006600 |
|---|
| 176 | highlight.bg = #FFFFFF |
|---|
| 177 | highlight.default = #0000CC |
|---|
| 178 | highlight.html = #000000 |
|---|
| 179 | |
|---|
| 180 | |
|---|
| 181 | ; |
|---|
| 182 | ; Misc |
|---|
| 183 | ; |
|---|
| 184 | ; Decides whether PHP may expose the fact that it is installed on the server |
|---|
| 185 | ; (e.g. by adding its signature to the Web server header). It is no security |
|---|
| 186 | ; threat in any way, but it makes it possible to determine whether you use PHP |
|---|
| 187 | ; on your server or not. |
|---|
| 188 | expose_php = On |
|---|
| 189 | |
|---|
| 190 | |
|---|
| 191 | ;;;;;;;;;;;;;;;;;;; |
|---|
| 192 | ; Resource Limits ; |
|---|
| 193 | ;;;;;;;;;;;;;;;;;;; |
|---|
| 194 | |
|---|
| 195 | max_execution_time = 30 ; Maximum execution time of each script, in seconds |
|---|
| 196 | memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) |
|---|
| 197 | |
|---|
| 198 | |
|---|
| 199 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 200 | ; Error handling and logging ; |
|---|
| 201 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 202 | |
|---|
| 203 | ; error_reporting is a bit-field. Or each number up to get desired error |
|---|
| 204 | ; reporting level |
|---|
| 205 | ; E_ALL - All errors and warnings |
|---|
| 206 | ; E_ERROR - fatal run-time errors |
|---|
| 207 | ; E_WARNING - run-time warnings (non-fatal errors) |
|---|
| 208 | ; E_PARSE - compile-time parse errors |
|---|
| 209 | ; E_NOTICE - run-time notices (these are warnings which often result |
|---|
| 210 | ; from a bug in your code, but it's possible that it was |
|---|
| 211 | ; intentional (e.g., using an uninitialized variable and |
|---|
| 212 | ; relying on the fact it's automatically initialized to an |
|---|
| 213 | ; empty string) |
|---|
| 214 | ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup |
|---|
| 215 | ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's |
|---|
| 216 | ; initial startup |
|---|
| 217 | ; E_COMPILE_ERROR - fatal compile-time errors |
|---|
| 218 | ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) |
|---|
| 219 | ; E_USER_ERROR - user-generated error message |
|---|
| 220 | ; E_USER_WARNING - user-generated warning message |
|---|
| 221 | ; E_USER_NOTICE - user-generated notice message |
|---|
| 222 | ; |
|---|
| 223 | ; Examples: |
|---|
| 224 | ; |
|---|
| 225 | ; - Show all errors, except for notices |
|---|
| 226 | ; |
|---|
| 227 | ;error_reporting = E_ALL & ~E_NOTICE |
|---|
| 228 | ; |
|---|
| 229 | ; - Show only errors |
|---|
| 230 | ; |
|---|
| 231 | ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR |
|---|
| 232 | ; |
|---|
| 233 | ; - Show all errors except for notices |
|---|
| 234 | ; |
|---|
| 235 | error_reporting = E_ALL & ~E_NOTICE |
|---|
| 236 | |
|---|
| 237 | ; Print out errors (as a part of the output). For production web sites, |
|---|
| 238 | ; you're strongly encouraged to turn this feature off, and use error logging |
|---|
| 239 | ; instead (see below). Keeping display_errors enabled on a production web site |
|---|
| 240 | ; may reveal security information to end users, such as file paths on your Web |
|---|
| 241 | ; server, your database schema or other information. |
|---|
| 242 | display_errors = On |
|---|
| 243 | |
|---|
| 244 | ; Even when display_errors is on, errors that occur during PHP's startup |
|---|
| 245 | ; sequence are not displayed. It's strongly recommended to keep |
|---|
| 246 | ; display_startup_errors off, except for when debugging. |
|---|
| 247 | display_startup_errors = Off |
|---|
| 248 | |
|---|
| 249 | ; Log errors into a log file (server-specific log, stderr, or error_log (below)) |
|---|
| 250 | ; As stated above, you're strongly advised to use error logging in place of |
|---|
| 251 | ; error displaying on production web sites. |
|---|
| 252 | log_errors = Off |
|---|
| 253 | |
|---|
| 254 | ; Store the last error/warning message in $php_errormsg (boolean). |
|---|
| 255 | track_errors = Off |
|---|
| 256 | |
|---|
| 257 | ; Disable the inclusion of HTML tags in error messages. |
|---|
| 258 | ;html_errors = Off |
|---|
| 259 | |
|---|
| 260 | ; String to output before an error message. |
|---|
| 261 | ;error_prepend_string = "<font color=ff0000>" |
|---|
| 262 | |
|---|
| 263 | ; String to output after an error message. |
|---|
| 264 | ;error_append_string = "</font>" |
|---|
| 265 | |
|---|
| 266 | ; Log errors to specified file. |
|---|
| 267 | ;error_log = filename |
|---|
| 268 | |
|---|
| 269 | ; Log errors to syslog (Event Log on NT, not valid in Windows 95). |
|---|
| 270 | ;error_log = syslog |
|---|
| 271 | |
|---|
| 272 | ; Warn if the + operator is used with strings. |
|---|
| 273 | warn_plus_overloading = Off |
|---|
| 274 | |
|---|
| 275 | |
|---|
| 276 | ;;;;;;;;;;;;;;;;; |
|---|
| 277 | ; Data Handling ; |
|---|
| 278 | ;;;;;;;;;;;;;;;;; |
|---|
| 279 | ; |
|---|
| 280 | ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3 |
|---|
| 281 | |
|---|
| 282 | ; The separator used in PHP generated URLs to separate arguments. |
|---|
| 283 | ; Default is "&". |
|---|
| 284 | ;arg_separator.output = "&" |
|---|
| 285 | |
|---|
| 286 | ; List of separator(s) used by PHP to parse input URLs into variables. |
|---|
| 287 | ; Default is "&". |
|---|
| 288 | ; NOTE: Every character in this directive is considered as separator! |
|---|
| 289 | ;arg_separator.input = ";&" |
|---|
| 290 | |
|---|
| 291 | ; This directive describes the order in which PHP registers GET, POST, Cookie, |
|---|
| 292 | ; Environment and Built-in variables (G, P, C, E & S respectively, often |
|---|
| 293 | ; referred to as EGPCS or GPC). Registration is done from left to right, newer |
|---|
| 294 | ; values override older values. |
|---|
| 295 | variables_order = "EGPCS" |
|---|
| 296 | |
|---|
| 297 | ; Whether or not to register the EGPCS variables as global variables. You may |
|---|
| 298 | ; want to turn this off if you don't want to clutter your scripts' global scope |
|---|
| 299 | ; with user data. This makes most sense when coupled with track_vars - in which |
|---|
| 300 | ; case you can access all of the GPC variables through the $HTTP_*_VARS[], |
|---|
| 301 | ; variables. |
|---|
| 302 | ; |
|---|
| 303 | ; You should do your best to write your scripts so that they do not require |
|---|
| 304 | ; register_globals to be on; Using form variables as globals can easily lead |
|---|
| 305 | ; to possible security problems, if the code is not very well thought of. |
|---|
| 306 | register_globals = On |
|---|
| 307 | |
|---|
| 308 | ; This directive tells PHP whether to declare the argv&argc variables (that |
|---|
| 309 | ; would contain the GET information). If you don't use these variables, you |
|---|
| 310 | ; should turn it off for increased performance. |
|---|
| 311 | register_argc_argv = On |
|---|
| 312 | |
|---|
| 313 | ; Maximum size of POST data that PHP will accept. |
|---|
| 314 | post_max_size = 8M |
|---|
| 315 | |
|---|
| 316 | ; This directive is deprecated. Use variables_order instead. |
|---|
| 317 | gpc_order = "GPC" |
|---|
| 318 | |
|---|
| 319 | ; Magic quotes |
|---|
| 320 | ; |
|---|
| 321 | |
|---|
| 322 | ; Magic quotes for incoming GET/POST/Cookie data. |
|---|
| 323 | magic_quotes_gpc = On |
|---|
| 324 | |
|---|
| 325 | ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. |
|---|
| 326 | magic_quotes_runtime = Off |
|---|
| 327 | |
|---|
| 328 | ; Use Sybase-style magic quotes (escape ' with '' instead of \'). |
|---|
| 329 | magic_quotes_sybase = Off |
|---|
| 330 | |
|---|
| 331 | ; Automatically add files before or after any PHP document. |
|---|
| 332 | auto_prepend_file = |
|---|
| 333 | auto_append_file = |
|---|
| 334 | |
|---|
| 335 | ; As of 4.0b4, PHP always outputs a character encoding by default in |
|---|
| 336 | ; the Content-type: header. To disable sending of the charset, simply |
|---|
| 337 | ; set it to be empty. |
|---|
| 338 | ; |
|---|
| 339 | ; PHP's built-in default is text/html |
|---|
| 340 | default_mimetype = "text/html" |
|---|
| 341 | ;default_charset = "iso-8859-1" |
|---|
| 342 | |
|---|
| 343 | |
|---|
| 344 | ;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 345 | ; Paths and Directories ; |
|---|
| 346 | ;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 347 | |
|---|
| 348 | ; UNIX: "/path1:/path2" |
|---|
| 349 | ;include_path = ".:/php/includes" |
|---|
| 350 | ; |
|---|
| 351 | ; Windows: "\path1;\path2" |
|---|
| 352 | ;include_path = ".;c:\php\includes" |
|---|
| 353 | |
|---|
| 354 | ; The root of the PHP pages, used only if nonempty. |
|---|
| 355 | doc_root = |
|---|
| 356 | |
|---|
| 357 | ; The directory under which PHP opens the script using /~usernamem used only |
|---|
| 358 | ; if nonempty. |
|---|
| 359 | user_dir = |
|---|
| 360 | |
|---|
| 361 | ; Directory in which the loadable extensions (modules) reside. |
|---|
| 362 | ; extension_dir = ./ |
|---|
| 363 | |
|---|
| 364 | ; Whether or not to enable the dl() function. The dl() function does NOT work |
|---|
| 365 | ; properly in multithreaded servers, such as IIS or Zeus, and is automatically |
|---|
| 366 | ; disabled on them. |
|---|
| 367 | enable_dl = On |
|---|
| 368 | |
|---|
| 369 | |
|---|
| 370 | ;;;;;;;;;;;;;;;; |
|---|
| 371 | ; File Uploads ; |
|---|
| 372 | ;;;;;;;;;;;;;;;; |
|---|
| 373 | |
|---|
| 374 | ; Whether to allow HTTP file uploads. |
|---|
| 375 | file_uploads = On |
|---|
| 376 | |
|---|
| 377 | ; Temporary directory for HTTP uploaded files (will use system default if not |
|---|
| 378 | ; specified). |
|---|
| 379 | ;upload_tmp_dir = |
|---|
| 380 | |
|---|
| 381 | ; Maximum allowed size for uploaded files. |
|---|
| 382 | upload_max_filesize = 2M |
|---|
| 383 | |
|---|
| 384 | |
|---|
| 385 | ;;;;;;;;;;;;;;;;;; |
|---|
| 386 | ; Fopen wrappers ; |
|---|
| 387 | ;;;;;;;;;;;;;;;;;; |
|---|
| 388 | |
|---|
| 389 | ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. |
|---|
| 390 | allow_url_fopen = On |
|---|
| 391 | |
|---|
| 392 | ; Define the anonymous ftp password (your email address) |
|---|
| 393 | ;from="john@doe.com" |
|---|
| 394 | |
|---|
| 395 | |
|---|
| 396 | ;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 397 | ; Dynamic Extensions ; |
|---|
| 398 | ;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 399 | ; |
|---|
| 400 | ; If you wish to have an extension loaded automatically, use the following |
|---|
| 401 | ; syntax: |
|---|
| 402 | ; |
|---|
| 403 | ; extension=modulename.extension |
|---|
| 404 | ; |
|---|
| 405 | ; For example, on Windows: |
|---|
| 406 | ; |
|---|
| 407 | ; extension=msql.dll |
|---|
| 408 | ; |
|---|
| 409 | ; ... or under UNIX: |
|---|
| 410 | ; |
|---|
| 411 | ; extension=msql.so |
|---|
| 412 | ; |
|---|
| 413 | ; Note that it should be the name of the module only; no directory information |
|---|
| 414 | ; needs to go here. Specify the location of the extension with the |
|---|
| 415 | ; extension_dir directive above. |
|---|
| 416 | |
|---|
| 417 | |
|---|
| 418 | ;Windows Extensions |
|---|
| 419 | ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. |
|---|
| 420 | ; |
|---|
| 421 | ;extension=php_bz2.dll |
|---|
| 422 | ;extension=php_ctype.dll |
|---|
| 423 | ;extension=php_cpdf.dll |
|---|
| 424 | ;extension=php_curl.dll |
|---|
| 425 | ;extension=php_cybercash.dll |
|---|
| 426 | ;extension=php_db.dll |
|---|
| 427 | ;extension=php_dba.dll |
|---|
| 428 | ;extension=php_dbase.dll |
|---|
| 429 | ;extension=php_dbx.dll |
|---|
| 430 | ;extension=php_domxml.dll |
|---|
| 431 | ;extension=php_dotnet.dll |
|---|
| 432 | ;extension=php_exif.dll |
|---|
| 433 | ;extension=php_fbsql.dll |
|---|
| 434 | ;extension=php_fdf.dll |
|---|
| 435 | ;extension=php_filepro.dll |
|---|
| 436 | ;extension=php_gd.dll |
|---|
| 437 | ;extension=php_gettext.dll |
|---|
| 438 | ;extension=php_hyperwave.dll |
|---|
| 439 | ;extension=php_iconv.dll |
|---|
| 440 | ;extension=php_ifx.dll |
|---|
| 441 | ;extension=php_iisfunc.dll |
|---|
| 442 | ;extension=php_imap.dll |
|---|
| 443 | ;extension=php_ingres.dll |
|---|
| 444 | ;extension=php_interbase.dll |
|---|
| 445 | ;extension=php_java.dll |
|---|
| 446 | ;extension=php_ldap.dll |
|---|
| 447 | ;extension=php_mbstring.dll |
|---|
| 448 | ;extension=php_mcrypt.dll |
|---|
| 449 | ;extension=php_mhash.dll |
|---|
| 450 | ;extension=php_ming.dll |
|---|
| 451 | ;extension=php_mssql.dll |
|---|
| 452 | ;extension=php_oci8.dll |
|---|
| 453 | ;extension=php_openssl.dll |
|---|
| 454 | ;extension=php_oracle.dll |
|---|
| 455 | ;extension=php_pdf.dll |
|---|
| 456 | ;extension=php_pgsql.dll |
|---|
| 457 | ;extension=php_printer.dll |
|---|
| 458 | ;extension=php_sablot.dll |
|---|
| 459 | ;extension=php_shmop.dll |
|---|
| 460 | ;extension=php_snmp.dll |
|---|
| 461 | ;extension=php_sockets.dll |
|---|
| 462 | ;extension=php_sybase_ct.dll |
|---|
| 463 | ;extension=php_xslt.dll |
|---|
| 464 | ;extension=php_yaz.dll |
|---|
| 465 | ;extension=php_zlib.dll |
|---|
| 466 | |
|---|
| 467 | |
|---|
| 468 | ;;;;;;;;;;;;;;;;;;; |
|---|
| 469 | ; Module Settings ; |
|---|
| 470 | ;;;;;;;;;;;;;;;;;;; |
|---|
| 471 | |
|---|
| 472 | [Syslog] |
|---|
| 473 | ; Whether or not to define the various syslog variables (e.g. $LOG_PID, |
|---|
| 474 | ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In |
|---|
| 475 | ; runtime, you can define these variables by calling define_syslog_variables(). |
|---|
| 476 | define_syslog_variables = Off |
|---|
| 477 | |
|---|
| 478 | [mail function] |
|---|
| 479 | ; For Win32 only. |
|---|
| 480 | SMTP = localhost |
|---|
| 481 | |
|---|
| 482 | ; For Win32 only. |
|---|
| 483 | sendmail_from = me@localhost.com |
|---|
| 484 | |
|---|
| 485 | ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). |
|---|
| 486 | ;sendmail_path = |
|---|
| 487 | |
|---|
| 488 | [Logging] |
|---|
| 489 | ; These configuration directives are used by the example logging mechanism. |
|---|
| 490 | ; See examples/README.logging for more explanation. |
|---|
| 491 | ;logging.method = db |
|---|
| 492 | ;logging.directory = /path/to/log/directory |
|---|
| 493 | |
|---|
| 494 | [Java] |
|---|
| 495 | ;java.class.path = .\php_java.jar |
|---|
| 496 | ;java.home = c:\jdk |
|---|
| 497 | ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll |
|---|
| 498 | ;java.library.path = .\ |
|---|
| 499 | |
|---|
| 500 | [SQL] |
|---|
| 501 | sql.safe_mode = Off |
|---|
| 502 | |
|---|
| 503 | [ODBC] |
|---|
| 504 | ;odbc.default_db = Not yet implemented |
|---|
| 505 | ;odbc.default_user = Not yet implemented |
|---|
| 506 | ;odbc.default_pw = Not yet implemented |
|---|
| 507 | |
|---|
| 508 | ; Allow or prevent persistent links. |
|---|
| 509 | odbc.allow_persistent = On |
|---|
| 510 | |
|---|
| 511 | ; Check that a connection is still valid before reuse. |
|---|
| 512 | odbc.check_persistent = On |
|---|
| 513 | |
|---|
| 514 | ; Maximum number of persistent links. -1 means no limit. |
|---|
| 515 | odbc.max_persistent = -1 |
|---|
| 516 | |
|---|
| 517 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. |
|---|
| 518 | odbc.max_links = -1 |
|---|
| 519 | |
|---|
| 520 | ; Handling of LONG fields. Returns number of bytes to variables. 0 means |
|---|
| 521 | ; passthru. |
|---|
| 522 | odbc.defaultlrl = 4096 |
|---|
| 523 | |
|---|
| 524 | ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char. |
|---|
| 525 | ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation |
|---|
| 526 | ; of uodbc.defaultlrl and uodbc.defaultbinmode |
|---|
| 527 | odbc.defaultbinmode = 1 |
|---|
| 528 | |
|---|
| 529 | [MySQL] |
|---|
| 530 | ; Allow or prevent persistent links. |
|---|
| 531 | mysql.allow_persistent = On |
|---|
| 532 | |
|---|
| 533 | ; Maximum number of persistent links. -1 means no limit. |
|---|
| 534 | mysql.max_persistent = -1 |
|---|
| 535 | |
|---|
| 536 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. |
|---|
| 537 | mysql.max_links = -1 |
|---|
| 538 | |
|---|
| 539 | ; Default port number for mysql_connect(). If unset, mysql_connect() will use |
|---|
| 540 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the |
|---|
| 541 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look |
|---|
| 542 | ' at MYSQL_PORT. |
|---|
| 543 | mysql.default_port = |
|---|
| 544 | |
|---|
| 545 | ; Default socket name for local MySQL connects. If empty, uses the built-in |
|---|
| 546 | ; MySQL defaults. |
|---|
| 547 | mysql.default_socket = |
|---|
| 548 | |
|---|
| 549 | ; Default host for mysql_connect() (doesn't apply in safe mode). |
|---|
| 550 | mysql.default_host = |
|---|
| 551 | |
|---|
| 552 | ; Default user for mysql_connect() (doesn't apply in safe mode). |
|---|
| 553 | mysql.default_user = |
|---|
| 554 | |
|---|
| 555 | ; Default password for mysql_connect() (doesn't apply in safe mode). |
|---|
| 556 | ; Note that this is generally a *bad* idea to store passwords in this file. |
|---|
| 557 | ; *Any* user with PHP access can run 'echo cfg_get_var("mysql.default_password") |
|---|
| 558 | ; and reveal this password! And of course, any users with read access to this |
|---|
| 559 | ; file will be able to reveal the password as well. |
|---|
| 560 | mysql.default_password = |
|---|
| 561 | |
|---|
| 562 | [mSQL] |
|---|
| 563 | ; Allow or prevent persistent links. |
|---|
| 564 | msql.allow_persistent = On |
|---|
| 565 | |
|---|
| 566 | ; Maximum number of persistent links. -1 means no limit. |
|---|
| 567 | msql.max_persistent = -1 |
|---|
| 568 | |
|---|
| 569 | ; Maximum number of links (persistent+non persistent). -1 means no limit. |
|---|
| 570 | msql.max_links = -1 |
|---|
| 571 | |
|---|
| 572 | [PostgresSQL] |
|---|
| 573 | ; Allow or prevent persistent links. |
|---|
| 574 | pgsql.allow_persistent = On |
|---|
| 575 | |
|---|
| 576 | ; Maximum number of persistent links. -1 means no limit. |
|---|
| 577 | pgsql.max_persistent = -1 |
|---|
| 578 | |
|---|
| 579 | ; Maximum number of links (persistent+non persistent). -1 means no limit. |
|---|
| 580 | pgsql.max_links = -1 |
|---|
| 581 | |
|---|
| 582 | [Sybase] |
|---|
| 583 | ; Allow or prevent persistent links. |
|---|
| 584 | sybase.allow_persistent = On |
|---|
| 585 | |
|---|
| 586 | ; Maximum number of persistent links. -1 means no limit. |
|---|
| 587 | sybase.max_persistent = -1 |
|---|
| 588 | |
|---|
| 589 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. |
|---|
| 590 | sybase.max_links = -1 |
|---|
| 591 | |
|---|
| 592 | sybase.interface_file = "/etc/freetds/interfaces" |
|---|
| 593 | |
|---|
| 594 | ; Minimum error severity to display. |
|---|
| 595 | sybase.min_error_severity = 10 |
|---|
| 596 | |
|---|
| 597 | ; Minimum message severity to display. |
|---|
| 598 | sybase.min_message_severity = 10 |
|---|
| 599 | |
|---|
| 600 | ; Compatability mode with old versions of PHP 3.0. |
|---|
| 601 | ; If on, this will cause PHP to automatically assign types to results according |
|---|
| 602 | ; to their Sybase type, instead of treating them all as strings. This |
|---|
| 603 | ; compatability mode will probably not stay around forever, so try applying |
|---|
| 604 | ; whatever necessary changes to your code, and turn it off. |
|---|
| 605 | sybase.compatability_mode = Off |
|---|
| 606 | |
|---|
| 607 | [Sybase-CT] |
|---|
| 608 | ; Allow or prevent persistent links. |
|---|
| 609 | sybct.allow_persistent = On |
|---|
| 610 | |
|---|
| 611 | ; Maximum number of persistent links. -1 means no limit. |
|---|
| 612 | sybct.max_persistent = -1 |
|---|
| 613 | |
|---|
| 614 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. |
|---|
| 615 | sybct.max_links = -1 |
|---|
| 616 | |
|---|
| 617 | ; Minimum server message severity to display. |
|---|
| 618 | sybct.min_server_severity = 10 |
|---|
| 619 | |
|---|
| 620 | ; Minimum client message severity to display. |
|---|
| 621 | sybct.min_client_severity = 10 |
|---|
| 622 | |
|---|
| 623 | [bcmath] |
|---|
| 624 | ; Number of decimal digits for all bcmath functions. |
|---|
| 625 | bcmath.scale = 0 |
|---|
| 626 | |
|---|
| 627 | [browscap] |
|---|
| 628 | ;browscap = extra/browscap.ini |
|---|
| 629 | |
|---|
| 630 | [Informix] |
|---|
| 631 | ; Default host for ifx_connect() (doesn't apply in safe mode). |
|---|
| 632 | ifx.default_host = |
|---|
| 633 | |
|---|
| 634 | ; Default user for ifx_connect() (doesn't apply in safe mode). |
|---|
| 635 | ifx.default_user = |
|---|
| 636 | |
|---|
| 637 | ; Default password for ifx_connect() (doesn't apply in safe mode). |
|---|
| 638 | ifx.default_password = |
|---|
| 639 | |
|---|
| 640 | ; Allow or prevent persistent links. |
|---|
| 641 | ifx.allow_persistent = On |
|---|
| 642 | |
|---|
| 643 | ; Maximum number of persistent links. -1 means no limit. |
|---|
| 644 | ifx.max_persistent = -1 |
|---|
| 645 | |
|---|
| 646 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. |
|---|
| 647 | ifx.max_links = -1 |
|---|
| 648 | |
|---|
| 649 | ; If on, select statements return the contents of a text blob instead of its id. |
|---|
| 650 | ifx.textasvarchar = 0 |
|---|
| 651 | |
|---|
| 652 | ; If on, select statements return the contents of a byte blob instead of its id. |
|---|
| 653 | ifx.byteasvarchar = 0 |
|---|
| 654 | |
|---|
| 655 | ; Trailing blanks are stripped from fixed-length char columns. May help the |
|---|
| 656 | ; life of Informix SE users. |
|---|
| 657 | ifx.charasvarchar = 0 |
|---|
| 658 | |
|---|
| 659 | ; If on, the contents of text and byte blobs are dumped to a file instead of |
|---|
| 660 | ; keeping them in memory. |
|---|
| 661 | ifx.blobinfile = 0 |
|---|
| 662 | |
|---|
| 663 | ; NULL's are returned as empty strings, unless this is set to 1. In that case, |
|---|
| 664 | ; NULL's are returned as string 'NULL'. |
|---|
| 665 | ifx.nullformat = 0 |
|---|
| 666 | |
|---|
| 667 | [Session] |
|---|
| 668 | ; Handler used to store/retrieve data. |
|---|
| 669 | session.save_handler = files |
|---|
| 670 | |
|---|
| 671 | ; Argument passed to save_handler. In the case of files, this is the path |
|---|
| 672 | ; where data files are stored. Note: Windows users have to change this |
|---|
| 673 | ; variable in order to use PHP's session functions. |
|---|
| 674 | session.save_path = /var/lib/php4/ |
|---|
| 675 | |
|---|
| 676 | ; Whether to use cookies. |
|---|
| 677 | session.use_cookies = 1 |
|---|
| 678 | |
|---|
| 679 | |
|---|
| 680 | ; Name of the session (used as cookie name). |
|---|
| 681 | session.name = PHPSESSID |
|---|
| 682 | |
|---|
| 683 | ; Initialize session on request startup. |
|---|
| 684 | session.auto_start = 0 |
|---|
| 685 | |
|---|
| 686 | ; Lifetime in seconds of cookie or, if 0, until browser is restarted. |
|---|
| 687 | session.cookie_lifetime = 0 |
|---|
| 688 | |
|---|
| 689 | ; The path for which the cookie is valid. |
|---|
| 690 | session.cookie_path = / |
|---|
| 691 | |
|---|
| 692 | ; The domain for which the cookie is valid. |
|---|
| 693 | session.cookie_domain = |
|---|
| 694 | |
|---|
| 695 | ; Handler used to serialize data. php is the standard serializer of PHP. |
|---|
| 696 | session.serialize_handler = php |
|---|
| 697 | |
|---|
| 698 | ; Percentual probability that the 'garbage collection' process is started |
|---|
| 699 | ; on every session initialization. |
|---|
| 700 | session.gc_probability = 1 |
|---|
| 701 | |
|---|
| 702 | ; After this number of seconds, stored data will be seen as 'garbage' and |
|---|
| 703 | ; cleaned up by the garbage collection process. |
|---|
| 704 | session.gc_maxlifetime = 1440 |
|---|
| 705 | |
|---|
| 706 | ; Check HTTP Referer to invalidate externally stored URLs containing ids. |
|---|
| 707 | session.referer_check = |
|---|
| 708 | |
|---|
| 709 | ; How many bytes to read from the file. |
|---|
| 710 | session.entropy_length = 0 |
|---|
| 711 | |
|---|
| 712 | ; Specified here to create the session id. |
|---|
| 713 | session.entropy_file = |
|---|
| 714 | |
|---|
| 715 | ;session.entropy_length = 16 |
|---|
| 716 | |
|---|
| 717 | ;session.entropy_file = /dev/urandom |
|---|
| 718 | |
|---|
| 719 | ; Set to {nocache,private,public} to determine HTTP caching aspects. |
|---|
| 720 | session.cache_limiter = nocache |
|---|
| 721 | |
|---|
| 722 | ; Document expires after n minutes. |
|---|
| 723 | session.cache_expire = 180 |
|---|
| 724 | |
|---|
| 725 | ; use transient sid support if enabled by compiling with --enable-trans-sid. |
|---|
| 726 | session.use_trans_sid = 1 |
|---|
| 727 | |
|---|
| 728 | url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" |
|---|
| 729 | |
|---|
| 730 | [MSSQL] |
|---|
| 731 | ; Allow or prevent persistent links. |
|---|
| 732 | mssql.allow_persistent = On |
|---|
| 733 | |
|---|
| 734 | ; Maximum number of persistent links. -1 means no limit. |
|---|
| 735 | mssql.max_persistent = -1 |
|---|
| 736 | |
|---|
| 737 | ; Maximum number of links (persistent+non persistent). -1 means no limit. |
|---|
| 738 | mssql.max_links = -1 |
|---|
| 739 | |
|---|
| 740 | ; Minimum error severity to display. |
|---|
| 741 | mssql.min_error_severity = 10 |
|---|
| 742 | |
|---|
| 743 | ; Minimum message severity to display. |
|---|
| 744 | mssql.min_message_severity = 10 |
|---|
| 745 | |
|---|
| 746 | ; Compatability mode with old versions of PHP 3.0. |
|---|
| 747 | mssql.compatability_mode = Off |
|---|
| 748 | |
|---|
| 749 | ; Valid range 0 - 2147483647. Default = 4096. |
|---|
| 750 | ;mssql.textlimit = 4096 |
|---|
| 751 | |
|---|
| 752 | ; Valid range 0 - 2147483647. Default = 4096. |
|---|
| 753 | ;mssql.textsize = 4096 |
|---|
| 754 | |
|---|
| 755 | ; Limits the number of records in each batch. 0 = all records in one batch. |
|---|
| 756 | ;mssql.batchsize = 0 |
|---|
| 757 | |
|---|
| 758 | [Assertion] |
|---|
| 759 | ; Assert(expr); active by default. |
|---|
| 760 | ;assert.active = On |
|---|
| 761 | |
|---|
| 762 | ; Issue a PHP warning for each failed assertion. |
|---|
| 763 | ;assert.warning = On |
|---|
| 764 | |
|---|
| 765 | ; Don't bail out by default. |
|---|
| 766 | ;assert.bail = Off |
|---|
| 767 | |
|---|
| 768 | ; User-function to be called if an assertion fails. |
|---|
| 769 | ;assert.callback = 0 |
|---|
| 770 | |
|---|
| 771 | ; Eval the expression with current error_reporting(). Set to true if you want |
|---|
| 772 | ; error_reporting(0) around the eval(). |
|---|
| 773 | ;assert.quiet_eval = 0 |
|---|
| 774 | |
|---|
| 775 | [Ingres II] |
|---|
| 776 | ; Allow or prevent persistent links. |
|---|
| 777 | ingres.allow_persistent = On |
|---|
| 778 | |
|---|
| 779 | ; Maximum number of persistent links. -1 means no limit. |
|---|
| 780 | ingres.max_persistent = -1 |
|---|
| 781 | |
|---|
| 782 | ; Maximum number of links, including persistents. -1 means no limit. |
|---|
| 783 | ingres.max_links = -1 |
|---|
| 784 | |
|---|
| 785 | ; Default database (format: [node_id::]dbname[/srv_class]). |
|---|
| 786 | ingres.default_database = |
|---|
| 787 | |
|---|
| 788 | ; Default user. |
|---|
| 789 | ingres.default_user = |
|---|
| 790 | |
|---|
| 791 | ; Default password. |
|---|
| 792 | ingres.default_password = |
|---|
| 793 | |
|---|
| 794 | [Verisign Payflow Pro] |
|---|
| 795 | ; Default Payflow Pro server. |
|---|
| 796 | pfpro.defaulthost = "test-payflow.verisign.com" |
|---|
| 797 | |
|---|
| 798 | ; Default port to connect to. |
|---|
| 799 | pfpro.defaultport = 443 |
|---|
| 800 | |
|---|
| 801 | ; Default timeout in seconds. |
|---|
| 802 | pfpro.defaulttimeout = 30 |
|---|
| 803 | |
|---|
| 804 | ; Default proxy IP address (if required). |
|---|
| 805 | ;pfpro.proxyaddress = |
|---|
| 806 | |
|---|
| 807 | ; Default proxy port. |
|---|
| 808 | ;pfpro.proxyport = |
|---|
| 809 | |
|---|
| 810 | ; Default proxy logon. |
|---|
| 811 | ;pfpro.proxylogon = |
|---|
| 812 | |
|---|
| 813 | ; Default proxy password. |
|---|
| 814 | ;pfpro.proxypassword = |
|---|
| 815 | |
|---|
| 816 | [Sockets] |
|---|
| 817 | ; Use the system read() function instead of the php_read() wrapper. |
|---|
| 818 | sockets.use_system_read = On |
|---|
| 819 | |
|---|
| 820 | [com] |
|---|
| 821 | ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs |
|---|
| 822 | ;com.typelib_file = |
|---|
| 823 | ; allow Distributed-COM calls |
|---|
| 824 | ;com.allow_dcom = true |
|---|
| 825 | ; autoregister constants of a components typlib on com_load() |
|---|
| 826 | ;com.autoregister_typelib = true |
|---|
| 827 | ; register constants casesensitive |
|---|
| 828 | ;com.autoregister_casesensitive = false |
|---|
| 829 | ; show warnings on duplicate constat registrations |
|---|
| 830 | ;com.autoregister_verbose = true |
|---|
| 831 | |
|---|
| 832 | [Printer] |
|---|
| 833 | ;printer.default_printer = "" |
|---|
| 834 | |
|---|
| 835 | [mbstring] |
|---|
| 836 | ;mbstring.internal_encoding = EUC-JP |
|---|
| 837 | ;mbstring.http_input = auto |
|---|
| 838 | ;mbstring.http_output = SJIS |
|---|
| 839 | ;mbstring.detect_order = auto |
|---|
| 840 | ;mbstring.substitute_character = none; |
|---|
| 841 | |
|---|
| 842 | [FrontBase] |
|---|
| 843 | ;fbsql.allow_persistant = On |
|---|
| 844 | ;fbsql.autocommit = On |
|---|
| 845 | ;fbsql.default_database = |
|---|
| 846 | ;fbsql.default_database_password = |
|---|
| 847 | ;fbsql.default_host = |
|---|
| 848 | ;fbsql.default_password = |
|---|
| 849 | ;fbsql.default_user = "_SYSTEM" |
|---|
| 850 | ;fbsql.generate_warnings = Off |
|---|
| 851 | ;fbsql.max_connections = 128 |
|---|
| 852 | ;fbsql.max_links = 128 |
|---|
| 853 | ;fbsql.max_persistent = -1 |
|---|
| 854 | ;fbsql.max_results = 128 |
|---|
| 855 | ;fbsql.mbatchSize = 1000 |
|---|
| 856 | |
|---|
| 857 | ; Local Variables: |
|---|
| 858 | ; tab-width: 4 |
|---|
| 859 | ; End: |
|---|
| 860 | ;extension=curl.so |
|---|
| 861 | ;extension=domxml.so |
|---|
| 862 | ;extension=imap.so |
|---|
| 863 | ;extension=mcal.so |
|---|
| 864 | ;extension=mhash.so |
|---|
| 865 | ;extension=pgsql.so |
|---|
| 866 | ;extension=recode.so |
|---|
| 867 | ;extension=snmp.so |
|---|
| 868 | ;extension=sybase_ct.so |
|---|
| 869 | ;extension=gd.so |
|---|
| 870 | |
|---|
| 871 | extension=mysql.so |
|---|