home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2006 December / PCpro_2006_12.ISO / ossdvd / server / Apache / php.ini < prev    next >
Encoding:
INI File  |  2006-05-19  |  28.8 KB  |  896 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.  
  279. ;;;;;;;;;;;;;;;;;
  280. ; Data Handling ;
  281. ;;;;;;;;;;;;;;;;;
  282. ;
  283. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  284.  
  285. ; The separator used in PHP generated URLs to separate arguments.
  286. ; Default is "&". 
  287. ;arg_separator.output = "&"
  288.  
  289. ; List of separator(s) used by PHP to parse input URLs into variables.
  290. ; Default is "&". 
  291. ; NOTE: Every character in this directive is considered as separator!
  292. ;arg_separator.input = ";&"
  293.  
  294. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  295. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  296. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  297. ; values override older values.
  298. variables_order = "EGPCS"
  299.  
  300. ; Whether or not to register the EGPCS variables as global variables.  You may
  301. ; want to turn this off if you don't want to clutter your scripts' global scope
  302. ; with user data.  This makes most sense when coupled with track_vars - in which
  303. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  304. ; variables.
  305. ;
  306. ; You should do your best to write your scripts so that they do not require
  307. ; register_globals to be on;  Using form variables as globals can easily lead
  308. ; to possible security problems, if the code is not very well thought of.
  309. register_globals = On
  310.  
  311. ; This directive tells PHP whether to declare the argv&argc variables (that
  312. ; would contain the GET information).  If you don't use these variables, you
  313. ; should turn it off for increased performance.
  314. register_argc_argv = On
  315.  
  316. ; Maximum size of POST data that PHP will accept.
  317. post_max_size = 8M
  318.  
  319. ; This directive is deprecated.  Use variables_order instead.
  320. gpc_order = "GPC"
  321.  
  322. ; Magic quotes
  323. ;
  324.  
  325. ; Magic quotes for incoming GET/POST/Cookie data.
  326. magic_quotes_gpc = On
  327.  
  328. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  329. magic_quotes_runtime = Off    
  330.  
  331. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  332. magic_quotes_sybase = Off
  333.  
  334. ; Automatically add files before or after any PHP document.
  335. auto_prepend_file =
  336. auto_append_file =
  337.  
  338. ; As of 4.0b4, PHP always outputs a character encoding by default in
  339. ; the Content-type: header.  To disable sending of the charset, simply
  340. ; set it to be empty.
  341. ;
  342. ; PHP's built-in default is text/html
  343. default_mimetype = "text/html"
  344. ;default_charset = "iso-8859-1"
  345.  
  346. ; Always populate the $HTTP_RAW_POST_DATA variable.
  347. ;always_populate_raw_post_data = On
  348.  
  349. ;;;;;;;;;;;;;;;;;;;;;;;;;
  350. ; Paths and Directories ;
  351. ;;;;;;;;;;;;;;;;;;;;;;;;;
  352.  
  353. ; UNIX: "/path1:/path2"  
  354. ;include_path = ".:/php/includes"
  355. ;
  356. ; Windows: "\path1;\path2"
  357. include_path = ".;%CDPMS:SRVDIR%php\PEAR"
  358.  
  359. ; The root of the PHP pages, used only if nonempty.
  360. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  361. ; if you are running php as a CGI under any web server (other than IIS)
  362. ; see documentation for security issues.  The alternate is to use the
  363. ; cgi.force_redirect configuration below
  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 ="%CDPMS:SRVDIR%php\ext"
  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. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  379. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  380. ; turn it off here AT YOUR OWN RISK
  381. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  382. ; cgi.force_redirect = 1
  383.  
  384. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
  385. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  386. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  387. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  388. ; cgi.redirect_status_env = ;
  389.  
  390. ;;;;;;;;;;;;;;;;
  391. ; File Uploads ;
  392. ;;;;;;;;;;;;;;;;
  393.  
  394. ; Whether to allow HTTP file uploads.
  395. file_uploads = On
  396.  
  397. ; Temporary directory for HTTP uploaded files (will use system default if not
  398. ; specified).
  399. ;upload_tmp_dir =
  400.  
  401. ; Maximum allowed size for uploaded files.
  402. upload_max_filesize = 2M
  403.  
  404.  
  405. ;;;;;;;;;;;;;;;;;;
  406. ; Fopen wrappers ;
  407. ;;;;;;;;;;;;;;;;;;
  408.  
  409. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  410. allow_url_fopen = On
  411.  
  412. ; Define the anonymous ftp password (your email address)
  413. ;from="john@doe.com"
  414.  
  415.  
  416. ;;;;;;;;;;;;;;;;;;;;;;
  417. ; Dynamic Extensions ;
  418. ;;;;;;;;;;;;;;;;;;;;;;
  419. ;
  420. ; If you wish to have an extension loaded automatically, use the following
  421. ; syntax:
  422. ;
  423. ;   extension=modulename.extension
  424. ;
  425. ; For example, on Windows:
  426. ;
  427. ;   extension=msql.dll
  428. ;
  429. ; ... or under UNIX:
  430. ;
  431. ;   extension=msql.so
  432. ;
  433. ; Note that it should be the name of the module only; no directory information 
  434. ; needs to go here.  Specify the location of the extension with the
  435. ; extension_dir directive above.
  436.  
  437.  
  438. ;Windows Extensions
  439. ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
  440. ;
  441. ;extension=php_bz2.dll
  442. ;extension=php_ctype.dll
  443. ;extension=php_cpdf.dll
  444. ;extension=php_curl.dll
  445. ;extension=php_cybercash.dll
  446. ;extension=php_db.dll
  447. ;extension=php_dba.dll
  448. ;extension=php_dbase.dll
  449. ;extension=php_dbx.dll
  450. ;extension=php_domxml.dll
  451. ;extension=php_dotnet.dll
  452. ;extension=php_exif.dll
  453. ;extension=php_fbsql.dll
  454. ;extension=php_fdf.dll
  455. ;extension=php_filepro.dll
  456. extension=php_gd2.dll
  457. ;extension=php_gettext.dll
  458. ;extension=php_hyperwave.dll
  459. ;extension=php_iconv.dll
  460. ;extension=php_ifx.dll
  461. ;extension=php_iisfunc.dll
  462. ;extension=php_imap.dll
  463. ;extension=php_ingres.dll
  464. ;extension=php_interbase.dll
  465. ;extension=php_java.dll
  466. ;extension=php_ldap.dll
  467. ;extension=php_mbstring.dll
  468. ;extension=php_mcrypt.dll
  469. ;extension=php_mhash.dll
  470. ;extension=php_ming.dll
  471. extension=php_mssql.dll
  472. ;extension=php_oci8.dll
  473. ;extension=php_openssl.dll
  474. ;extension=php_oracle.dll
  475. ;extension=php_pdf.dll
  476. ;extension=php_pgsql.dll
  477. ;extension=php_printer.dll
  478. ;extension=php_shmop.dll
  479. ;extension=php_snmp.dll
  480. ;extension=php_sockets.dll
  481. ;extension=php_sybase_ct.dll
  482. ;extension=php_tokenizer.dll
  483. ;extension=php_w32api.dll
  484. ;extension=php_xslt.dll
  485. ;extension=php_yaz.dll
  486. ;extension=php_zlib.dll
  487. extension=php_pdo.dll
  488. extension=php_sqlite.dll
  489. extension=php_mysql.dll
  490. extension=php_mysqli.dll
  491. extension=php_pdo_sqlite.dll
  492. extension=php_pdo_pgsql.dll
  493. extension=php_pdo_mysql.dll
  494.  
  495.  
  496.  
  497. ;;;;;;;;;;;;;;;;;;;
  498. ; Module Settings ;
  499. ;;;;;;;;;;;;;;;;;;;
  500.  
  501. [Syslog]
  502. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  503. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  504. ; runtime, you can define these variables by calling define_syslog_variables().
  505. define_syslog_variables  = Off
  506.  
  507. [mail function]
  508. ; For Win32 only.
  509. SMTP = localhost
  510.  
  511. ; For Win32 only.
  512. sendmail_from = me@localhost.com
  513.  
  514. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  515. ;sendmail_path =
  516.  
  517. [Java]
  518. ;java.class.path = .\php_java.jar
  519. ;java.home = c:\jdk
  520. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
  521. ;java.library.path = .\
  522.  
  523. [SQL]
  524. sql.safe_mode = Off
  525.  
  526. [ODBC]
  527. ;odbc.default_db    =  Not yet implemented
  528. ;odbc.default_user  =  Not yet implemented
  529. ;odbc.default_pw    =  Not yet implemented
  530.  
  531. ; Allow or prevent persistent links.
  532. odbc.allow_persistent = On
  533.  
  534. ; Check that a connection is still valid before reuse.
  535. odbc.check_persistent = On
  536.  
  537. ; Maximum number of persistent links.  -1 means no limit.
  538. odbc.max_persistent = -1
  539.  
  540. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  541. odbc.max_links = -1  
  542.  
  543. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  544. ; passthru.
  545. odbc.defaultlrl = 4096  
  546.  
  547. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  548. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  549. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  550. odbc.defaultbinmode = 1  
  551.  
  552. [MySQL]
  553. ; Allow or prevent persistent links.
  554. mysql.allow_persistent = On
  555.  
  556. ; Maximum number of persistent links.  -1 means no limit.
  557. mysql.max_persistent = -1
  558.  
  559. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  560. mysql.max_links = -1
  561.  
  562. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  563. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  564. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  565. ; at MYSQL_PORT.
  566. mysql.default_port = %CDPMS:MYSQLPRT%
  567.  
  568. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  569. ; MySQL defaults.
  570. mysql.default_socket =
  571.  
  572. ; Default host for mysql_connect() (doesn't apply in safe mode).
  573. mysql.default_host =
  574.  
  575. ; Default user for mysql_connect() (doesn't apply in safe mode).
  576. mysql.default_user =
  577.  
  578. ; Default password for mysql_connect() (doesn't apply in safe mode).
  579. ; Note that this is generally a *bad* idea to store passwords in this file.
  580. ; *Any* user with PHP access can run 'echo cfg_get_var("mysql.default_password")
  581. ; and reveal this password!  And of course, any users with read access to this
  582. ; file will be able to reveal the password as well.
  583. mysql.default_password =
  584.  
  585. [mSQL]
  586. ; Allow or prevent persistent links.
  587. msql.allow_persistent = On
  588.  
  589. ; Maximum number of persistent links.  -1 means no limit.
  590. msql.max_persistent = -1
  591.  
  592. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  593. msql.max_links = -1
  594.  
  595. [PostgresSQL]
  596. ; Allow or prevent persistent links.
  597. pgsql.allow_persistent = On
  598.  
  599. ; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
  600. pgsql.auto_reset_persistent = Off 
  601.  
  602. ; Maximum number of persistent links.  -1 means no limit.
  603. pgsql.max_persistent = -1
  604.  
  605. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  606. pgsql.max_links = -1
  607.  
  608. [Sybase]
  609. ; Allow or prevent persistent links.
  610. sybase.allow_persistent = On
  611.  
  612. ; Maximum number of persistent links.  -1 means no limit.
  613. sybase.max_persistent = -1
  614.  
  615. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  616. sybase.max_links = -1
  617.  
  618. ;sybase.interface_file = "/usr/sybase/interfaces"
  619.  
  620. ; Minimum error severity to display.
  621. sybase.min_error_severity = 10
  622.  
  623. ; Minimum message severity to display.
  624. sybase.min_message_severity = 10
  625.  
  626. ; Compatability mode with old versions of PHP 3.0.
  627. ; If on, this will cause PHP to automatically assign types to results according
  628. ; to their Sybase type, instead of treating them all as strings.  This
  629. ; compatability mode will probably not stay around forever, so try applying
  630. ; whatever necessary changes to your code, and turn it off.
  631. sybase.compatability_mode = Off
  632.  
  633. [Sybase-CT]
  634. ; Allow or prevent persistent links.
  635. sybct.allow_persistent = On
  636.  
  637. ; Maximum number of persistent links.  -1 means no limit.
  638. sybct.max_persistent = -1
  639.  
  640. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  641. sybct.max_links = -1
  642.  
  643. ; Minimum server message severity to display.
  644. sybct.min_server_severity = 10
  645.  
  646. ; Minimum client message severity to display.
  647. sybct.min_client_severity = 10
  648.  
  649. [bcmath]
  650. ; Number of decimal digits for all bcmath functions.
  651. bcmath.scale = 0
  652.  
  653. [browscap]
  654. ;browscap = extra/browscap.ini
  655.  
  656. [Informix]
  657. ; Default host for ifx_connect() (doesn't apply in safe mode).
  658. ifx.default_host =
  659.  
  660. ; Default user for ifx_connect() (doesn't apply in safe mode).
  661. ifx.default_user =
  662.  
  663. ; Default password for ifx_connect() (doesn't apply in safe mode).
  664. ifx.default_password =
  665.  
  666. ; Allow or prevent persistent links.
  667. ifx.allow_persistent = On
  668.  
  669. ; Maximum number of persistent links.  -1 means no limit.
  670. ifx.max_persistent = -1
  671.  
  672. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  673. ifx.max_links = -1
  674.  
  675. ; If on, select statements return the contents of a text blob instead of its id.
  676. ifx.textasvarchar = 0
  677.  
  678. ; If on, select statements return the contents of a byte blob instead of its id.
  679. ifx.byteasvarchar = 0
  680.  
  681. ; Trailing blanks are stripped from fixed-length char columns.  May help the
  682. ; life of Informix SE users.
  683. ifx.charasvarchar = 0
  684.  
  685. ; If on, the contents of text and byte blobs are dumped to a file instead of
  686. ; keeping them in memory.
  687. ifx.blobinfile = 0
  688.  
  689. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
  690. ; NULL's are returned as string 'NULL'.
  691. ifx.nullformat = 0
  692.  
  693. [Session]
  694. ; Handler used to store/retrieve data.
  695. session.save_handler = files
  696.  
  697. ; Argument passed to save_handler.  In the case of files, this is the path
  698. ; where data files are stored. Note: Windows users have to change this 
  699. ; variable in order to use PHP's session functions.
  700. session.save_path = "%CDPMS:RTDIR%session\"
  701.  
  702. ; Whether to use cookies.
  703. session.use_cookies = 1
  704.  
  705.  
  706. ; Name of the session (used as cookie name).
  707. session.name = PHPSESSID
  708.  
  709. ; Initialize session on request startup.
  710. session.auto_start = 0
  711.  
  712. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  713. session.cookie_lifetime = 0
  714.  
  715. ; The path for which the cookie is valid.
  716. session.cookie_path = /
  717.  
  718. ; The domain for which the cookie is valid.
  719. session.cookie_domain =
  720.  
  721. ; Handler used to serialize data.  php is the standard serializer of PHP.
  722. session.serialize_handler = php
  723.  
  724. ; Percentual probability that the 'garbage collection' process is started
  725. ; on every session initialization.
  726. session.gc_probability = 1
  727.  
  728. ; After this number of seconds, stored data will be seen as 'garbage' and
  729. ; cleaned up by the garbage collection process.
  730. session.gc_maxlifetime = 1440
  731.  
  732. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  733. ; HTTP_REFERER has to contain this substring for the session to be
  734. ; considered as valid.
  735. session.referer_check =
  736.  
  737. ; How many bytes to read from the file.
  738. session.entropy_length = 0
  739.  
  740. ; Specified here to create the session id.
  741. session.entropy_file =
  742.  
  743. ;session.entropy_length = 16
  744.  
  745. ;session.entropy_file = /dev/urandom
  746.  
  747. ; Set to {nocache,private,public} to determine HTTP caching aspects.
  748. session.cache_limiter = nocache
  749.  
  750. ; Document expires after n minutes.
  751. session.cache_expire = 180
  752.  
  753. ; trans sid support is disabled by default.
  754. ; Use of trans sid may risk your users security. 
  755. ; Use this option with caution.
  756. ; - User may send URL contains active session ID
  757. ;   to other person via. email/irc/etc.
  758. ; - URL that contains active session ID may be stored
  759. ;   in publically accessible computer.
  760. ; - User may access your site with the same session ID
  761. ;   always using URL stored in browser's history or bookmarks.
  762. session.use_trans_sid = 0
  763.  
  764. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  765.  
  766. [MSSQL]
  767. ; Allow or prevent persistent links.
  768. mssql.allow_persistent = On
  769.  
  770. ; Maximum number of persistent links.  -1 means no limit.
  771. mssql.max_persistent = -1
  772.  
  773. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  774. mssql.max_links = -1
  775.  
  776. ; Minimum error severity to display.
  777. mssql.min_error_severity = 10
  778.  
  779. ; Minimum message severity to display.
  780. mssql.min_message_severity = 10
  781.  
  782. ; Compatability mode with old versions of PHP 3.0.
  783. mssql.compatability_mode = Off
  784.  
  785. ; Valid range 0 - 2147483647.  Default = 4096.
  786. ;mssql.textlimit = 4096
  787.  
  788. ; Valid range 0 - 2147483647.  Default = 4096.
  789. ;mssql.textsize = 4096
  790.  
  791. ; Limits the number of records in each batch.  0 = all records in one batch.
  792. ;mssql.batchsize = 0
  793.  
  794. [Assertion]
  795. ; Assert(expr); active by default.
  796. ;assert.active = On
  797.  
  798. ; Issue a PHP warning for each failed assertion.
  799. ;assert.warning = On
  800.  
  801. ; Don't bail out by default.
  802. ;assert.bail = Off
  803.  
  804. ; User-function to be called if an assertion fails.
  805. ;assert.callback = 0
  806.  
  807. ; Eval the expression with current error_reporting().  Set to true if you want
  808. ; error_reporting(0) around the eval().
  809. ;assert.quiet_eval = 0
  810.  
  811. [Ingres II]
  812. ; Allow or prevent persistent links.
  813. ingres.allow_persistent = On
  814.  
  815. ; Maximum number of persistent links.  -1 means no limit.
  816. ingres.max_persistent = -1
  817.  
  818. ; Maximum number of links, including persistents.  -1 means no limit.
  819. ingres.max_links = -1
  820.  
  821. ; Default database (format: [node_id::]dbname[/srv_class]).
  822. ingres.default_database =
  823.  
  824. ; Default user.
  825. ingres.default_user =
  826.  
  827. ; Default password.
  828. ingres.default_password =
  829.  
  830. [Verisign Payflow Pro]
  831. ; Default Payflow Pro server.
  832. pfpro.defaulthost = "test-payflow.verisign.com"
  833.  
  834. ; Default port to connect to.
  835. pfpro.defaultport = 443
  836.  
  837. ; Default timeout in seconds.
  838. pfpro.defaulttimeout = 30
  839.  
  840. ; Default proxy IP address (if required).
  841. ;pfpro.proxyaddress =
  842.  
  843. ; Default proxy port.
  844. ;pfpro.proxyport =
  845.  
  846. ; Default proxy logon.
  847. ;pfpro.proxylogon =
  848.  
  849. ; Default proxy password.
  850. ;pfpro.proxypassword =
  851.  
  852. [Sockets]
  853. ; Use the system read() function instead of the php_read() wrapper.
  854. sockets.use_system_read = On
  855.  
  856. [com]
  857. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  858. ;com.typelib_file = 
  859. ; allow Distributed-COM calls
  860. ;com.allow_dcom = true
  861. ; autoregister constants of a components typlib on com_load()
  862. ;com.autoregister_typelib = true
  863. ; register constants casesensitive
  864. ;com.autoregister_casesensitive = false
  865. ; show warnings on duplicate constat registrations
  866. ;com.autoregister_verbose = true
  867.  
  868. [Printer]
  869. ;printer.default_printer = ""
  870.  
  871. [mbstring]
  872. ;mbstring.internal_encoding = EUC-JP
  873. ;mbstring.http_input = auto
  874. ;mbstring.http_output = SJIS
  875. ;mbstring.detect_order = auto
  876. ;mbstring.substitute_character = none;
  877.  
  878. [FrontBase]
  879. ;fbsql.allow_persistent = On
  880. ;fbsql.autocommit = On
  881. ;fbsql.default_database = 
  882. ;fbsql.default_database_password =
  883. ;fbsql.default_host =
  884. ;fbsql.default_password =
  885. ;fbsql.default_user = "_SYSTEM"
  886. ;fbsql.generate_warnings = Off
  887. ;fbsql.max_connections = 128
  888. ;fbsql.max_links = 128
  889. ;fbsql.max_persistent = -1
  890. ;fbsql.max_results = 128
  891. ;fbsql.batchSize = 1000
  892.  
  893. ; Local Variables:
  894. ; tab-width: 4
  895. ; End:
  896.