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.

1155 lines
39 KiB

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