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.

1187 lines
41 KiB

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