home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / php.ini-recommended < prev    next >
INI File  |  2007-12-20  |  50KB  |  1,336 lines

  1. [PHP]
  2.  
  3. ;;;;;;;;;;;;;;;;;;;
  4. ; About php.ini   ;
  5. ;;;;;;;;;;;;;;;;;;;
  6. ; This file controls many aspects of PHP's behavior.  In order for PHP to
  7. ; read it, it must be named 'php.ini'.  PHP looks for it in the current
  8. ; working directory, in the path designated by the environment variable
  9. ; PHPRC, and in the path that was defined in compile time (in that order).
  10. ; Under Windows, the compile-time path is the Windows directory.  The
  11. ; path in which the php.ini file is looked for can be overridden using
  12. ; the -c argument in command line mode.
  13. ;
  14. ; The syntax of the file is extremely simple.  Whitespace and Lines
  15. ; beginning with a semicolon are silently ignored (as you probably guessed).
  16. ; Section headers (e.g. [Foo]) are also silently ignored, even though
  17. ; they might mean something in the future.
  18. ;
  19. ; Directives are specified using the following syntax:
  20. ; directive = value
  21. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
  22. ;
  23. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
  24. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
  25. ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
  26. ;
  27. ; Expressions in the INI file are limited to bitwise operators and parentheses:
  28. ; |        bitwise OR
  29. ; &        bitwise AND
  30. ; ~        bitwise NOT
  31. ; !        boolean NOT
  32. ;
  33. ; Boolean flags can be turned on using the values 1, On, True or Yes.
  34. ; They can be turned off using the values 0, Off, False or No.
  35. ;
  36. ; An empty string can be denoted by simply not writing anything after the equal
  37. ; sign, or by using the None keyword:
  38. ;
  39. ;  foo =         ; sets foo to an empty string
  40. ;  foo = none    ; sets foo to an empty string
  41. ;  foo = "none"  ; sets foo to the string 'none'
  42. ;
  43. ; If you use constants in your value, and these constants belong to a
  44. ; dynamically loaded extension (either a PHP extension or a Zend extension),
  45. ; you may only use these constants *after* the line that loads the extension.
  46. ;
  47. ;;;;;;;;;;;;;;;;;;;
  48. ; About this file ;
  49. ;;;;;;;;;;;;;;;;;;;
  50. ; This is the recommended, PHP 5-style version of the php.ini-dist file.  It
  51. ; sets some non standard settings, that make PHP more efficient, more secure,
  52. ; and encourage cleaner coding.
  53. ;
  54. ; The price is that with these settings, PHP may be incompatible with some
  55. ; applications, and sometimes, more difficult to develop with.  Using this
  56. ; file is warmly recommended for production sites.  As all of the changes from
  57. ; the standard settings are thoroughly documented, you can go over each one,
  58. ; and decide whether you want to use it or not.
  59. ;
  60. ; For general information about the php.ini file, please consult the php.ini-dist
  61. ; file, included in your PHP distribution.
  62. ;
  63. ; This file is different from the php.ini-dist file in the fact that it features
  64. ; different values for several directives, in order to improve performance, while
  65. ; possibly breaking compatibility with the standard out-of-the-box behavior of
  66. ; PHP.  Please make sure you read what's different, and modify your scripts
  67. ; accordingly, if you decide to use this file instead.
  68. ;
  69. ; - register_long_arrays = Off     [Performance]
  70. ;     Disables registration of the older (and deprecated) long predefined array
  71. ;     variables ($HTTP_*_VARS).  Instead, use the superglobals that were
  72. ;     introduced in PHP 4.1.0
  73. ; - display_errors = Off           [Security]
  74. ;     With this directive set to off, errors that occur during the execution of
  75. ;     scripts will no longer be displayed as a part of the script output, and thus,
  76. ;     will no longer be exposed to remote users.  With some errors, the error message
  77. ;     content may expose information about your script, web server, or database
  78. ;     server that may be exploitable for hacking.  Production sites should have this
  79. ;     directive set to off.
  80. ; - log_errors = On                [Security]
  81. ;     This directive complements the above one.  Any errors that occur during the
  82. ;     execution of your script will be logged (typically, to your server's error log,
  83. ;     but can be configured in several ways).  Along with setting display_errors to off,
  84. ;     this setup gives you the ability to fully understand what may have gone wrong,
  85. ;     without exposing any sensitive information to remote users.
  86. ; - output_buffering = 4096        [Performance]
  87. ;     Set a 4KB output buffer.  Enabling output buffering typically results in less
  88. ;     writes, and sometimes less packets sent on the wire, which can often lead to
  89. ;     better performance.  The gain this directive actually yields greatly depends
  90. ;     on which Web server you're working with, and what kind of scripts you're using.
  91. ; - register_argc_argv = Off       [Performance]
  92. ;     Disables registration of the somewhat redundant $argv and $argc global
  93. ;     variables.
  94. ; - magic_quotes_gpc = Off         [Performance]
  95. ;     Input data is no longer escaped with slashes so that it can be sent into
  96. ;     SQL databases without further manipulation.  Instead, you should use the
  97. ;     function addslashes() on each input element you wish to send to a database.
  98. ; - variables_order = "GPCS"       [Performance]
  99. ;     The environment variables are not hashed into the $_ENV.  To access
  100. ;     environment variables, you can use getenv() instead.
  101. ; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
  102. ;     By default, PHP suppresses errors of type E_NOTICE.  These error messages
  103. ;     are emitted for non-critical errors, but that could be a symptom of a bigger
  104. ;     problem.  Most notably, this will cause error messages about the use
  105. ;     of uninitialized variables to be displayed.
  106. ; - allow_call_time_pass_reference = Off     [Code cleanliness]
  107. ;     It's not possible to decide to force a variable to be passed by reference
  108. ;     when calling a function.  The PHP 4 style to do this is by making the
  109. ;     function require the relevant argument by reference.
  110. ; - short_open_tag = Off           [Portability]
  111. ;     Using short tags is discouraged when developing code meant for redistribution
  112. ;     since short tags may not be supported on the target server.
  113.  
  114. ;;;;;;;;;;;;;;;;;;;;
  115. ; Language Options ;
  116. ;;;;;;;;;;;;;;;;;;;;
  117.  
  118. ; Enable the PHP scripting language engine under Apache.
  119. engine = On
  120.  
  121. ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
  122. zend.ze1_compatibility_mode = Off
  123.  
  124. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
  125. ; NOTE: Using short tags should be avoided when developing applications or
  126. ; libraries that are meant for redistribution, or deployment on PHP
  127. ; servers which are not under your control, because short tags may not
  128. ; be supported on the target server. For portable, redistributable code,
  129. ; be sure not to use short tags.
  130. short_open_tag = Off
  131.  
  132. ; Allow ASP-style <% %> tags.
  133. asp_tags = Off
  134.  
  135. ; The number of significant digits displayed in floating point numbers.
  136. precision    =  14
  137.  
  138. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  139. y2k_compliance = On
  140.  
  141. ; Output buffering allows you to send header lines (including cookies) even
  142. ; after you send body content, at the price of slowing PHP's output layer a
  143. ; bit.  You can enable output buffering during runtime by calling the output
  144. ; buffering functions.  You can also enable output buffering for all files by
  145. ; setting this directive to On.  If you wish to limit the size of the buffer
  146. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  147. ; a value for this directive (e.g., output_buffering=4096).
  148. output_buffering = 4096
  149.  
  150. ; You can redirect all of the output of your scripts to a function.  For
  151. ; example, if you set output_handler to "mb_output_handler", character
  152. ; encoding will be transparently converted to the specified encoding.
  153. ; Setting any output handler automatically turns on output buffering.
  154. ; Note: People who wrote portable scripts should not depend on this ini
  155. ;       directive. Instead, explicitly set the output handler using ob_start().
  156. ;       Using this ini directive may cause problems unless you know what script
  157. ;       is doing.
  158. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  159. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression".
  160. ; Note: output_handler must be empty if this is set 'On' !!!!
  161. ;       Instead you must use zlib.output_handler.
  162. ;output_handler =
  163.  
  164. ; Transparent output compression using the zlib library
  165. ; Valid values for this option are 'off', 'on', or a specific buffer size
  166. ; to be used for compression (default is 4KB)
  167. ; Note: Resulting chunk size may vary due to nature of compression. PHP
  168. ;       outputs chunks that are few hundreds bytes each as a result of
  169. ;       compression. If you prefer a larger chunk size for better
  170. ;       performance, enable output_buffering in addition.
  171. ; Note: You need to use zlib.output_handler instead of the standard
  172. ;       output_handler, or otherwise the output will be corrupted.
  173. zlib.output_compression = Off
  174. ;zlib.output_compression_level = -1
  175.  
  176. ; You cannot specify additional output handlers if zlib.output_compression
  177. ; is activated here. This setting does the same as output_handler but in
  178. ; a different order.
  179. ;zlib.output_handler =
  180.  
  181. ; Implicit flush tells PHP to tell the output layer to flush itself
  182. ; automatically after every output block.  This is equivalent to calling the
  183. ; PHP function flush() after each and every call to print() or echo() and each
  184. ; and every HTML block.  Turning this option on has serious performance
  185. ; implications and is generally recommended for debugging purposes only.
  186. implicit_flush = Off
  187.  
  188. ; The unserialize callback function will be called (with the undefined class'
  189. ; name as parameter), if the unserializer finds an undefined class
  190. ; which should be instantiated.
  191. ; A warning appears if the specified function is not defined, or if the
  192. ; function doesn't include/implement the missing class.
  193. ; So only set this entry, if you really want to implement such a
  194. ; callback-function.
  195. unserialize_callback_func=
  196.  
  197. ; When floats & doubles are serialized store serialize_precision significant
  198. ; digits after the floating point. The default value ensures that when floats
  199. ; are decoded with unserialize, the data will remain the same.
  200. serialize_precision = 100
  201.  
  202. ; Whether to enable the ability to force arguments to be passed by reference
  203. ; at function call time.  This method is deprecated and is likely to be
  204. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  205. ; specifying which arguments should be passed by reference is in the function
  206. ; declaration.  You're encouraged to try and turn this option Off and make
  207. ; sure your scripts work properly with it in order to ensure they will work
  208. ; with future versions of the language (you will receive a warning each time
  209. ; you use this feature, and the argument will be passed by value instead of by
  210. ; reference).
  211. allow_call_time_pass_reference = Off
  212.  
  213. ;
  214. ; Safe Mode
  215. ;
  216. safe_mode = Off
  217.  
  218. ; By default, Safe Mode does a UID compare check when
  219. ; opening files. If you want to relax this to a GID compare,
  220. ; then turn on safe_mode_gid.
  221. safe_mode_gid = Off
  222.  
  223. ; When safe_mode is on, UID/GID checks are bypassed when
  224. ; including files from this directory and its subdirectories.
  225. ; (directory must also be in include_path or full path must
  226. ; be used when including)
  227. safe_mode_include_dir =
  228.  
  229. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  230. ; will be allowed to be executed via the exec family of functions.
  231. safe_mode_exec_dir =
  232.  
  233. ; Setting certain environment variables may be a potential security breach.
  234. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  235. ; the user may only alter environment variables whose names begin with the
  236. ; prefixes supplied here.  By default, users will only be able to set
  237. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  238. ;
  239. ; Note:  If this directive is empty, PHP will let the user modify ANY
  240. ; environment variable!
  241. safe_mode_allowed_env_vars = PHP_
  242.  
  243. ; This directive contains a comma-delimited list of environment variables that
  244. ; the end user won't be able to change using putenv().  These variables will be
  245. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  246. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  247.  
  248. ; open_basedir, if set, limits all file operations to the defined directory
  249. ; and below.  This directive makes most sense if used in a per-directory
  250. ; or per-virtualhost web server configuration file. This directive is
  251. ; *NOT* affected by whether Safe Mode is turned On or Off.
  252. ;open_basedir =
  253.  
  254. ; This directive allows you to disable certain functions for security reasons.
  255. ; It receives a comma-delimited list of function names. This directive is
  256. ; *NOT* affected by whether Safe Mode is turned On or Off.
  257. disable_functions =
  258.  
  259. ; This directive allows you to disable certain classes for security reasons.
  260. ; It receives a comma-delimited list of class names. This directive is
  261. ; *NOT* affected by whether Safe Mode is turned On or Off.
  262. disable_classes =
  263.  
  264. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  265. ; <span style="color: ???????"> would work.
  266. ;highlight.string  = #DD0000
  267. ;highlight.comment = #FF9900
  268. ;highlight.keyword = #007700
  269. ;highlight.bg      = #FFFFFF
  270. ;highlight.default = #0000BB
  271. ;highlight.html    = #000000
  272.  
  273. ; If enabled, the request will be allowed to complete even if the user aborts
  274. ; the request. Consider enabling it if executing long request, which may end up
  275. ; being interrupted by the user or a browser timing out.
  276. ; ignore_user_abort = On
  277.  
  278. ; Determines the size of the realpath cache to be used by PHP. This value should
  279. ; be increased on systems where PHP opens many files to reflect the quantity of
  280. ; the file operations performed.
  281. ; realpath_cache_size=16k
  282.  
  283. ; Duration of time, in seconds for which to cache realpath information for a given
  284. ; file or directory. For systems with rarely changing files, consider increasing this
  285. ; value.
  286. ; realpath_cache_ttl=120
  287.  
  288. ;
  289. ; Misc
  290. ;
  291. ; Decides whether PHP may expose the fact that it is installed on the server
  292. ; (e.g. by adding its signature to the Web server header).  It is no security
  293. ; threat in any way, but it makes it possible to determine whether you use PHP
  294. ; on your server or not.
  295. expose_php = On
  296.  
  297.  
  298. ;;;;;;;;;;;;;;;;;;;
  299. ; Resource Limits ;
  300. ;;;;;;;;;;;;;;;;;;;
  301.  
  302. max_execution_time = 30     ; Maximum execution time of each script, in seconds
  303. max_input_time = 60    ; Maximum amount of time each script may spend parsing request data
  304. ;max_input_nesting_level = 64 ; Maximum input variable nesting level
  305. memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)
  306.  
  307.  
  308. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  309. ; Error handling and logging ;
  310. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  311.  
  312. ; error_reporting is a bit-field.  Or each number up to get desired error
  313. ; reporting level
  314. ; E_ALL             - All errors and warnings (doesn't include E_STRICT)
  315. ; E_ERROR           - fatal run-time errors
  316. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
  317. ; E_WARNING         - run-time warnings (non-fatal errors)
  318. ; E_PARSE           - compile-time parse errors
  319. ; E_NOTICE          - run-time notices (these are warnings which often result
  320. ;                     from a bug in your code, but it's possible that it was
  321. ;                     intentional (e.g., using an uninitialized variable and
  322. ;                     relying on the fact it's automatically initialized to an
  323. ;                     empty string)
  324. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
  325. ;                     to your code which will ensure the best interoperability
  326. ;                     and forward compatibility of your code
  327. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  328. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  329. ;                     initial startup
  330. ; E_COMPILE_ERROR   - fatal compile-time errors
  331. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  332. ; E_USER_ERROR      - user-generated error message
  333. ; E_USER_WARNING    - user-generated warning message
  334. ; E_USER_NOTICE     - user-generated notice message
  335. ;
  336. ; Examples:
  337. ;
  338. ;   - Show all errors, except for notices and coding standards warnings
  339. ;
  340. ;error_reporting = E_ALL & ~E_NOTICE
  341. ;
  342. ;   - Show all errors, except for notices
  343. ;
  344. ;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
  345. ;
  346. ;   - Show only errors
  347. ;
  348. ;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
  349. ;
  350. ;   - Show all errors, except coding standards warnings
  351. ;
  352. error_reporting  =  E_ALL
  353.  
  354. ; Print out errors (as a part of the output).  For production web sites,
  355. ; you're strongly encouraged to turn this feature off, and use error logging
  356. ; instead (see below).  Keeping display_errors enabled on a production web site
  357. ; may reveal security information to end users, such as file paths on your Web
  358. ; server, your database schema or other information.
  359. ;
  360. ; possible values for display_errors:
  361. ;
  362. ; Off          - Do not display any errors 
  363. ; stderr       - Display errors to STDERR (affects only CGI/CLI binaries!)   
  364. ; On or stdout - Display errors to STDOUT (default)
  365. ;  
  366. ; To output errors to STDERR with CGI/CLI:              
  367. ;display_errors = "stderr"
  368. ;
  369. ; Default
  370. ;
  371. display_errors = Off
  372.  
  373. ; Even when display_errors is on, errors that occur during PHP's startup
  374. ; sequence are not displayed.  It's strongly recommended to keep
  375. ; display_startup_errors off, except for when debugging.
  376. display_startup_errors = Off
  377.  
  378. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
  379. ; As stated above, you're strongly advised to use error logging in place of
  380. ; error displaying on production web sites.
  381. log_errors = On
  382.  
  383. ; Set maximum length of log_errors. In error_log information about the source is
  384. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  385. log_errors_max_len = 1024
  386.  
  387. ; Do not log repeated messages. Repeated errors must occur in same file on same
  388. ; line until ignore_repeated_source is set true.
  389. ignore_repeated_errors = Off
  390.  
  391. ; Ignore source of message when ignoring repeated messages. When this setting
  392. ; is On you will not log errors with repeated messages from different files or
  393. ; source lines.
  394. ignore_repeated_source = Off
  395.  
  396. ; If this parameter is set to Off, then memory leaks will not be shown (on
  397. ; stdout or in the log). This has only effect in a debug compile, and if
  398. ; error reporting includes E_WARNING in the allowed list
  399. report_memleaks = On
  400.  
  401. ;report_zend_debug = 0
  402.  
  403. ; Store the last error/warning message in $php_errormsg (boolean).
  404. track_errors = Off
  405.  
  406. ; Disable the inclusion of HTML tags in error messages.
  407. ; Note: Never use this feature for production boxes.
  408. ;html_errors = Off
  409.  
  410. ; If html_errors is set On PHP produces clickable error messages that direct
  411. ; to a page describing the error or function causing the error in detail.
  412. ; You can download a copy of the PHP manual from http://www.php.net/docs.php
  413. ; and change docref_root to the base URL of your local copy including the
  414. ; leading '/'. You must also specify the file extension being used including
  415. ; the dot.
  416. ; Note: Never use this feature for production boxes.
  417. ;docref_root = "/phpmanual/"
  418. ;docref_ext = .html
  419.  
  420. ; String to output before an error message.
  421. ;error_prepend_string = "<font color=ff0000>"
  422.  
  423. ; String to output after an error message.
  424. ;error_append_string = "</font>"
  425.  
  426. ; Log errors to specified file.
  427. ;error_log = filename
  428.  
  429. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  430. ;error_log = syslog
  431.  
  432.  
  433. ;;;;;;;;;;;;;;;;;
  434. ; Data Handling ;
  435. ;;;;;;;;;;;;;;;;;
  436. ;
  437. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  438.  
  439. ; The separator used in PHP generated URLs to separate arguments.
  440. ; Default is "&".
  441. ;arg_separator.output = "&"
  442.  
  443. ; List of separator(s) used by PHP to parse input URLs into variables.
  444. ; Default is "&".
  445. ; NOTE: Every character in this directive is considered as separator!
  446. ;arg_separator.input = ";&"
  447.  
  448. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  449. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  450. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  451. ; values override older values.
  452. variables_order = "GPCS"
  453.  
  454. ; Whether or not to register the EGPCS variables as global variables.  You may
  455. ; want to turn this off if you don't want to clutter your scripts' global scope
  456. ; with user data.  This makes most sense when coupled with track_vars - in which
  457. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  458. ; variables.
  459. ;
  460. ; You should do your best to write your scripts so that they do not require
  461. ; register_globals to be on;  Using form variables as globals can easily lead
  462. ; to possible security problems, if the code is not very well thought of.
  463. register_globals = Off
  464.  
  465. ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
  466. ; and friends.  If you're not using them, it's recommended to turn them off,
  467. ; for performance reasons.
  468. register_long_arrays = Off
  469.  
  470. ; This directive tells PHP whether to declare the argv&argc variables (that
  471. ; would contain the GET information).  If you don't use these variables, you
  472. ; should turn it off for increased performance.
  473. register_argc_argv = Off
  474.  
  475. ; When enabled, the SERVER and ENV variables are created when they're first
  476. ; used (Just In Time) instead of when the script starts. If these variables
  477. ; are not used within a script, having this directive on will result in a
  478. ; performance gain. The PHP directives register_globals, register_long_arrays,
  479. ; and register_argc_argv must be disabled for this directive to have any affect.
  480. auto_globals_jit = On
  481.  
  482. ; Maximum size of POST data that PHP will accept.
  483. post_max_size = 8M
  484.  
  485. ; Magic quotes
  486. ;
  487.  
  488. ; Magic quotes for incoming GET/POST/Cookie data.
  489. magic_quotes_gpc = Off
  490.  
  491. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  492. magic_quotes_runtime = Off
  493.  
  494. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  495. magic_quotes_sybase = Off
  496.  
  497. ; Automatically add files before or after any PHP document.
  498. auto_prepend_file =
  499. auto_append_file =
  500.  
  501. ; As of 4.0b4, PHP always outputs a character encoding by default in
  502. ; the Content-type: header.  To disable sending of the charset, simply
  503. ; set it to be empty.
  504. ;
  505. ; PHP's built-in default is text/html
  506. default_mimetype = "text/html"
  507. ;default_charset = "iso-8859-1"
  508.  
  509. ; Always populate the $HTTP_RAW_POST_DATA variable.
  510. ;always_populate_raw_post_data = On
  511.  
  512.  
  513. ;;;;;;;;;;;;;;;;;;;;;;;;;
  514. ; Paths and Directories ;
  515. ;;;;;;;;;;;;;;;;;;;;;;;;;
  516.  
  517. ; UNIX: "/path1:/path2"
  518. ;include_path = ".:/php/includes"
  519. ;
  520. ; Windows: "\path1;\path2"
  521. ;include_path = ".;c:\php\includes"
  522.  
  523. ; The root of the PHP pages, used only if nonempty.
  524. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  525. ; if you are running php as a CGI under any web server (other than IIS)
  526. ; see documentation for security issues.  The alternate is to use the
  527. ; cgi.force_redirect configuration below
  528. doc_root =
  529.  
  530. ; The directory under which PHP opens the script using /~username used only
  531. ; if nonempty.
  532. user_dir =
  533.  
  534. ; Directory in which the loadable extensions (modules) reside.
  535. extension_dir = "./"
  536.  
  537. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  538. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  539. ; disabled on them.
  540. enable_dl = On
  541.  
  542. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  543. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  544. ; turn it off here AT YOUR OWN RISK
  545. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  546. ; cgi.force_redirect = 1
  547.  
  548. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  549. ; every request.
  550. ; cgi.nph = 1
  551.  
  552. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  553. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  554. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  555. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  556. ; cgi.redirect_status_env = ;
  557.  
  558. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
  559. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  560. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
  561. ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
  562. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
  563. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  564. ; cgi.fix_pathinfo=1
  565.  
  566. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  567. ; security tokens of the calling client.  This allows IIS to define the
  568. ; security context that the request runs under.  mod_fastcgi under Apache
  569. ; does not currently support this feature (03/17/2002)
  570. ; Set to 1 if running under IIS.  Default is zero.
  571. ; fastcgi.impersonate = 1;
  572.  
  573. ; Disable logging through FastCGI connection
  574. ; fastcgi.logging = 0
  575.  
  576. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  577. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  578. ; is supported by Apache. When this option is set to 1 PHP will send
  579. ; RFC2616 compliant header.
  580. ; Default is zero.
  581. ;cgi.rfc2616_headers = 0
  582.  
  583.  
  584. ;;;;;;;;;;;;;;;;
  585. ; File Uploads ;
  586. ;;;;;;;;;;;;;;;;
  587.  
  588. ; Whether to allow HTTP file uploads.
  589. file_uploads = On
  590.  
  591. ; Temporary directory for HTTP uploaded files (will use system default if not
  592. ; specified).
  593. ;upload_tmp_dir =
  594.  
  595. ; Maximum allowed size for uploaded files.
  596. upload_max_filesize = 2M
  597.  
  598.  
  599. ;;;;;;;;;;;;;;;;;;
  600. ; Fopen wrappers ;
  601. ;;;;;;;;;;;;;;;;;;
  602.  
  603. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  604. allow_url_fopen = On
  605.  
  606. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
  607. allow_url_include = Off
  608.  
  609. ; Define the anonymous ftp password (your email address)
  610. ;from="john@doe.com"
  611.  
  612. ; Define the User-Agent string
  613. ; user_agent="PHP"
  614.  
  615. ; Default timeout for socket based streams (seconds)
  616. default_socket_timeout = 60
  617.  
  618. ; If your scripts have to deal with files from Macintosh systems,
  619. ; or you are running on a Mac and need to deal with files from
  620. ; unix or win32 systems, setting this flag will cause PHP to
  621. ; automatically detect the EOL character in those files so that
  622. ; fgets() and file() will work regardless of the source of the file.
  623. ; auto_detect_line_endings = Off
  624.  
  625.  
  626. ;;;;;;;;;;;;;;;;;;;;;;
  627. ; Dynamic Extensions ;
  628. ;;;;;;;;;;;;;;;;;;;;;;
  629. ;
  630. ; If you wish to have an extension loaded automatically, use the following
  631. ; syntax:
  632. ;
  633. ;   extension=modulename.extension
  634. ;
  635. ; For example, on Windows:
  636. ;
  637. ;   extension=msql.dll
  638. ;
  639. ; ... or under UNIX:
  640. ;
  641. ;   extension=msql.so
  642. ;
  643. ; Note that it should be the name of the module only; no directory information
  644. ; needs to go here.  Specify the location of the extension with the
  645. ; extension_dir directive above.
  646.  
  647.  
  648. ; Windows Extensions
  649. ; Note that ODBC support is built in, so no dll is needed for it.
  650. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
  651. ; extension folders as well as the separate PECL DLL download (PHP 5).
  652. ; Be sure to appropriately set the extension_dir directive.
  653.  
  654. ;extension=php_bz2.dll
  655. ;extension=php_curl.dll
  656. ;extension=php_dba.dll
  657. ;extension=php_dbase.dll
  658. ;extension=php_exif.dll
  659. ;extension=php_fdf.dll
  660. ;extension=php_gd2.dll
  661. ;extension=php_gettext.dll
  662. ;extension=php_gmp.dll
  663. ;extension=php_ifx.dll
  664. ;extension=php_imap.dll
  665. ;extension=php_interbase.dll
  666. ;extension=php_ldap.dll
  667. ;extension=php_mbstring.dll
  668. ;extension=php_mcrypt.dll
  669. ;extension=php_mhash.dll
  670. ;extension=php_mime_magic.dll
  671. ;extension=php_ming.dll
  672. ;extension=php_msql.dll
  673. ;extension=php_mssql.dll
  674. ;extension=php_mysql.dll
  675. ;extension=php_mysqli.dll
  676. ;extension=php_oci8.dll
  677. ;extension=php_openssl.dll
  678. ;extension=php_pdo.dll
  679. ;extension=php_pdo_firebird.dll
  680. ;extension=php_pdo_mssql.dll
  681. ;extension=php_pdo_mysql.dll
  682. ;extension=php_pdo_oci.dll
  683. ;extension=php_pdo_oci8.dll
  684. ;extension=php_pdo_odbc.dll
  685. ;extension=php_pdo_pgsql.dll
  686. ;extension=php_pdo_sqlite.dll
  687. ;extension=php_pgsql.dll
  688. ;extension=php_pspell.dll
  689. ;extension=php_shmop.dll
  690. ;extension=php_snmp.dll
  691. ;extension=php_soap.dll
  692. ;extension=php_sockets.dll
  693. ;extension=php_sqlite.dll
  694. ;extension=php_sybase_ct.dll
  695. ;extension=php_tidy.dll
  696. ;extension=php_xmlrpc.dll
  697. ;extension=php_xsl.dll
  698. ;extension=php_zip.dll
  699.  
  700. ;;;;;;;;;;;;;;;;;;;
  701. ; Module Settings ;
  702. ;;;;;;;;;;;;;;;;;;;
  703.  
  704. [Date]
  705. ; Defines the default timezone used by the date functions
  706. ;date.timezone =
  707.  
  708. ;date.default_latitude = 31.7667
  709. ;date.default_longitude = 35.2333
  710.  
  711. ;date.sunrise_zenith = 90.583333
  712. ;date.sunset_zenith = 90.583333
  713.  
  714. [filter]
  715. ;filter.default = unsafe_raw
  716. ;filter.default_flags =
  717.  
  718. [iconv]
  719. ;iconv.input_encoding = ISO-8859-1
  720. ;iconv.internal_encoding = ISO-8859-1
  721. ;iconv.output_encoding = ISO-8859-1
  722.  
  723. [sqlite]
  724. ;sqlite.assoc_case = 0
  725.  
  726. [xmlrpc]
  727. ;xmlrpc_error_number = 0
  728. ;xmlrpc_errors = 0
  729.  
  730. [Pcre]
  731. ;PCRE library backtracking limit.
  732. ;pcre.backtrack_limit=100000
  733.  
  734. ;PCRE library recursion limit. 
  735. ;Please note that if you set this value to a high number you may consume all 
  736. ;the available process stack and eventually crash PHP (due to reaching the 
  737. ;stack size limit imposed by the Operating System).
  738. ;pcre.recursion_limit=100000
  739.  
  740. [Syslog]
  741. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  742. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  743. ; runtime, you can define these variables by calling define_syslog_variables().
  744. define_syslog_variables  = Off
  745.  
  746. [mail function]
  747. ; For Win32 only.
  748. SMTP = localhost
  749. smtp_port = 25
  750.  
  751. ; For Win32 only.
  752. ;sendmail_from = me@example.com
  753.  
  754. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  755. ;sendmail_path =
  756.  
  757. ; Force the addition of the specified parameters to be passed as extra parameters
  758. ; to the sendmail binary. These parameters will always replace the value of
  759. ; the 5th parameter to mail(), even in safe mode.
  760. ;mail.force_extra_parameters =
  761.  
  762. [SQL]
  763. sql.safe_mode = Off
  764.  
  765. [ODBC]
  766. ;odbc.default_db    =  Not yet implemented
  767. ;odbc.default_user  =  Not yet implemented
  768. ;odbc.default_pw    =  Not yet implemented
  769.  
  770. ; Allow or prevent persistent links.
  771. odbc.allow_persistent = On
  772.  
  773. ; Check that a connection is still valid before reuse.
  774. odbc.check_persistent = On
  775.  
  776. ; Maximum number of persistent links.  -1 means no limit.
  777. odbc.max_persistent = -1
  778.  
  779. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  780. odbc.max_links = -1
  781.  
  782. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  783. ; passthru.
  784. odbc.defaultlrl = 4096
  785.  
  786. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  787. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  788. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  789. odbc.defaultbinmode = 1
  790.  
  791. [MySQL]
  792. ; Allow or prevent persistent links.
  793. mysql.allow_persistent = On
  794.  
  795. ; Maximum number of persistent links.  -1 means no limit.
  796. mysql.max_persistent = -1
  797.  
  798. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  799. mysql.max_links = -1
  800.  
  801. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  802. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  803. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  804. ; at MYSQL_PORT.
  805. mysql.default_port =
  806.  
  807. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  808. ; MySQL defaults.
  809. mysql.default_socket =
  810.  
  811. ; Default host for mysql_connect() (doesn't apply in safe mode).
  812. mysql.default_host =
  813.  
  814. ; Default user for mysql_connect() (doesn't apply in safe mode).
  815. mysql.default_user =
  816.  
  817. ; Default password for mysql_connect() (doesn't apply in safe mode).
  818. ; Note that this is generally a *bad* idea to store passwords in this file.
  819. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  820. ; and reveal this password!  And of course, any users with read access to this
  821. ; file will be able to reveal the password as well.
  822. mysql.default_password =
  823.  
  824. ; Maximum time (in seconds) for connect timeout. -1 means no limit
  825. mysql.connect_timeout = 60
  826.  
  827. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  828. ; SQL-Errors will be displayed.
  829. mysql.trace_mode = Off
  830.  
  831. [MySQLi]
  832.  
  833. ; Maximum number of links.  -1 means no limit.
  834. mysqli.max_links = -1
  835.  
  836. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
  837. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  838. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  839. ; at MYSQL_PORT.
  840. mysqli.default_port = 3306
  841.  
  842. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  843. ; MySQL defaults.
  844. mysqli.default_socket =
  845.  
  846. ; Default host for mysql_connect() (doesn't apply in safe mode).
  847. mysqli.default_host =
  848.  
  849. ; Default user for mysql_connect() (doesn't apply in safe mode).
  850. mysqli.default_user =
  851.  
  852. ; Default password for mysqli_connect() (doesn't apply in safe mode).
  853. ; Note that this is generally a *bad* idea to store passwords in this file.
  854. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
  855. ; and reveal this password!  And of course, any users with read access to this
  856. ; file will be able to reveal the password as well.
  857. mysqli.default_pw =
  858.  
  859. ; Allow or prevent reconnect
  860. mysqli.reconnect = Off
  861.  
  862. [mSQL]
  863. ; Allow or prevent persistent links.
  864. msql.allow_persistent = On
  865.  
  866. ; Maximum number of persistent links.  -1 means no limit.
  867. msql.max_persistent = -1
  868.  
  869. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  870. msql.max_links = -1
  871.  
  872. [OCI8]
  873. ; enables privileged connections using external credentials (OCI_SYSOPER, OCI_SYSDBA)
  874. ;oci8.privileged_connect = Off
  875.  
  876. ; Connection: The maximum number of persistent OCI8 connections per
  877. ; process. Using -1 means no limit.
  878. ;oci8.max_persistent = -1
  879.  
  880. ; Connection: The maximum number of seconds a process is allowed to
  881. ; maintain an idle persistent connection. Using -1 means idle
  882. ; persistent connections will be maintained forever.
  883. ;oci8.persistent_timeout = -1
  884.  
  885. ; Connection: The number of seconds that must pass before issuing a
  886. ; ping during oci_pconnect() to check the connection validity. When
  887. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
  888. ; pings completely.
  889. ;oci8.ping_interval = 60
  890.  
  891. ; Tuning: This option enables statement caching, and specifies how
  892. ; many statements to cache. Using 0 disables statement caching.
  893. ;oci8.statement_cache_size = 20
  894.  
  895. ; Tuning: Enables statement prefetching and sets the default number of
  896. ; rows that will be fetched automatically after statement execution.
  897. ;oci8.default_prefetch = 10
  898.  
  899. ; Compatibility. Using On means oci_close() will not close
  900. ; oci_connect() and oci_new_connect() connections.
  901. ;oci8.old_oci_close_semantics = Off
  902.  
  903. [PostgresSQL]
  904. ; Allow or prevent persistent links.
  905. pgsql.allow_persistent = On
  906.  
  907. ; Detect broken persistent links always with pg_pconnect().
  908. ; Auto reset feature requires a little overheads.
  909. pgsql.auto_reset_persistent = Off
  910.  
  911. ; Maximum number of persistent links.  -1 means no limit.
  912. pgsql.max_persistent = -1
  913.  
  914. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  915. pgsql.max_links = -1
  916.  
  917. ; Ignore PostgreSQL backends Notice message or not.
  918. ; Notice message logging require a little overheads.
  919. pgsql.ignore_notice = 0
  920.  
  921. ; Log PostgreSQL backends Noitce message or not.
  922. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  923. pgsql.log_notice = 0
  924.  
  925. [Sybase]
  926. ; Allow or prevent persistent links.
  927. sybase.allow_persistent = On
  928.  
  929. ; Maximum number of persistent links.  -1 means no limit.
  930. sybase.max_persistent = -1
  931.  
  932. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  933. sybase.max_links = -1
  934.  
  935. ;sybase.interface_file = "/usr/sybase/interfaces"
  936.  
  937. ; Minimum error severity to display.
  938. sybase.min_error_severity = 10
  939.  
  940. ; Minimum message severity to display.
  941. sybase.min_message_severity = 10
  942.  
  943. ; Compatibility mode with old versions of PHP 3.0.
  944. ; If on, this will cause PHP to automatically assign types to results according
  945. ; to their Sybase type, instead of treating them all as strings.  This
  946. ; compatibility mode will probably not stay around forever, so try applying
  947. ; whatever necessary changes to your code, and turn it off.
  948. sybase.compatability_mode = Off
  949.  
  950. [Sybase-CT]
  951. ; Allow or prevent persistent links.
  952. sybct.allow_persistent = On
  953.  
  954. ; Maximum number of persistent links.  -1 means no limit.
  955. sybct.max_persistent = -1
  956.  
  957. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  958. sybct.max_links = -1
  959.  
  960. ; Minimum server message severity to display.
  961. sybct.min_server_severity = 10
  962.  
  963. ; Minimum client message severity to display.
  964. sybct.min_client_severity = 10
  965.  
  966. [bcmath]
  967. ; Number of decimal digits for all bcmath functions.
  968. bcmath.scale = 0
  969.  
  970. [browscap]
  971. ;browscap = extra/browscap.ini
  972.  
  973. [Informix]
  974. ; Default host for ifx_connect() (doesn't apply in safe mode).
  975. ifx.default_host =
  976.  
  977. ; Default user for ifx_connect() (doesn't apply in safe mode).
  978. ifx.default_user =
  979.  
  980. ; Default password for ifx_connect() (doesn't apply in safe mode).
  981. ifx.default_password =
  982.  
  983. ; Allow or prevent persistent links.
  984. ifx.allow_persistent = On
  985.  
  986. ; Maximum number of persistent links.  -1 means no limit.
  987. ifx.max_persistent = -1
  988.  
  989. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  990. ifx.max_links = -1
  991.  
  992. ; If on, select statements return the contents of a text blob instead of its id.
  993. ifx.textasvarchar = 0
  994.  
  995. ; If on, select statements return the contents of a byte blob instead of its id.
  996. ifx.byteasvarchar = 0
  997.  
  998. ; Trailing blanks are stripped from fixed-length char columns.  May help the
  999. ; life of Informix SE users.
  1000. ifx.charasvarchar = 0
  1001.  
  1002. ; If on, the contents of text and byte blobs are dumped to a file instead of
  1003. ; keeping them in memory.
  1004. ifx.blobinfile = 0
  1005.  
  1006. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
  1007. ; NULL's are returned as string 'NULL'.
  1008. ifx.nullformat = 0
  1009.  
  1010. [Session]
  1011. ; Handler used to store/retrieve data.
  1012. session.save_handler = files
  1013.  
  1014. ; Argument passed to save_handler.  In the case of files, this is the path
  1015. ; where data files are stored. Note: Windows users have to change this
  1016. ; variable in order to use PHP's session functions.
  1017. ;
  1018. ; As of PHP 4.0.1, you can define the path as:
  1019. ;
  1020. ;     session.save_path = "N;/path"
  1021. ;
  1022. ; where N is an integer.  Instead of storing all the session files in
  1023. ; /path, what this will do is use subdirectories N-levels deep, and
  1024. ; store the session data in those directories.  This is useful if you
  1025. ; or your OS have problems with lots of files in one directory, and is
  1026. ; a more efficient layout for servers that handle lots of sessions.
  1027. ;
  1028. ; NOTE 1: PHP will not create this directory structure automatically.
  1029. ;         You can use the script in the ext/session dir for that purpose.
  1030. ; NOTE 2: See the section on garbage collection below if you choose to
  1031. ;         use subdirectories for session storage
  1032. ;
  1033. ; The file storage module creates files using mode 600 by default.
  1034. ; You can change that by using
  1035. ;
  1036. ;     session.save_path = "N;MODE;/path"
  1037. ;
  1038. ; where MODE is the octal representation of the mode. Note that this
  1039. ; does not overwrite the process's umask.
  1040. ;session.save_path = "/tmp"
  1041.  
  1042. ; Whether to use cookies.
  1043. session.use_cookies = 1
  1044.  
  1045. ;session.cookie_secure =
  1046.  
  1047. ; This option enables administrators to make their users invulnerable to
  1048. ; attacks which involve passing session ids in URLs; defaults to 0.
  1049. ; session.use_only_cookies = 1
  1050.  
  1051. ; Name of the session (used as cookie name).
  1052. session.name = PHPSESSID
  1053.  
  1054. ; Initialize session on request startup.
  1055. session.auto_start = 0
  1056.  
  1057. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  1058. session.cookie_lifetime = 0
  1059.  
  1060. ; The path for which the cookie is valid.
  1061. session.cookie_path = /
  1062.  
  1063. ; The domain for which the cookie is valid.
  1064. session.cookie_domain =
  1065.  
  1066. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
  1067. session.cookie_httponly = 
  1068.  
  1069. ; Handler used to serialize data.  php is the standard serializer of PHP.
  1070. session.serialize_handler = php
  1071.  
  1072. ; Define the probability that the 'garbage collection' process is started
  1073. ; on every session initialization.
  1074. ; The probability is calculated by using gc_probability/gc_divisor,
  1075. ; e.g. 1/100 means there is a 1% chance that the GC process starts
  1076. ; on each request.
  1077.  
  1078. session.gc_probability = 1
  1079. session.gc_divisor     = 1000
  1080.  
  1081. ; After this number of seconds, stored data will be seen as 'garbage' and
  1082. ; cleaned up by the garbage collection process.
  1083. session.gc_maxlifetime = 1440
  1084.  
  1085. ; NOTE: If you are using the subdirectory option for storing session files
  1086. ;       (see session.save_path above), then garbage collection does *not*
  1087. ;       happen automatically.  You will need to do your own garbage
  1088. ;       collection through a shell script, cron entry, or some other method.
  1089. ;       For example, the following script would is the equivalent of
  1090. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  1091. ;          cd /path/to/sessions; find -cmin +24 | xargs rm
  1092.  
  1093. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  1094. ; to initialize a session variable in the global scope, albeit register_globals
  1095. ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
  1096. ; You can disable the feature and the warning separately. At this time,
  1097. ; the warning is only displayed, if bug_compat_42 is enabled.
  1098.  
  1099. session.bug_compat_42 = 0
  1100. session.bug_compat_warn = 1
  1101.  
  1102. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  1103. ; HTTP_REFERER has to contain this substring for the session to be
  1104. ; considered as valid.
  1105. session.referer_check =
  1106.  
  1107. ; How many bytes to read from the file.
  1108. session.entropy_length = 0
  1109.  
  1110. ; Specified here to create the session id.
  1111. session.entropy_file =
  1112.  
  1113. ;session.entropy_length = 16
  1114.  
  1115. ;session.entropy_file = /dev/urandom
  1116.  
  1117. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  1118. ; or leave this empty to avoid sending anti-caching headers.
  1119. session.cache_limiter = nocache
  1120.  
  1121. ; Document expires after n minutes.
  1122. session.cache_expire = 180
  1123.  
  1124. ; trans sid support is disabled by default.
  1125. ; Use of trans sid may risk your users security.
  1126. ; Use this option with caution.
  1127. ; - User may send URL contains active session ID
  1128. ;   to other person via. email/irc/etc.
  1129. ; - URL that contains active session ID may be stored
  1130. ;   in publically accessible computer.
  1131. ; - User may access your site with the same session ID
  1132. ;   always using URL stored in browser's history or bookmarks.
  1133. session.use_trans_sid = 0
  1134.  
  1135. ; Select a hash function
  1136. ; 0: MD5   (128 bits)
  1137. ; 1: SHA-1 (160 bits)
  1138. session.hash_function = 0
  1139.  
  1140. ; Define how many bits are stored in each character when converting
  1141. ; the binary hash data to something readable.
  1142. ;
  1143. ; 4 bits: 0-9, a-f
  1144. ; 5 bits: 0-9, a-v
  1145. ; 6 bits: 0-9, a-z, A-Z, "-", ","
  1146. session.hash_bits_per_character = 5
  1147.  
  1148. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  1149. ; form/fieldset are special; if you include them here, the rewriter will
  1150. ; add a hidden <input> field with the info which is otherwise appended
  1151. ; to URLs.  If you want XHTML conformity, remove the form entry.
  1152. ; Note that all valid entries require a "=", even if no value follows.
  1153. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  1154.  
  1155. [MSSQL]
  1156. ; Allow or prevent persistent links.
  1157. mssql.allow_persistent = On
  1158.  
  1159. ; Maximum number of persistent links.  -1 means no limit.
  1160. mssql.max_persistent = -1
  1161.  
  1162. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  1163. mssql.max_links = -1
  1164.  
  1165. ; Minimum error severity to display.
  1166. mssql.min_error_severity = 10
  1167.  
  1168. ; Minimum message severity to display.
  1169. mssql.min_message_severity = 10
  1170.  
  1171. ; Compatibility mode with old versions of PHP 3.0.
  1172. mssql.compatability_mode = Off
  1173.  
  1174. ; Connect timeout
  1175. ;mssql.connect_timeout = 5
  1176.  
  1177. ; Query timeout
  1178. ;mssql.timeout = 60
  1179.  
  1180. ; Valid range 0 - 2147483647.  Default = 4096.
  1181. ;mssql.textlimit = 4096
  1182.  
  1183. ; Valid range 0 - 2147483647.  Default = 4096.
  1184. ;mssql.textsize = 4096
  1185.  
  1186. ; Limits the number of records in each batch.  0 = all records in one batch.
  1187. ;mssql.batchsize = 0
  1188.  
  1189. ; Specify how datetime and datetim4 columns are returned
  1190. ; On => Returns data converted to SQL server settings
  1191. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  1192. ;mssql.datetimeconvert = On
  1193.  
  1194. ; Use NT authentication when connecting to the server
  1195. mssql.secure_connection = Off
  1196.  
  1197. ; Specify max number of processes. -1 = library default
  1198. ; msdlib defaults to 25
  1199. ; FreeTDS defaults to 4096
  1200. ;mssql.max_procs = -1
  1201.  
  1202. ; Specify client character set. 
  1203. ; If empty or not set the client charset from freetds.comf is used
  1204. ; This is only used when compiled with FreeTDS
  1205. ;mssql.charset = "ISO-8859-1"
  1206.  
  1207. [Assertion]
  1208. ; Assert(expr); active by default.
  1209. ;assert.active = On
  1210.  
  1211. ; Issue a PHP warning for each failed assertion.
  1212. ;assert.warning = On
  1213.  
  1214. ; Don't bail out by default.
  1215. ;assert.bail = Off
  1216.  
  1217. ; User-function to be called if an assertion fails.
  1218. ;assert.callback = 0
  1219.  
  1220. ; Eval the expression with current error_reporting().  Set to true if you want
  1221. ; error_reporting(0) around the eval().
  1222. ;assert.quiet_eval = 0
  1223.  
  1224. [COM]
  1225. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  1226. ;com.typelib_file =
  1227. ; allow Distributed-COM calls
  1228. ;com.allow_dcom = true
  1229. ; autoregister constants of a components typlib on com_load()
  1230. ;com.autoregister_typelib = true
  1231. ; register constants casesensitive
  1232. ;com.autoregister_casesensitive = false
  1233. ; show warnings on duplicate constant registrations
  1234. ;com.autoregister_verbose = true
  1235.  
  1236. [mbstring]
  1237. ; language for internal character representation.
  1238. ;mbstring.language = Japanese
  1239.  
  1240. ; internal/script encoding.
  1241. ; Some encoding cannot work as internal encoding.
  1242. ; (e.g. SJIS, BIG5, ISO-2022-*)
  1243. ;mbstring.internal_encoding = EUC-JP
  1244.  
  1245. ; http input encoding.
  1246. ;mbstring.http_input = auto
  1247.  
  1248. ; http output encoding. mb_output_handler must be
  1249. ; registered as output buffer to function
  1250. ;mbstring.http_output = SJIS
  1251.  
  1252. ; enable automatic encoding translation according to
  1253. ; mbstring.internal_encoding setting. Input chars are
  1254. ; converted to internal encoding by setting this to On.
  1255. ; Note: Do _not_ use automatic encoding translation for
  1256. ;       portable libs/applications.
  1257. ;mbstring.encoding_translation = Off
  1258.  
  1259. ; automatic encoding detection order.
  1260. ; auto means
  1261. ;mbstring.detect_order = auto
  1262.  
  1263. ; substitute_character used when character cannot be converted
  1264. ; one from another
  1265. ;mbstring.substitute_character = none;
  1266.  
  1267. ; overload(replace) single byte functions by mbstring functions.
  1268. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  1269. ; etc. Possible values are 0,1,2,4 or combination of them.
  1270. ; For example, 7 for overload everything.
  1271. ; 0: No overload
  1272. ; 1: Overload mail() function
  1273. ; 2: Overload str*() functions
  1274. ; 4: Overload ereg*() functions
  1275. ;mbstring.func_overload = 0
  1276.  
  1277. ; enable strict encoding detection.
  1278. ;mbstring.strict_encoding = Off
  1279.  
  1280. [FrontBase]
  1281. ;fbsql.allow_persistent = On
  1282. ;fbsql.autocommit = On
  1283. ;fbsql.show_timestamp_decimals = Off
  1284. ;fbsql.default_database =
  1285. ;fbsql.default_database_password =
  1286. ;fbsql.default_host =
  1287. ;fbsql.default_password =
  1288. ;fbsql.default_user = "_SYSTEM"
  1289. ;fbsql.generate_warnings = Off
  1290. ;fbsql.max_connections = 128
  1291. ;fbsql.max_links = 128
  1292. ;fbsql.max_persistent = -1
  1293. ;fbsql.max_results = 128
  1294.  
  1295. [gd]
  1296. ; Tell the jpeg decode to libjpeg warnings and try to create
  1297. ; a gd image. The warning will then be displayed as notices
  1298. ; disabled by default
  1299. ;gd.jpeg_ignore_warning = 0
  1300.  
  1301. [exif]
  1302. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  1303. ; With mbstring support this will automatically be converted into the encoding
  1304. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  1305. ; is used. For the decode settings you can distinguish between motorola and
  1306. ; intel byte order. A decode setting cannot be empty.
  1307. ;exif.encode_unicode = ISO-8859-15
  1308. ;exif.decode_unicode_motorola = UCS-2BE
  1309. ;exif.decode_unicode_intel    = UCS-2LE
  1310. ;exif.encode_jis =
  1311. ;exif.decode_jis_motorola = JIS
  1312. ;exif.decode_jis_intel    = JIS
  1313.  
  1314. [Tidy]
  1315. ; The path to a default tidy configuration file to use when using tidy
  1316. ;tidy.default_config = /usr/local/lib/php/default.tcfg
  1317.  
  1318. ; Should tidy clean and repair output automatically?
  1319. ; WARNING: Do not use this option if you are generating non-html content
  1320. ; such as dynamic images
  1321. tidy.clean_output = Off
  1322.  
  1323. [soap]
  1324. ; Enables or disables WSDL caching feature.
  1325. soap.wsdl_cache_enabled=1
  1326. ; Sets the directory name where SOAP extension will put cache files.
  1327. soap.wsdl_cache_dir="/tmp"
  1328. ; (time to live) Sets the number of second while cached file will be used 
  1329. ; instead of original one.
  1330. soap.wsdl_cache_ttl=86400
  1331.  
  1332. ; Local Variables:
  1333. ; tab-width: 4
  1334. ; End:
  1335.