home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 April / PCWorld_2005-04_cd.bin / akce / web / phptriad / phptriad2-2-1.exe / php / php.ini-recommended < prev    next >
INI File  |  2001-08-17  |  29KB  |  869 lines

  1. [PHP]
  2.  
  3. ;;;;;;;;;;;;;;;;;;;
  4. ; About this file ;
  5. ;;;;;;;;;;;;;;;;;;;
  6. ;
  7. ; This is the recommended, PHP 4-style version of the php.ini-dist file.  It
  8. ; sets some non standard settings, that make PHP more efficient, more secure,
  9. ; and encourage cleaner coding.
  10. ; The price is that with these settings, PHP may be incompatible with some
  11. ; applications, and sometimes, more difficult to develop with.  Using this
  12. ; file is warmly recommended for production sites.  As all of the changes from
  13. ; the standard settings are thoroughly documented, you can go over each one,
  14. ; and decide whether you want to use it or not.
  15. ;
  16. ; For general information about the php.ini file, please consult the php.ini-dist
  17. ; file, included in your PHP distribution.
  18. ;
  19. ; This file is different from the php.ini-dist file in the fact that it features
  20. ; different values for several directives, in order to improve performance, while
  21. ; possibly breaking compatibility with the standard out-of-the-box behavior of
  22. ; PHP 3.  Please make sure you read what's different, and modify your scripts
  23. ; accordingly, if you decide to use this file instead.
  24. ;
  25. ; - register_globals = Off         [Security, Performance]
  26. ;     Global variables are no longer registered for input data (POST, GET, cookies,
  27. ;     environment and other server variables).  Instead of using $foo, you must use
  28. ;     you can use $_REQUEST["foo"] (includes any variable that arrives through the
  29. ;     request, namely, POST, GET and cookie variables), or use one of the specific
  30. ;     $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
  31. ;     on where the input originates.  Also, you can look at the
  32. ;     import_request_variables() function.
  33. ;     Note that register_globals is going to be depracated (i.e., turned off by
  34. ;     default) in the next version of PHP, because it often leads to security bugs.
  35. ;     Read http://php.net/manual/en/security.registerglobals.php for further
  36. ;     information.
  37. ; - display_errors = Off           [Security]
  38. ;     With this directive set to off, errors that occur during the execution of
  39. ;     scripts will no longer be displayed as a part of the script output, and thus,
  40. ;     will no longer be exposed to remote users.  With some errors, the error message
  41. ;     content may expose information about your script, web server, or database
  42. ;     server that may be exploitable for hacking.  Production sites should have this
  43. ;     directive set to off.
  44. ; - log_errors = On                [Security]
  45. ;     This directive complements the above one.  Any errors that occur during the
  46. ;     execution of your script will be logged (typically, to your server's error log,
  47. ;     but can be configured in several ways).  Along with setting display_errors to off,
  48. ;     this setup gives you the ability to fully understand what may have gone wrong,
  49. ;     without exposing any sensitive information to remote users.
  50. ; - output_buffering = 4096        [Performance]
  51. ;     Set a 4KB output buffer.  Enabling output buffering typically results in less
  52. ;     writes, and sometimes less packets sent on the wire, which can often lead to
  53. ;     better performance.  The gain this directive actually yields greatly depends
  54. ;     on which Web server you're working with, and what kind of scripts you're using.
  55. ; - register_argc_argv = Off       [Performance]
  56. ;     Disables registration of the somewhat redundant $argv and $argc global
  57. ;     variables.
  58. ; - magic_quotes_gpc = Off         [Performance]
  59. ;     Input data is no longer escaped with slashes so that it can be sent into
  60. ;     SQL databases without further manipulation.  Instead, you should use the
  61. ;     function addslashes() on each input element you wish to send to a database.
  62. ; - variables_order = "GPCS"       [Performance]
  63. ;     The environment variables are not hashed into the $HTTP_ENV_VARS[].  To access
  64. ;     environment variables, you can use getenv() instead.
  65. ; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
  66. ;     By default, PHP surpresses errors of type E_NOTICE.  These error messages
  67. ;     are emitted for non-critical errors, but that could be a symptom of a bigger
  68. ;     problem.  Most notably, this will cause error messages about the use
  69. ;     of uninitialized variables to be displayed.
  70. ; - allow_call_time_pass_reference = Off     [Code cleanliness]
  71. ;     It's not possible to decide to force a variable to be passed by reference
  72. ;     when calling a function.  The PHP 4 style to do this is by making the
  73. ;     function require the relevant argument by reference.
  74.  
  75.  
  76. ;;;;;;;;;;;;;;;;;;;;
  77. ; Language Options ;
  78. ;;;;;;;;;;;;;;;;;;;;
  79.  
  80. ; Enable the PHP scripting language engine under Apache.
  81. engine = On
  82.  
  83. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
  84. short_open_tag = On
  85.  
  86. ; Allow ASP-style <% %> tags.
  87. asp_tags = Off
  88.  
  89. ; The number of significant digits displayed in floating point numbers.
  90. precision    =  14
  91.  
  92. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  93. y2k_compliance = Off
  94.  
  95. ; Output buffering allows you to send header lines (including cookies) even
  96. ; after you send body content, at the price of slowing PHP's output layer a
  97. ; bit.  You can enable output buffering during runtime by calling the output
  98. ; buffering functions.  You can also enable output buffering for all files by
  99. ; setting this directive to On.  If you wish to limit the size of the buffer
  100. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  101. ; a value for this directive (e.g., output_buffering=4096).
  102. output_buffering = 4096
  103.  
  104. ; You can redirect all of the output of your scripts to a function.  For
  105. ; example, if you set output_handler to "ob_gzhandler", output will be
  106. ; transparently compressed for browsers that support gzip or deflate encoding.
  107. ; Setting an output handler automatically turns on output buffering.
  108. output_handler =
  109.  
  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. zlib.output_compression = Off
  114.  
  115. ; Implicit flush tells PHP to tell the output layer to flush itself
  116. ; automatically after every output block.  This is equivalent to calling the
  117. ; PHP function flush() after each and every call to print() or echo() and each
  118. ; and every HTML block.  Turning this option on has serious performance
  119. ; implications and is generally recommended for debugging purposes only.
  120. implicit_flush = Off
  121.  
  122. ; Whether to enable the ability to force arguments to be passed by reference
  123. ; at function call time.  This method is deprecated and is likely to be
  124. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  125. ; specifying which arguments should be passed by reference is in the function
  126. ; declaration.  You're encouraged to try and turn this option Off and make
  127. ; sure your scripts work properly with it in order to ensure they will work
  128. ; with future versions of the language (you will receive a warning each time
  129. ; you use this feature, and the argument will be passed by value instead of by
  130. ; reference).
  131. allow_call_time_pass_reference = Off
  132.  
  133.  
  134. ;
  135. ; Safe Mode
  136. ;
  137. safe_mode = Off
  138.  
  139. ; By default, Safe Mode does a UID compare check when
  140. ; opening files. If you want to relax this to a GID compare,
  141. ; then turn on safe_mode_gid.
  142. safe_mode_gid = Off
  143.  
  144. ; When safe_mode is on, UID/GID checks are bypassed when
  145. ; including files from this directory and its subdirectories.
  146. ; (directory must also be in include_path or full path must
  147. ; be used when including)
  148. safe_mode_include_dir =                                
  149.  
  150. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  151. ; will be allowed to be executed via the exec family of functions.
  152. safe_mode_exec_dir =
  153.  
  154. ; open_basedir, if set, limits all file operations to the defined directory
  155. ; and below.  This directive makes most sense if used in a per-directory
  156. ; or per-virtualhost web server configuration file.
  157. ;
  158. ;open_basedir =
  159.  
  160. ; Setting certain environment variables may be a potential security breach.
  161. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  162. ; the user may only alter environment variables whose names begin with the
  163. ; prefixes supplied here.  By default, users will only be able to set
  164. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  165. ;
  166. ; Note:  If this directive is empty, PHP will let the user modify ANY
  167. ; environment variable!
  168. safe_mode_allowed_env_vars = PHP_
  169.  
  170. ; This directive contains a comma-delimited list of environment variables that
  171. ; the end user won't be able to change using putenv().  These variables will be
  172. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  173. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  174.  
  175. ; This directive allows you to disable certain functions for security reasons.
  176. ; It receives a comma-delimited list of function names.  This directive is
  177. ; *NOT* affected by whether Safe Mode is turned On or Off.
  178. disable_functions =
  179.  
  180. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  181. ; <font color="??????"> would work.
  182. highlight.string  = #CC0000
  183. highlight.comment = #FF9900
  184. highlight.keyword = #006600
  185. highlight.bg      = #FFFFFF
  186. highlight.default = #0000CC
  187. highlight.html    = #000000
  188.  
  189.  
  190. ;
  191. ; Misc
  192. ;
  193. ; Decides whether PHP may expose the fact that it is installed on the server
  194. ; (e.g. by adding its signature to the Web server header).  It is no security
  195. ; threat in any way, but it makes it possible to determine whether you use PHP
  196. ; on your server or not.
  197. expose_php = On
  198.  
  199.  
  200. ;;;;;;;;;;;;;;;;;;;
  201. ; Resource Limits ;
  202. ;;;;;;;;;;;;;;;;;;;
  203.  
  204. max_execution_time = 30     ; Maximum execution time of each script, in seconds
  205. memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
  206.  
  207.  
  208. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  209. ; Error handling and logging ;
  210. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  211.  
  212. ; error_reporting is a bit-field.  Or each number up to get desired error
  213. ; reporting level
  214. ; E_ALL             - All errors and warnings
  215. ; E_ERROR           - fatal run-time errors
  216. ; E_WARNING         - run-time warnings (non-fatal errors)
  217. ; E_PARSE           - compile-time parse errors
  218. ; E_NOTICE          - run-time notices (these are warnings which often result
  219. ;                     from a bug in your code, but it's possible that it was
  220. ;                     intentional (e.g., using an uninitialized variable and
  221. ;                     relying on the fact it's automatically initialized to an
  222. ;                     empty string)
  223. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  224. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  225. ;                     initial startup
  226. ; E_COMPILE_ERROR   - fatal compile-time errors
  227. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  228. ; E_USER_ERROR      - user-generated error message
  229. ; E_USER_WARNING    - user-generated warning message
  230. ; E_USER_NOTICE     - user-generated notice message
  231. ;
  232. ; Examples:
  233. ;
  234. ;   - Show all errors, except for notices
  235. ;
  236. ;error_reporting = E_ALL & ~E_NOTICE
  237. ;
  238. ;   - Show only errors
  239. ;
  240. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  241. ;
  242. ;   - Show all errors except for notices
  243. ;
  244. error_reporting  =  E_ALL
  245.  
  246. ; Print out errors (as a part of the output).  For production web sites,
  247. ; you're strongly encouraged to turn this feature off, and use error logging
  248. ; instead (see below).  Keeping display_errors enabled on a production web site
  249. ; may reveal security information to end users, such as file paths on your Web
  250. ; server, your database schema or other information.
  251. display_errors = Off
  252.  
  253. ; Even when display_errors is on, errors that occur during PHP's startup
  254. ; sequence are not displayed.  It's strongly recommended to keep
  255. ; display_startup_errors off, except for when debugging.
  256. display_startup_errors = Off
  257.  
  258. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
  259. ; As stated above, you're strongly advised to use error logging in place of
  260. ; error displaying on production web sites.
  261. log_errors = On
  262.  
  263. ; Store the last error/warning message in $php_errormsg (boolean).
  264. track_errors = Off
  265.  
  266. ; Disable the inclusion of HTML tags in error messages.
  267. ;html_errors = Off
  268.   
  269. ; String to output before an error message.
  270. ;error_prepend_string = "<font color=ff0000>"
  271.  
  272. ; String to output after an error message.
  273. ;error_append_string = "</font>"
  274.  
  275. ; Log errors to specified file.
  276. ;error_log = filename
  277.  
  278. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  279. ;error_log = syslog
  280.  
  281. ; Warn if the + operator is used with strings.
  282. warn_plus_overloading = Off
  283.  
  284.  
  285. ;;;;;;;;;;;;;;;;;
  286. ; Data Handling ;
  287. ;;;;;;;;;;;;;;;;;
  288. ;
  289. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  290.  
  291. ; The separator used in PHP generated URLs to separate arguments.
  292. ; Default is "&". 
  293. ;arg_separator.output = "&"
  294.  
  295. ; List of separator(s) used by PHP to parse input URLs into variables.
  296. ; Default is "&". 
  297. ; NOTE: Every character in this directive is considered as separator!
  298. ;arg_separator.input = ";&"
  299.  
  300. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  301. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  302. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  303. ; values override older values.
  304. variables_order = "GPCS"
  305.  
  306. ; Whether or not to register the EGPCS variables as global variables.  You may
  307. ; want to turn this off if you don't want to clutter your scripts' global scope
  308. ; with user data.  This makes most sense when coupled with track_vars - in which
  309. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  310. ; variables.
  311. ;
  312. ; You should do your best to write your scripts so that they do not require
  313. ; register_globals to be on;  Using form variables as globals can easily lead
  314. ; to possible security problems, if the code is not very well thought of.
  315. register_globals = Off
  316.  
  317. ; This directive tells PHP whether to declare the argv&argc variables (that
  318. ; would contain the GET information).  If you don't use these variables, you
  319. ; should turn it off for increased performance.
  320. register_argc_argv = Off
  321.  
  322. ; Maximum size of POST data that PHP will accept.
  323. post_max_size = 8M
  324.  
  325. ; This directive is deprecated.  Use variables_order instead.
  326. gpc_order = "GPC"
  327.  
  328. ; Magic quotes
  329. ;
  330.  
  331. ; Magic quotes for incoming GET/POST/Cookie data.
  332. magic_quotes_gpc = Off
  333.  
  334. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  335. magic_quotes_runtime = Off    
  336.  
  337. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  338. magic_quotes_sybase = Off
  339.  
  340. ; Automatically add files before or after any PHP document.
  341. auto_prepend_file =
  342. auto_append_file =
  343.  
  344. ; As of 4.0b4, PHP always outputs a character encoding by default in
  345. ; the Content-type: header.  To disable sending of the charset, simply
  346. ; set it to be empty.
  347. ;
  348. ; PHP's built-in default is text/html
  349. default_mimetype = "text/html"
  350. ;default_charset = "iso-8859-1"
  351.  
  352.  
  353. ;;;;;;;;;;;;;;;;;;;;;;;;;
  354. ; Paths and Directories ;
  355. ;;;;;;;;;;;;;;;;;;;;;;;;;
  356.  
  357. ; UNIX: "/path1:/path2"  
  358. ;include_path = ".:/php/includes"
  359. ;
  360. ; Windows: "\path1;\path2"
  361. ;include_path = ".;c:\php\includes"
  362.  
  363. ; The root of the PHP pages, used only if nonempty.
  364. doc_root =
  365.  
  366. ; The directory under which PHP opens the script using /~usernamem used only
  367. ; if nonempty.
  368. user_dir =
  369.  
  370. ; Directory in which the loadable extensions (modules) reside.
  371. extension_dir = ./
  372.  
  373. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  374. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  375. ; disabled on them.
  376. enable_dl = On
  377.  
  378.  
  379. ;;;;;;;;;;;;;;;;
  380. ; File Uploads ;
  381. ;;;;;;;;;;;;;;;;
  382.  
  383. ; Whether to allow HTTP file uploads.
  384. file_uploads = On
  385.  
  386. ; Temporary directory for HTTP uploaded files (will use system default if not
  387. ; specified).
  388. ;upload_tmp_dir =
  389.  
  390. ; Maximum allowed size for uploaded files.
  391. upload_max_filesize = 2M
  392.  
  393.  
  394. ;;;;;;;;;;;;;;;;;;
  395. ; Fopen wrappers ;
  396. ;;;;;;;;;;;;;;;;;;
  397.  
  398. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  399. allow_url_fopen = On
  400.  
  401. ; Define the anonymous ftp password (your email address)
  402. ;from="john@doe.com"
  403.  
  404.  
  405. ;;;;;;;;;;;;;;;;;;;;;;
  406. ; Dynamic Extensions ;
  407. ;;;;;;;;;;;;;;;;;;;;;;
  408. ;
  409. ; If you wish to have an extension loaded automatically, use the following
  410. ; syntax:
  411. ;
  412. ;   extension=modulename.extension
  413. ;
  414. ; For example, on Windows:
  415. ;
  416. ;   extension=msql.dll
  417. ;
  418. ; ... or under UNIX:
  419. ;
  420. ;   extension=msql.so
  421. ;
  422. ; Note that it should be the name of the module only; no directory information 
  423. ; needs to go here.  Specify the location of the extension with the
  424. ; extension_dir directive above.
  425.  
  426.  
  427. ;Windows Extensions
  428. ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
  429. ;
  430. ;extension=php_bz2.dll
  431. ;extension=php_ctype.dll
  432. ;extension=php_cpdf.dll
  433. ;extension=php_curl.dll
  434. ;extension=php_cybercash.dll
  435. ;extension=php_db.dll
  436. ;extension=php_dba.dll
  437. ;extension=php_dbase.dll
  438. ;extension=php_dbx.dll
  439. ;extension=php_domxml.dll
  440. ;extension=php_dotnet.dll
  441. ;extension=php_exif.dll
  442. ;extension=php_fbsql.dll
  443. ;extension=php_fdf.dll
  444. ;extension=php_filepro.dll
  445. ;extension=php_gd.dll
  446. ;extension=php_gettext.dll
  447. ;extension=php_hyperwave.dll
  448. ;extension=php_iconv.dll
  449. ;extension=php_ifx.dll
  450. ;extension=php_iisfunc.dll
  451. ;extension=php_imap.dll
  452. ;extension=php_ingres.dll
  453. ;extension=php_interbase.dll
  454. ;extension=php_java.dll
  455. ;extension=php_ldap.dll
  456. ;extension=php_mbstring.dll
  457. ;extension=php_mcrypt.dll
  458. ;extension=php_mhash.dll
  459. ;extension=php_ming.dll
  460. ;extension=php_mssql.dll
  461. ;extension=php_oci8.dll
  462. ;extension=php_openssl.dll
  463. ;extension=php_oracle.dll
  464. ;extension=php_pdf.dll
  465. ;extension=php_pgsql.dll
  466. ;extension=php_printer.dll
  467. ;extension=php_sablot.dll
  468. ;extension=php_shmop.dll
  469. ;extension=php_snmp.dll
  470. ;extension=php_sockets.dll
  471. ;extension=php_sybase_ct.dll
  472. ;extension=php_xslt.dll
  473. ;extension=php_yaz.dll
  474. ;extension=php_zlib.dll
  475.  
  476.  
  477. ;;;;;;;;;;;;;;;;;;;
  478. ; Module Settings ;
  479. ;;;;;;;;;;;;;;;;;;;
  480.  
  481. [Syslog]
  482. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  483. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  484. ; runtime, you can define these variables by calling define_syslog_variables().
  485. define_syslog_variables  = Off
  486.  
  487. [mail function]
  488. ; For Win32 only.
  489. SMTP = localhost
  490.  
  491. ; For Win32 only.
  492. sendmail_from = me@localhost.com
  493.  
  494. ; For Unix only.  You may supply arguments as well (default: 'sendmail -t -i').
  495. ;sendmail_path =
  496.  
  497. [Logging]
  498. ; These configuration directives are used by the example logging mechanism.
  499. ; See examples/README.logging for more explanation.
  500. ;logging.method = db
  501. ;logging.directory = /path/to/log/directory
  502.  
  503. [Java]
  504. ;java.class.path = .\php_java.jar
  505. ;java.home = c:\jdk
  506. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
  507. ;java.library.path = .\
  508.  
  509. [SQL]
  510. sql.safe_mode = Off
  511.  
  512. [ODBC]
  513. ;odbc.default_db    =  Not yet implemented
  514. ;odbc.default_user  =  Not yet implemented
  515. ;odbc.default_pw    =  Not yet implemented
  516.  
  517. ; Allow or prevent persistent links.
  518. odbc.allow_persistent = On
  519.  
  520. ; Check that a connection is still valid before reuse.
  521. odbc.check_persistent = On
  522.  
  523. ; Maximum number of persistent links.  -1 means no limit.
  524. odbc.max_persistent = -1
  525.  
  526. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  527. odbc.max_links = -1  
  528.  
  529. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  530. ; passthru.
  531. odbc.defaultlrl = 4096  
  532.  
  533. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  534. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  535. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  536. odbc.defaultbinmode = 1  
  537.  
  538. [MySQL]
  539. ; Allow or prevent persistent links.
  540. mysql.allow_persistent = On
  541.  
  542. ; Maximum number of persistent links.  -1 means no limit.
  543. mysql.max_persistent = -1
  544.  
  545. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  546. mysql.max_links = -1
  547.  
  548. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  549. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  550. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  551. ' at MYSQL_PORT.
  552. mysql.default_port =
  553.  
  554. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  555. ; MySQL defaults.
  556. mysql.default_socket =
  557.  
  558. ; Default host for mysql_connect() (doesn't apply in safe mode).
  559. mysql.default_host =
  560.  
  561. ; Default user for mysql_connect() (doesn't apply in safe mode).
  562. mysql.default_user =
  563.  
  564. ; Default password for mysql_connect() (doesn't apply in safe mode).
  565. ; Note that this is generally a *bad* idea to store passwords in this file.
  566. ; *Any* user with PHP access can run 'echo cfg_get_var("mysql.default_password")
  567. ; and reveal this password!  And of course, any users with read access to this
  568. ; file will be able to reveal the password as well.
  569. mysql.default_password =
  570.  
  571. [mSQL]
  572. ; Allow or prevent persistent links.
  573. msql.allow_persistent = On
  574.  
  575. ; Maximum number of persistent links.  -1 means no limit.
  576. msql.max_persistent = -1
  577.  
  578. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  579. msql.max_links = -1
  580.  
  581. [PostgresSQL]
  582. ; Allow or prevent persistent links.
  583. pgsql.allow_persistent = On
  584.  
  585. ; Maximum number of persistent links.  -1 means no limit.
  586. pgsql.max_persistent = -1
  587.  
  588. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  589. pgsql.max_links = -1
  590.  
  591. [Sybase]
  592. ; Allow or prevent persistent links.
  593. sybase.allow_persistent = On
  594.  
  595. ; Maximum number of persistent links.  -1 means no limit.
  596. sybase.max_persistent = -1
  597.  
  598. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  599. sybase.max_links = -1
  600.  
  601. ;sybase.interface_file = "/usr/sybase/interfaces"
  602.  
  603. ; Minimum error severity to display.
  604. sybase.min_error_severity = 10
  605.  
  606. ; Minimum message severity to display.
  607. sybase.min_message_severity = 10
  608.  
  609. ; Compatability mode with old versions of PHP 3.0.
  610. ; If on, this will cause PHP to automatically assign types to results according
  611. ; to their Sybase type, instead of treating them all as strings.  This
  612. ; compatability mode will probably not stay around forever, so try applying
  613. ; whatever necessary changes to your code, and turn it off.
  614. sybase.compatability_mode = Off
  615.  
  616. [Sybase-CT]
  617. ; Allow or prevent persistent links.
  618. sybct.allow_persistent = On
  619.  
  620. ; Maximum number of persistent links.  -1 means no limit.
  621. sybct.max_persistent = -1
  622.  
  623. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  624. sybct.max_links = -1
  625.  
  626. ; Minimum server message severity to display.
  627. sybct.min_server_severity = 10
  628.  
  629. ; Minimum client message severity to display.
  630. sybct.min_client_severity = 10
  631.  
  632. [bcmath]
  633. ; Number of decimal digits for all bcmath functions.
  634. bcmath.scale = 0
  635.  
  636. [browscap]
  637. ;browscap = extra/browscap.ini
  638.  
  639. [Informix]
  640. ; Default host for ifx_connect() (doesn't apply in safe mode).
  641. ifx.default_host =
  642.  
  643. ; Default user for ifx_connect() (doesn't apply in safe mode).
  644. ifx.default_user =
  645.  
  646. ; Default password for ifx_connect() (doesn't apply in safe mode).
  647. ifx.default_password =
  648.  
  649. ; Allow or prevent persistent links.
  650. ifx.allow_persistent = On
  651.  
  652. ; Maximum number of persistent links.  -1 means no limit.
  653. ifx.max_persistent = -1
  654.  
  655. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  656. ifx.max_links = -1
  657.  
  658. ; If on, select statements return the contents of a text blob instead of its id.
  659. ifx.textasvarchar = 0
  660.  
  661. ; If on, select statements return the contents of a byte blob instead of its id.
  662. ifx.byteasvarchar = 0
  663.  
  664. ; Trailing blanks are stripped from fixed-length char columns.  May help the
  665. ; life of Informix SE users.
  666. ifx.charasvarchar = 0
  667.  
  668. ; If on, the contents of text and byte blobs are dumped to a file instead of
  669. ; keeping them in memory.
  670. ifx.blobinfile = 0
  671.  
  672. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
  673. ; NULL's are returned as string 'NULL'.
  674. ifx.nullformat = 0
  675.  
  676. [Session]
  677. ; Handler used to store/retrieve data.
  678. session.save_handler = files
  679.  
  680. ; Argument passed to save_handler.  In the case of files, this is the path
  681. ; where data files are stored. Note: Windows users have to change this 
  682. ; variable in order to use PHP's session functions.
  683. session.save_path = /tmp
  684.  
  685. ; Whether to use cookies.
  686. session.use_cookies = 1
  687.  
  688.  
  689. ; Name of the session (used as cookie name).
  690. session.name = PHPSESSID
  691.  
  692. ; Initialize session on request startup.
  693. session.auto_start = 0
  694.  
  695. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  696. session.cookie_lifetime = 0
  697.  
  698. ; The path for which the cookie is valid.
  699. session.cookie_path = /
  700.  
  701. ; The domain for which the cookie is valid.
  702. session.cookie_domain =
  703.  
  704. ; Handler used to serialize data.  php is the standard serializer of PHP.
  705. session.serialize_handler = php
  706.  
  707. ; Percentual probability that the 'garbage collection' process is started
  708. ; on every session initialization.
  709. session.gc_probability = 1
  710.  
  711. ; After this number of seconds, stored data will be seen as 'garbage' and
  712. ; cleaned up by the garbage collection process.
  713. session.gc_maxlifetime = 1440
  714.  
  715. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  716. session.referer_check =
  717.  
  718. ; How many bytes to read from the file.
  719. session.entropy_length = 0
  720.  
  721. ; Specified here to create the session id.
  722. session.entropy_file =
  723.  
  724. ;session.entropy_length = 16
  725.  
  726. ;session.entropy_file = /dev/urandom
  727.  
  728. ; Set to {nocache,private,public} to determine HTTP caching aspects.
  729. session.cache_limiter = nocache
  730.  
  731. ; Document expires after n minutes.
  732. session.cache_expire = 180
  733.  
  734. ; use transient sid support if enabled by compiling with --enable-trans-sid.
  735. session.use_trans_sid = 1
  736.  
  737. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  738.  
  739. [MSSQL]
  740. ; Allow or prevent persistent links.
  741. mssql.allow_persistent = On
  742.  
  743. ; Maximum number of persistent links.  -1 means no limit.
  744. mssql.max_persistent = -1
  745.  
  746. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  747. mssql.max_links = -1
  748.  
  749. ; Minimum error severity to display.
  750. mssql.min_error_severity = 10
  751.  
  752. ; Minimum message severity to display.
  753. mssql.min_message_severity = 10
  754.  
  755. ; Compatability mode with old versions of PHP 3.0.
  756. mssql.compatability_mode = Off
  757.  
  758. ; Valid range 0 - 2147483647.  Default = 4096.
  759. ;mssql.textlimit = 4096
  760.  
  761. ; Valid range 0 - 2147483647.  Default = 4096.
  762. ;mssql.textsize = 4096
  763.  
  764. ; Limits the number of records in each batch.  0 = all records in one batch.
  765. ;mssql.batchsize = 0
  766.  
  767. [Assertion]
  768. ; Assert(expr); active by default.
  769. ;assert.active = On
  770.  
  771. ; Issue a PHP warning for each failed assertion.
  772. ;assert.warning = On
  773.  
  774. ; Don't bail out by default.
  775. ;assert.bail = Off
  776.  
  777. ; User-function to be called if an assertion fails.
  778. ;assert.callback = 0
  779.  
  780. ; Eval the expression with current error_reporting().  Set to true if you want
  781. ; error_reporting(0) around the eval().
  782. ;assert.quiet_eval = 0
  783.  
  784. [Ingres II]
  785. ; Allow or prevent persistent links.
  786. ingres.allow_persistent = On
  787.  
  788. ; Maximum number of persistent links.  -1 means no limit.
  789. ingres.max_persistent = -1
  790.  
  791. ; Maximum number of links, including persistents.  -1 means no limit.
  792. ingres.max_links = -1
  793.  
  794. ; Default database (format: [node_id::]dbname[/srv_class]).
  795. ingres.default_database =
  796.  
  797. ; Default user.
  798. ingres.default_user =
  799.  
  800. ; Default password.
  801. ingres.default_password =
  802.  
  803. [Verisign Payflow Pro]
  804. ; Default Payflow Pro server.
  805. pfpro.defaulthost = "test-payflow.verisign.com"
  806.  
  807. ; Default port to connect to.
  808. pfpro.defaultport = 443
  809.  
  810. ; Default timeout in seconds.
  811. pfpro.defaulttimeout = 30
  812.  
  813. ; Default proxy IP address (if required).
  814. ;pfpro.proxyaddress =
  815.  
  816. ; Default proxy port.
  817. ;pfpro.proxyport =
  818.  
  819. ; Default proxy logon.
  820. ;pfpro.proxylogon =
  821.  
  822. ; Default proxy password.
  823. ;pfpro.proxypassword =
  824.  
  825. [Sockets]
  826. ; Use the system read() function instead of the php_read() wrapper.
  827. sockets.use_system_read = On
  828.  
  829. [com]
  830. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  831. ;com.typelib_file = 
  832. ; allow Distributed-COM calls
  833. ;com.allow_dcom = true
  834. ; autoregister constants of a components typlib on com_load()
  835. ;com.autoregister_typelib = true
  836. ; register constants casesensitive
  837. ;com.autoregister_casesensitive = false
  838. ; show warnings on duplicate constat registrations
  839. ;com.autoregister_verbose = true
  840.  
  841. [Printer]
  842. ;printer.default_printer = ""
  843.  
  844. [mbstring]
  845. ;mbstring.internal_encoding = EUC-JP
  846. ;mbstring.http_input = auto
  847. ;mbstring.http_output = SJIS
  848. ;mbstring.detect_order = auto
  849. ;mbstring.substitute_character = none;
  850.  
  851. [FrontBase]
  852. ;fbsql.allow_persistant = On
  853. ;fbsql.autocommit = On
  854. ;fbsql.default_database = 
  855. ;fbsql.default_database_password =
  856. ;fbsql.default_host =
  857. ;fbsql.default_password =
  858. ;fbsql.default_user = "_SYSTEM"
  859. ;fbsql.generate_warnings = Off
  860. ;fbsql.max_connections = 128
  861. ;fbsql.max_links = 128
  862. ;fbsql.max_persistent = -1
  863. ;fbsql.max_results = 128
  864. ;fbsql.mbatchSize = 1000
  865.  
  866. ; Local Variables:
  867. ; tab-width: 4
  868. ; End:
  869.