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