You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1366 lines
49 KiB

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