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.

1152 lines
40 KiB

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