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.

1173 lines
40 KiB

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