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