home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 September / PCWorld_2002-09_cd.bin / Komunik / php422 / php-4.2.2-installer.exe / PHP.INI < prev    next >
Encoding:
INI File  |  2002-07-22  |  28.3 KB  |  883 lines

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