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.

1126 lines
38 KiB

27 years ago
27 years ago
25 years ago
27 years ago
27 years ago
27 years ago
23 years ago
23 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
24 years ago
27 years ago
27 years ago
25 years ago
27 years ago
25 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
25 years ago
27 years ago
27 years ago
27 years ago
27 years ago
25 years ago
27 years ago
25 years ago
25 years ago
25 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 this file ;
  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. ; All the values in the php.ini-dist file correspond to the builtin
  56. ; defaults (that is, if no php.ini is used, or if you delete these lines,
  57. ; the builtin defaults will be identical).
  58. ;;;;;;;;;;;;;;;;;;;;
  59. ; Language Options ;
  60. ;;;;;;;;;;;;;;;;;;;;
  61. ; Enable the PHP scripting language engine under Apache.
  62. engine = On
  63. ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
  64. ; NOTE: Using short tags should be avoided when developing applications or
  65. ; libraries that are meant for redistribution, or deployment on PHP
  66. ; servers which are not under your control, because short tags may not
  67. ; be supported on the target server. For portable, redistributable code,
  68. ; be sure not to use short tags.
  69. short_open_tag = On
  70. ; Allow ASP-style <% %> tags.
  71. asp_tags = Off
  72. ; The number of significant digits displayed in floating point numbers.
  73. precision = 12
  74. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  75. y2k_compliance = On
  76. ; Output buffering allows you to send header lines (including cookies) even
  77. ; after you send body content, at the price of slowing PHP's output layer a
  78. ; bit. You can enable output buffering during runtime by calling the output
  79. ; buffering functions. You can also enable output buffering for all files by
  80. ; setting this directive to On. If you wish to limit the size of the buffer
  81. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  82. ; a value for this directive (e.g., output_buffering=4096).
  83. output_buffering = Off
  84. ; You can redirect all of the output of your scripts to a function. For
  85. ; example, if you set output_handler to "mb_output_handler", character
  86. ; encoding will be transparently converted to the specified encoding.
  87. ; Setting any output handler automatically turns on output buffering.
  88. ; Note: People who wrote portable scripts should not depend on this ini
  89. ; directive. Instead, explicitly set the output handler using ob_start().
  90. ; Using this ini directive may cause problems unless you know what script
  91. ; is doing.
  92. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  93. ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
  94. ;output_handler =
  95. ; Transparent output compression using the zlib library
  96. ; Valid values for this option are 'off', 'on', or a specific buffer size
  97. ; to be used for compression (default is 4KB)
  98. ; Note: Resulting chunk size may vary due to nature of compression. PHP
  99. ; outputs chunks that are few hundreds bytes each as a result of
  100. ; compression. If you prefer a larger chunk size for better
  101. ; performance, enable output_buffering in addition.
  102. ; Note: You need to use zlib.output_handler instead of the standard
  103. ; output_handler, or otherwise the output will be corrupted.
  104. zlib.output_compression = Off
  105. ; You cannot specify additional output handlers if zlib.output_compression
  106. ; is activated here. This setting does the same as output_handler but in
  107. ; a different order.
  108. ;zlib.output_handler =
  109. ; Implicit flush tells PHP to tell the output layer to flush itself
  110. ; automatically after every output block. This is equivalent to calling the
  111. ; PHP function flush() after each and every call to print() or echo() and each
  112. ; and every HTML block. Turning this option on has serious performance
  113. ; implications and is generally recommended for debugging purposes only.
  114. implicit_flush = Off
  115. ; The unserialize callback function will called (with the undefind class'
  116. ; name as parameter), if the unserializer finds an undefined class
  117. ; which should be instanciated.
  118. ; A warning appears if the specified function is not defined, or if the
  119. ; function doesn't include/implement the missing class.
  120. ; So only set this entry, if you really want to implement such a
  121. ; callback-function.
  122. unserialize_callback_func=
  123. ; When floats & doubles are serialized store serialize_precision significant
  124. ; digits after the floating point. The default value ensures that when floats
  125. ; are decoded with unserialize, the data will remain the same.
  126. serialize_precision = 100
  127. ; Whether to enable the ability to force arguments to be passed by reference
  128. ; at function call time. This method is deprecated and is likely to be
  129. ; unsupported in future versions of PHP/Zend. The encouraged method of
  130. ; specifying which arguments should be passed by reference is in the function
  131. ; declaration. You're encouraged to try and turn this option Off and make
  132. ; sure your scripts work properly with it in order to ensure they will work
  133. ; with future versions of the language (you will receive a warning each time
  134. ; you use this feature, and the argument will be passed by value instead of by
  135. ; reference).
  136. allow_call_time_pass_reference = On
  137. ; Safe Mode
  138. ;
  139. safe_mode = Off
  140. ; By default, Safe Mode does a UID compare check when
  141. ; opening files. If you want to relax this to a GID compare,
  142. ; then turn on safe_mode_gid.
  143. safe_mode_gid = Off
  144. ; When safe_mode is on, UID/GID checks are bypassed when
  145. ; including files from this directory and its subdirectories.
  146. ; (directory must also be in include_path or full path must
  147. ; be used when including)
  148. safe_mode_include_dir =
  149. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  150. ; will be allowed to be executed via the exec family of functions.
  151. safe_mode_exec_dir =
  152. ; Setting certain environment variables may be a potential security breach.
  153. ; This directive contains a comma-delimited list of prefixes. In Safe Mode,
  154. ; the user may only alter environment variables whose names begin with the
  155. ; prefixes supplied here. By default, users will only be able to set
  156. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  157. ;
  158. ; Note: If this directive is empty, PHP will let the user modify ANY
  159. ; environment variable!
  160. safe_mode_allowed_env_vars = PHP_
  161. ; This directive contains a comma-delimited list of environment variables that
  162. ; the end user won't be able to change using putenv(). These variables will be
  163. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  164. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  165. ; open_basedir, if set, limits all file operations to the defined directory
  166. ; and below. This directive makes most sense if used in a per-directory
  167. ; or per-virtualhost web server configuration file. This directive is
  168. ; *NOT* affected by whether Safe Mode is turned On or Off.
  169. ;open_basedir =
  170. ; This directive allows you to disable certain functions for security reasons.
  171. ; It receives a comma-delimited list of function names. This directive is
  172. ; *NOT* affected by whether Safe Mode is turned On or Off.
  173. disable_functions =
  174. ; This directive allows you to disable certain classes for security reasons.
  175. ; It receives a comma-delimited list of class names. This directive is
  176. ; *NOT* affected by whether Safe Mode is turned On or Off.
  177. disable_classes =
  178. ; Colors for Syntax Highlighting mode. Anything that's acceptable in
  179. ; <font color="??????"> would work.
  180. ;highlight.string = #DD0000
  181. ;highlight.comment = #FF9900
  182. ;highlight.keyword = #007700
  183. ;highlight.bg = #FFFFFF
  184. ;highlight.default = #0000BB
  185. ;highlight.html = #000000
  186. ;
  187. ; Misc
  188. ;
  189. ; Decides whether PHP may expose the fact that it is installed on the server
  190. ; (e.g. by adding its signature to the Web server header). It is no security
  191. ; threat in any way, but it makes it possible to determine whether you use PHP
  192. ; on your server or not.
  193. expose_php = On
  194. ;;;;;;;;;;;;;;;;;;;
  195. ; Resource Limits ;
  196. ;;;;;;;;;;;;;;;;;;;
  197. max_execution_time = 30 ; Maximum execution time of each script, in seconds
  198. max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
  199. memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
  200. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  201. ; Error handling and logging ;
  202. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  203. ; error_reporting is a bit-field. Or each number up to get desired error
  204. ; reporting level
  205. ; E_ALL - All errors and warnings
  206. ; E_ERROR - fatal run-time errors
  207. ; E_WARNING - run-time warnings (non-fatal errors)
  208. ; E_PARSE - compile-time parse errors
  209. ; E_NOTICE - run-time notices (these are warnings which often result
  210. ; from a bug in your code, but it's possible that it was
  211. ; intentional (e.g., using an uninitialized variable and
  212. ; relying on the fact it's automatically initialized to an
  213. ; empty string)
  214. ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
  215. ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
  216. ; initial startup
  217. ; E_COMPILE_ERROR - fatal compile-time errors
  218. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  219. ; E_USER_ERROR - user-generated error message
  220. ; E_USER_WARNING - user-generated warning message
  221. ; E_USER_NOTICE - user-generated notice message
  222. ;
  223. ; Examples:
  224. ;
  225. ; - Show all errors, except for notices
  226. ;
  227. ;error_reporting = E_ALL & ~E_NOTICE
  228. ;
  229. ; - Show only errors
  230. ;
  231. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  232. ;
  233. ; - Show all errors except for notices
  234. ;
  235. error_reporting = E_ALL & ~E_NOTICE
  236. ; 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 EGPCS variables as global variables. You may
  304. ; want to turn this off if you don't want to clutter your scripts' global scope
  305. ; with user data. This makes most sense when coupled with track_vars - in which
  306. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  307. ; variables.
  308. ;
  309. ; You should do your best to write your scripts so that they do not require
  310. ; register_globals to be on; Using form variables as globals can easily lead
  311. ; to possible security problems, if the code is not very well thought of.
  312. register_globals = Off
  313. ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
  314. ; and friends. If you're not using them, it's recommended to turn them off,
  315. ; for performance reasons.
  316. register_long_arrays = On
  317. ; This directive tells PHP whether to declare the argv&argc variables (that
  318. ; would contain the GET information). If you don't use these variables, you
  319. ; should turn it off for increased performance.
  320. register_argc_argv = On
  321. ; Maximum size of POST data that PHP will accept.
  322. post_max_size = 8M
  323. ; This directive is deprecated. Use variables_order instead.
  324. gpc_order = "GPC"
  325. ; Magic quotes
  326. ;
  327. ; Magic quotes for incoming GET/POST/Cookie data.
  328. magic_quotes_gpc = On
  329. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  330. magic_quotes_runtime = Off
  331. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  332. magic_quotes_sybase = Off
  333. ; Automatically add files before or after any PHP document.
  334. auto_prepend_file =
  335. auto_append_file =
  336. ; As of 4.0b4, PHP always outputs a character encoding by default in
  337. ; the Content-type: header. To disable sending of the charset, simply
  338. ; set it to be empty.
  339. ;
  340. ; PHP's built-in default is text/html
  341. default_mimetype = "text/html"
  342. ;default_charset = "iso-8859-1"
  343. ; Always populate the $HTTP_RAW_POST_DATA variable.
  344. ;always_populate_raw_post_data = On
  345. ;;;;;;;;;;;;;;;;;;;;;;;;;
  346. ; Paths and Directories ;
  347. ;;;;;;;;;;;;;;;;;;;;;;;;;
  348. ; UNIX: "/path1:/path2"
  349. ;include_path = ".:/php/includes"
  350. ;
  351. ; Windows: "\path1;\path2"
  352. ;include_path = ".;c:\php\includes"
  353. ; The root of the PHP pages, used only if nonempty.
  354. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  355. ; if you are running php as a CGI under any web server (other than IIS)
  356. ; see documentation for security issues. The alternate is to use the
  357. ; cgi.force_redirect configuration below
  358. doc_root =
  359. ; The directory under which PHP opens the script using /~username used only
  360. ; if nonempty.
  361. user_dir =
  362. ; Directory in which the loadable extensions (modules) reside.
  363. extension_dir = "./"
  364. ; Whether or not to enable the dl() function. The dl() function does NOT work
  365. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  366. ; disabled on them.
  367. enable_dl = On
  368. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  369. ; most web servers. Left undefined, PHP turns this on by default. You can
  370. ; turn it off here AT YOUR OWN RISK
  371. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  372. ; cgi.force_redirect = 1
  373. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  374. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  375. ; will look for to know it is OK to continue execution. Setting this variable MAY
  376. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  377. ; cgi.redirect_status_env = ;
  378. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  379. ; security tokens of the calling client. This allows IIS to define the
  380. ; security context that the request runs under. mod_fastcgi under Apache
  381. ; does not currently support this feature (03/17/2002)
  382. ; Set to 1 if running under IIS. Default is zero.
  383. ; fastcgi.impersonate = 1;
  384. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  385. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  386. ; is supported by Apache. When this option is set to 1 PHP will send
  387. ; RFC2616 compliant header.
  388. ; Set to 1 if running under IIS. Default is zero.
  389. ;cgi.rfc2616_headers = 0
  390. ;;;;;;;;;;;;;;;;
  391. ; File Uploads ;
  392. ;;;;;;;;;;;;;;;;
  393. ; Whether to allow HTTP file uploads.
  394. file_uploads = On
  395. ; Temporary directory for HTTP uploaded files (will use system default if not
  396. ; specified).
  397. ;upload_tmp_dir =
  398. ; Maximum allowed size for uploaded files.
  399. upload_max_filesize = 2M
  400. ;;;;;;;;;;;;;;;;;;
  401. ; Fopen wrappers ;
  402. ;;;;;;;;;;;;;;;;;;
  403. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  404. allow_url_fopen = On
  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 MySQL and ODBC support is now built in, so no dll is needed for it.
  439. ;
  440. ;extension=php_bz2.dll
  441. ;extension=php_cpdf.dll
  442. ;extension=php_crack.dll
  443. ;extension=php_curl.dll
  444. ;extension=php_db.dll
  445. ;extension=php_dba.dll
  446. ;extension=php_dbase.dll
  447. ;extension=php_dbx.dll
  448. ;extension=php_domxml.dll
  449. ;extension=php_exif.dll
  450. ;extension=php_fdf.dll
  451. ;extension=php_filepro.dll
  452. ;extension=php_gd2.dll
  453. ;extension=php_gettext.dll
  454. ;extension=php_hyperwave.dll
  455. ;extension=php_iconv.dll
  456. ;extension=php_ifx.dll
  457. ;extension=php_iisfunc.dll
  458. ;extension=php_imap.dll
  459. ;extension=php_interbase.dll
  460. ;extension=php_java.dll
  461. ;extension=php_ldap.dll
  462. ;extension=php_mbstring.dll
  463. ;extension=php_mcrypt.dll
  464. ;extension=php_mhash.dll
  465. ;extension=php_mime_magic.dll
  466. ;extension=php_ming.dll
  467. ;extension=php_mssql.dll
  468. ;extension=php_msql.dll
  469. ;extension=php_oci8.dll
  470. ;extension=php_openssl.dll
  471. ;extension=php_oracle.dll
  472. ;extension=php_pdf.dll
  473. ;extension=php_pgsql.dll
  474. ;extension=php_printer.dll
  475. ;extension=php_shmop.dll
  476. ;extension=php_snmp.dll
  477. ;extension=php_sockets.dll
  478. ;extension=php_sybase_ct.dll
  479. ;extension=php_w32api.dll
  480. ;extension=php_xmlrpc.dll
  481. ;extension=php_xslt.dll
  482. ;extension=php_yaz.dll
  483. ;extension=php_zip.dll
  484. ;;;;;;;;;;;;;;;;;;;
  485. ; Module Settings ;
  486. ;;;;;;;;;;;;;;;;;;;
  487. [Syslog]
  488. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  489. ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
  490. ; runtime, you can define these variables by calling define_syslog_variables().
  491. define_syslog_variables = Off
  492. [mail function]
  493. ; For Win32 only.
  494. SMTP = localhost
  495. ; For Win32 only.
  496. sendmail_from = me@localhost.com
  497. ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
  498. ;sendmail_path =
  499. [Java]
  500. ;java.class.path = .\php_java.jar
  501. ;java.home = c:\jdk
  502. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll
  503. ;java.library.path = .\
  504. [SQL]
  505. sql.safe_mode = Off
  506. [ODBC]
  507. ;odbc.default_db = Not yet implemented
  508. ;odbc.default_user = Not yet implemented
  509. ;odbc.default_pw = Not yet implemented
  510. ; Allow or prevent persistent links.
  511. odbc.allow_persistent = On
  512. ; Check that a connection is still valid before reuse.
  513. odbc.check_persistent = On
  514. ; Maximum number of persistent links. -1 means no limit.
  515. odbc.max_persistent = -1
  516. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  517. odbc.max_links = -1
  518. ; Handling of LONG fields. Returns number of bytes to variables. 0 means
  519. ; passthru.
  520. odbc.defaultlrl = 4096
  521. ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
  522. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  523. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  524. odbc.defaultbinmode = 1
  525. [MySQL]
  526. ; Allow or prevent persistent links.
  527. mysql.allow_persistent = On
  528. ; Maximum number of persistent links. -1 means no limit.
  529. mysql.max_persistent = -1
  530. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  531. mysql.max_links = -1
  532. ; Default port number for mysql_connect(). If unset, mysql_connect() will use
  533. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  534. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  535. ; at MYSQL_PORT.
  536. mysql.default_port =
  537. ; Default socket name for local MySQL connects. If empty, uses the built-in
  538. ; MySQL defaults.
  539. mysql.default_socket =
  540. ; Default host for mysql_connect() (doesn't apply in safe mode).
  541. mysql.default_host =
  542. ; Default user for mysql_connect() (doesn't apply in safe mode).
  543. mysql.default_user =
  544. ; Default password for mysql_connect() (doesn't apply in safe mode).
  545. ; Note that this is generally a *bad* idea to store passwords in this file.
  546. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  547. ; and reveal this password! And of course, any users with read access to this
  548. ; file will be able to reveal the password as well.
  549. mysql.default_password =
  550. ; Maximum time (in secondes) for connect timeout. -1 means no limimt
  551. mysql.connect_timeout = -1
  552. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  553. ; SQL-Erros will be displayed.
  554. mysql.trace_mode = Off
  555. [mSQL]
  556. ; Allow or prevent persistent links.
  557. msql.allow_persistent = On
  558. ; Maximum number of persistent links. -1 means no limit.
  559. msql.max_persistent = -1
  560. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  561. msql.max_links = -1
  562. [PostgresSQL]
  563. ; Allow or prevent persistent links.
  564. pgsql.allow_persistent = On
  565. ; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
  566. pgsql.auto_reset_persistent = Off
  567. ; Maximum number of persistent links. -1 means no limit.
  568. pgsql.max_persistent = -1
  569. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  570. pgsql.max_links = -1
  571. ; Ignore PostgreSQL backends Notice message or not.
  572. pgsql.ignore_notice = 0
  573. ; Log PostgreSQL backends Noitce message or not.
  574. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  575. pgsql.log_notice = 0
  576. [Sybase]
  577. ; Allow or prevent persistent links.
  578. sybase.allow_persistent = On
  579. ; Maximum number of persistent links. -1 means no limit.
  580. sybase.max_persistent = -1
  581. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  582. sybase.max_links = -1
  583. ;sybase.interface_file = "/usr/sybase/interfaces"
  584. ; Minimum error severity to display.
  585. sybase.min_error_severity = 10
  586. ; Minimum message severity to display.
  587. sybase.min_message_severity = 10
  588. ; Compatability mode with old versions of PHP 3.0.
  589. ; If on, this will cause PHP to automatically assign types to results according
  590. ; to their Sybase type, instead of treating them all as strings. This
  591. ; compatability mode will probably not stay around forever, so try applying
  592. ; whatever necessary changes to your code, and turn it off.
  593. sybase.compatability_mode = Off
  594. [Sybase-CT]
  595. ; Allow or prevent persistent links.
  596. sybct.allow_persistent = On
  597. ; Maximum number of persistent links. -1 means no limit.
  598. sybct.max_persistent = -1
  599. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  600. sybct.max_links = -1
  601. ; Minimum server message severity to display.
  602. sybct.min_server_severity = 10
  603. ; Minimum client message severity to display.
  604. sybct.min_client_severity = 10
  605. [dbx]
  606. ; returned column names can be converted for compatibility reasons
  607. ; possible values for dbx.colnames_case are
  608. ; "unchanged" (default, if not set)
  609. ; "lowercase"
  610. ; "uppercase"
  611. ; the recommended default is either upper- or lowercase, but
  612. ; unchanged is currently set for backwards compatibility
  613. dbx.colnames_case = "unchanged"
  614. [bcmath]
  615. ; Number of decimal digits for all bcmath functions.
  616. bcmath.scale = 0
  617. [browscap]
  618. ;browscap = extra/browscap.ini
  619. [Informix]
  620. ; Default host for ifx_connect() (doesn't apply in safe mode).
  621. ifx.default_host =
  622. ; Default user for ifx_connect() (doesn't apply in safe mode).
  623. ifx.default_user =
  624. ; Default password for ifx_connect() (doesn't apply in safe mode).
  625. ifx.default_password =
  626. ; Allow or prevent persistent links.
  627. ifx.allow_persistent = On
  628. ; Maximum number of persistent links. -1 means no limit.
  629. ifx.max_persistent = -1
  630. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  631. ifx.max_links = -1
  632. ; If on, select statements return the contents of a text blob instead of its id.
  633. ifx.textasvarchar = 0
  634. ; If on, select statements return the contents of a byte blob instead of its id.
  635. ifx.byteasvarchar = 0
  636. ; Trailing blanks are stripped from fixed-length char columns. May help the
  637. ; life of Informix SE users.
  638. ifx.charasvarchar = 0
  639. ; If on, the contents of text and byte blobs are dumped to a file instead of
  640. ; keeping them in memory.
  641. ifx.blobinfile = 0
  642. ; NULL's are returned as empty strings, unless this is set to 1. In that case,
  643. ; NULL's are returned as string 'NULL'.
  644. ifx.nullformat = 0
  645. [Session]
  646. ; Handler used to store/retrieve data.
  647. session.save_handler = files
  648. ; Argument passed to save_handler. In the case of files, this is the path
  649. ; where data files are stored. Note: Windows users have to change this
  650. ; variable in order to use PHP's session functions.
  651. ;
  652. ; As of PHP 4.0.1, you can define the path as:
  653. ;
  654. ; session.save_path = "N;/path"
  655. ;
  656. ; where N is an integer. Instead of storing all the session files in
  657. ; /path, what this will do is use subdirectories N-levels deep, and
  658. ; store the session data in those directories. This is useful if you
  659. ; or your OS have problems with lots of files in one directory, and is
  660. ; a more efficient layout for servers that handle lots of sessions.
  661. ;
  662. ; NOTE 1: PHP will not create this directory structure automatically.
  663. ; You can use the script in the ext/session dir for that purpose.
  664. ; NOTE 2: See the section on garbage collection below if you choose to
  665. ; use subdirectories for session storage
  666. ;
  667. ; The file storage module creates files using mode 600 by default.
  668. ; You can change that by using
  669. ;
  670. ; session.save_path = "N;MODE;/path"
  671. ;
  672. ; where MODE is the octal representation of the mode. Note that this
  673. ; does not overwrite the process's umask.
  674. session.save_path = "/tmp"
  675. ; Whether to use cookies.
  676. session.use_cookies = 1
  677. ; This option enables administrators to make their users invulnerable to
  678. ; attacks which involve passing session ids in URLs; defaults to 0.
  679. ; session.use_only_cookies = 1
  680. ; Name of the session (used as cookie name).
  681. session.name = PHPSESSID
  682. ; Initialize session on request startup.
  683. session.auto_start = 0
  684. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  685. session.cookie_lifetime = 0
  686. ; The path for which the cookie is valid.
  687. session.cookie_path = /
  688. ; The domain for which the cookie is valid.
  689. session.cookie_domain =
  690. ; Handler used to serialize data. php is the standard serializer of PHP.
  691. session.serialize_handler = php
  692. ; Define the probability that the 'garbage collection' process is started
  693. ; on every session initialization.
  694. ; The probability is calculated by using gc_probability/gc_divisor,
  695. ; e.g. 1/100 means there is a 1% chance that the GC process starts
  696. ; on each request.
  697. session.gc_probability = 1
  698. session.gc_divisor = 100
  699. ; After this number of seconds, stored data will be seen as 'garbage' and
  700. ; cleaned up by the garbage collection process.
  701. session.gc_maxlifetime = 1440
  702. ; NOTE: If you are using the subdirectory option for storing session files
  703. ; (see session.save_path above), then garbage collection does *not*
  704. ; happen automatically. You will need to do your own garbage
  705. ; collection through a shell script, cron entry, or some other method.
  706. ; For example, the following script would is the equivalent of
  707. ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  708. ; cd /path/to/sessions; find -cmin +24 | xargs rm
  709. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  710. ; to initialize a session variable in the global scope, albeit register_globals
  711. ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
  712. ; You can disable the feature and the warning seperately. At this time,
  713. ; the warning is only displayed, if bug_compat_42 is enabled.
  714. session.bug_compat_42 = 1
  715. session.bug_compat_warn = 1
  716. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  717. ; HTTP_REFERER has to contain this substring for the session to be
  718. ; considered as valid.
  719. session.referer_check =
  720. ; How many bytes to read from the file.
  721. session.entropy_length = 0
  722. ; Specified here to create the session id.
  723. session.entropy_file =
  724. ;session.entropy_length = 16
  725. ;session.entropy_file = /dev/urandom
  726. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  727. ; or leave this empty to avoid sending anti-caching headers.
  728. session.cache_limiter = nocache
  729. ; Document expires after n minutes.
  730. session.cache_expire = 180
  731. ; trans sid support is disabled by default.
  732. ; Use of trans sid may risk your users security.
  733. ; Use this option with caution.
  734. ; - User may send URL contains active session ID
  735. ; to other person via. email/irc/etc.
  736. ; - URL that contains active session ID may be stored
  737. ; in publically accessible computer.
  738. ; - User may access your site with the same session ID
  739. ; always using URL stored in browser's history or bookmarks.
  740. session.use_trans_sid = 0
  741. ; Select a hash function
  742. ; 0: MD5 (128 bits)
  743. ; 1: SHA-1 (160 bits)
  744. session.hash_function = 0
  745. ; Define how many bits are stored in each character when converting
  746. ; the binary hash data to something readable.
  747. ;
  748. ; 4 bits: 0-9, a-f
  749. ; 5 bits: 0-9, a-v
  750. ; 6 bits: 0-9, a-z, A-Z, "-", ","
  751. session.hash_bits_per_character = 4
  752. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  753. ; form/fieldset are special; if you include them here, the rewriter will
  754. ; add a hidden <input> field with the info which is otherwise appended
  755. ; to URLs. If you want XHTML conformity, remove the form entry.
  756. ; Note that all valid entries require a "=", even if no value follows.
  757. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
  758. [MSSQL]
  759. ; Allow or prevent persistent links.
  760. mssql.allow_persistent = On
  761. ; Maximum number of persistent links. -1 means no limit.
  762. mssql.max_persistent = -1
  763. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  764. mssql.max_links = -1
  765. ; Minimum error severity to display.
  766. mssql.min_error_severity = 10
  767. ; Minimum message severity to display.
  768. mssql.min_message_severity = 10
  769. ; Compatability mode with old versions of PHP 3.0.
  770. mssql.compatability_mode = Off
  771. ; Valid range 0 - 2147483647. Default = 4096.
  772. ;mssql.textlimit = 4096
  773. ; Valid range 0 - 2147483647. Default = 4096.
  774. ;mssql.textsize = 4096
  775. ; Limits the number of records in each batch. 0 = all records in one batch.
  776. ;mssql.batchsize = 0
  777. ; Use NT authentication when connecting to the server
  778. mssql.secure_connection = Off
  779. ; Specify max number of processes. Default = 25
  780. ;mssql.max_procs = 25
  781. [Assertion]
  782. ; Assert(expr); active by default.
  783. ;assert.active = On
  784. ; Issue a PHP warning for each failed assertion.
  785. ;assert.warning = On
  786. ; Don't bail out by default.
  787. ;assert.bail = Off
  788. ; User-function to be called if an assertion fails.
  789. ;assert.callback = 0
  790. ; Eval the expression with current error_reporting(). Set to true if you want
  791. ; error_reporting(0) around the eval().
  792. ;assert.quiet_eval = 0
  793. [Ingres II]
  794. ; Allow or prevent persistent links.
  795. ingres.allow_persistent = On
  796. ; Maximum number of persistent links. -1 means no limit.
  797. ingres.max_persistent = -1
  798. ; Maximum number of links, including persistents. -1 means no limit.
  799. ingres.max_links = -1
  800. ; Default database (format: [node_id::]dbname[/srv_class]).
  801. ingres.default_database =
  802. ; Default user.
  803. ingres.default_user =
  804. ; Default password.
  805. ingres.default_password =
  806. [Verisign Payflow Pro]
  807. ; Default Payflow Pro server.
  808. pfpro.defaulthost = "test-payflow.verisign.com"
  809. ; Default port to connect to.
  810. pfpro.defaultport = 443
  811. ; Default timeout in seconds.
  812. pfpro.defaulttimeout = 30
  813. ; Default proxy IP address (if required).
  814. ;pfpro.proxyaddress =
  815. ; Default proxy port.
  816. ;pfpro.proxyport =
  817. ; Default proxy logon.
  818. ;pfpro.proxylogon =
  819. ; Default proxy password.
  820. ;pfpro.proxypassword =
  821. [Sockets]
  822. ; Use the system read() function instead of the php_read() wrapper.
  823. sockets.use_system_read = On
  824. [com]
  825. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  826. ;com.typelib_file =
  827. ; allow Distributed-COM calls
  828. ;com.allow_dcom = true
  829. ; autoregister constants of a components typlib on com_load()
  830. ;com.autoregister_typelib = true
  831. ; register constants casesensitive
  832. ;com.autoregister_casesensitive = false
  833. ; show warnings on duplicate constat registrations
  834. ;com.autoregister_verbose = true
  835. [Printer]
  836. ;printer.default_printer = ""
  837. [mbstring]
  838. ; language for internal character representation.
  839. ;mbstring.language = Japanese
  840. ; internal/script encoding.
  841. ; Some encoding cannot work as internal encoding.
  842. ; (e.g. SJIS, BIG5, ISO-2022-*)
  843. ;mbstring.internal_encoding = EUC-JP
  844. ; http input encoding.
  845. ;mbstring.http_input = auto
  846. ; http output encoding. mb_output_handler must be
  847. ; registered as output buffer to function
  848. ;mbstring.http_output = SJIS
  849. ; enable automatic encoding translation accoding to
  850. ; mbstring.internal_encoding setting. Input chars are
  851. ; converted to internal encoding by setting this to On.
  852. ; Note: Do _not_ use automatic encoding translation for
  853. ; portable libs/applications.
  854. ;mbstring.encoding_translation = Off
  855. ; automatic encoding detection order.
  856. ; auto means
  857. ;mbstring.detect_order = auto
  858. ; substitute_character used when character cannot be converted
  859. ; one from another
  860. ;mbstring.substitute_character = none;
  861. ; overload(replace) single byte functions by mbstring functions.
  862. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  863. ; etc. Possible values are 0,1,2,4 or combination of them.
  864. ; For example, 7 for overload everything.
  865. ; 0: No overload
  866. ; 1: Overload mail() function
  867. ; 2: Overload str*() functions
  868. ; 4: Overload ereg*() functions
  869. ;mbstring.func_overload = 0
  870. [FrontBase]
  871. ;fbsql.allow_persistent = On
  872. ;fbsql.autocommit = On
  873. ;fbsql.default_database =
  874. ;fbsql.default_database_password =
  875. ;fbsql.default_host =
  876. ;fbsql.default_password =
  877. ;fbsql.default_user = "_SYSTEM"
  878. ;fbsql.generate_warnings = Off
  879. ;fbsql.max_connections = 128
  880. ;fbsql.max_links = 128
  881. ;fbsql.max_persistent = -1
  882. ;fbsql.max_results = 128
  883. ;fbsql.batchSize = 1000
  884. [Crack]
  885. ; Modify the setting below to match the directory location of the cracklib
  886. ; dictionary files. Include the base filename, but not the file extension.
  887. ; crack.default_dictionary = "c:\php\lib\cracklib_dict"
  888. [exif]
  889. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  890. ; With mbstring support this will automatically be converted into the encoding
  891. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  892. ; is used. For the decode settings you can distinguish between motorola and
  893. ; intel byte order. A decode setting cannot be empty.
  894. ;exif.encode_unicode = ISO-8859-15
  895. ;exif.decode_unicode_motorola = UCS-2BE
  896. ;exif.decode_unicode_intel = UCS-2LE
  897. ;exif.encode_jis =
  898. ;exif.decode_jis_motorola = JIS
  899. ;exif.decode_jis_intel = JIS
  900. ; Local Variables:
  901. ; tab-width: 4
  902. ; End: