PageRenderTime 30ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 1ms

/recipes/modphp/files/php.ini

https://bitbucket.org/lokkju/openpli-oe
INI | 1203 lines | 177 code | 239 blank | 787 comment | 0 complexity | 2761a3be0ef1d7b5159ee45eb1937885 MD5 | raw file
Possible License(s): BSD-3-Clause, GPL-2.0, GPL-3.0, LGPL-2.0, LGPL-2.1, LGPL-3.0
  1. [PHP]
  2. ;;;;;;;;;;;
  3. ; WARNING ;
  4. ;;;;;;;;;;;
  5. ; This is the default settings file for new PHP installations.
  6. ; By default, PHP installs itself with a configuration suitable for
  7. ; development purposes, and *NOT* for production purposes.
  8. ; For several security-oriented considerations that should be taken
  9. ; before going online with your site, please consult php.ini-recommended
  10. ; and http://php.net/manual/en/security.php.
  11. ;;;;;;;;;;;;;;;;;;;
  12. ; About php.ini ;
  13. ;;;;;;;;;;;;;;;;;;;
  14. ; This file controls many aspects of PHP's behavior. In order for PHP to
  15. ; read it, it must be named 'php.ini'. PHP looks for it in the current
  16. ; working directory, in the path designated by the environment variable
  17. ; PHPRC, and in the path that was defined in compile time (in that order).
  18. ; Under Windows, the compile-time path is the Windows directory. The
  19. ; path in which the php.ini file is looked for can be overridden using
  20. ; the -c argument in command line mode.
  21. ;
  22. ; The syntax of the file is extremely simple. Whitespace and Lines
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
  25. ; they might mean something in the future.
  26. ;
  27. ; Directives are specified using the following syntax:
  28. ; directive = value
  29. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
  30. ;
  31. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
  32. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
  33. ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
  34. ;
  35. ; Expressions in the INI file are limited to bitwise operators and parentheses:
  36. ; | bitwise OR
  37. ; & bitwise AND
  38. ; ~ bitwise NOT
  39. ; ! boolean NOT
  40. ;
  41. ; Boolean flags can be turned on using the values 1, On, True or Yes.
  42. ; They can be turned off using the values 0, Off, False or No.
  43. ;
  44. ; An empty string can be denoted by simply not writing anything after the equal
  45. ; sign, or by using the None keyword:
  46. ;
  47. ; foo = ; sets foo to an empty string
  48. ; foo = none ; sets foo to an empty string
  49. ; foo = "none" ; sets foo to the string 'none'
  50. ;
  51. ; If you use constants in your value, and these constants belong to a
  52. ; dynamically loaded extension (either a PHP extension or a Zend extension),
  53. ; you may only use these constants *after* the line that loads the extension.
  54. ;
  55. ;
  56. ;;;;;;;;;;;;;;;;;;;
  57. ; About this file ;
  58. ;;;;;;;;;;;;;;;;;;;
  59. ; All the values in the php.ini-dist file correspond to the builtin
  60. ; defaults (that is, if no php.ini is used, or if you delete these lines,
  61. ; the builtin defaults will be identical).
  62. ;;;;;;;;;;;;;;;;;;;;
  63. ; Language Options ;
  64. ;;;;;;;;;;;;;;;;;;;;
  65. ; Enable the PHP scripting language engine under Apache.
  66. engine = On
  67. ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
  68. zend.ze1_compatibility_mode = Off
  69. ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
  70. ; NOTE: Using short tags should be avoided when developing applications or
  71. ; libraries that are meant for redistribution, or deployment on PHP
  72. ; servers which are not under your control, because short tags may not
  73. ; be supported on the target server. For portable, redistributable code,
  74. ; be sure not to use short tags.
  75. short_open_tag = On
  76. ; Allow ASP-style <% %> tags.
  77. asp_tags = Off
  78. ; The number of significant digits displayed in floating point numbers.
  79. precision = 12
  80. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  81. y2k_compliance = On
  82. ; Output buffering allows you to send header lines (including cookies) even
  83. ; after you send body content, at the price of slowing PHP's output layer a
  84. ; bit. You can enable output buffering during runtime by calling the output
  85. ; buffering functions. You can also enable output buffering for all files by
  86. ; setting this directive to On. If you wish to limit the size of the buffer
  87. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  88. ; a value for this directive (e.g., output_buffering=4096).
  89. output_buffering = 4096
  90. ; You can redirect all of the output of your scripts to a function. For
  91. ; example, if you set output_handler to "mb_output_handler", character
  92. ; encoding will be transparently converted to the specified encoding.
  93. ; Setting any output handler automatically turns on output buffering.
  94. ; Note: People who wrote portable scripts should not depend on this ini
  95. ; directive. Instead, explicitly set the output handler using ob_start().
  96. ; Using this ini directive may cause problems unless you know what script
  97. ; is doing.
  98. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  99. ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
  100. ; Note: output_handler must be empty if this is set 'On' !!!!
  101. ; Instead you must use zlib.output_handler.
  102. ;output_handler =
  103. ; Transparent output compression using the zlib library
  104. ; Valid values for this option are 'off', 'on', or a specific buffer size
  105. ; to be used for compression (default is 4KB)
  106. ; Note: Resulting chunk size may vary due to nature of compression. PHP
  107. ; outputs chunks that are few hundreds bytes each as a result of
  108. ; compression. If you prefer a larger chunk size for better
  109. ; performance, enable output_buffering in addition.
  110. ; Note: You need to use zlib.output_handler instead of the standard
  111. ; output_handler, or otherwise the output will be corrupted.
  112. zlib.output_compression = Off
  113. ; You cannot specify additional output handlers if zlib.output_compression
  114. ; is activated here. This setting does the same as output_handler but in
  115. ; a different order.
  116. ;zlib.output_handler =
  117. ; Implicit flush tells PHP to tell the output layer to flush itself
  118. ; automatically after every output block. This is equivalent to calling the
  119. ; PHP function flush() after each and every call to print() or echo() and each
  120. ; and every HTML block. Turning this option on has serious performance
  121. ; implications and is generally recommended for debugging purposes only.
  122. implicit_flush = Off
  123. ; The unserialize callback function will be called (with the undefined class'
  124. ; name as parameter), if the unserializer finds an undefined class
  125. ; which should be instantiated.
  126. ; A warning appears if the specified function is not defined, or if the
  127. ; function doesn't include/implement the missing class.
  128. ; So only set this entry, if you really want to implement such a
  129. ; callback-function.
  130. unserialize_callback_func=
  131. ; When floats & doubles are serialized store serialize_precision significant
  132. ; digits after the floating point. The default value ensures that when floats
  133. ; are decoded with unserialize, the data will remain the same.
  134. serialize_precision = 100
  135. ; Whether to enable the ability to force arguments to be passed by reference
  136. ; at function call time. This method is deprecated and is likely to be
  137. ; unsupported in future versions of PHP/Zend. The encouraged method of
  138. ; specifying which arguments should be passed by reference is in the function
  139. ; declaration. You're encouraged to try and turn this option Off and make
  140. ; sure your scripts work properly with it in order to ensure they will work
  141. ; with future versions of the language (you will receive a warning each time
  142. ; you use this feature, and the argument will be passed by value instead of by
  143. ; reference).
  144. allow_call_time_pass_reference = On
  145. ;
  146. ; Safe Mode
  147. ;
  148. safe_mode = Off
  149. ; By default, Safe Mode does a UID compare check when
  150. ; opening files. If you want to relax this to a GID compare,
  151. ; then turn on safe_mode_gid.
  152. safe_mode_gid = Off
  153. ; When safe_mode is on, UID/GID checks are bypassed when
  154. ; including files from this directory and its subdirectories.
  155. ; (directory must also be in include_path or full path must
  156. ; be used when including)
  157. safe_mode_include_dir =
  158. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  159. ; will be allowed to be executed via the exec family of functions.
  160. safe_mode_exec_dir =
  161. ; Setting certain environment variables may be a potential security breach.
  162. ; This directive contains a comma-delimited list of prefixes. In Safe Mode,
  163. ; the user may only alter environment variables whose names begin with the
  164. ; prefixes supplied here. By default, users will only be able to set
  165. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  166. ;
  167. ; Note: If this directive is empty, PHP will let the user modify ANY
  168. ; environment variable!
  169. safe_mode_allowed_env_vars = PHP_
  170. ; This directive contains a comma-delimited list of environment variables that
  171. ; the end user won't be able to change using putenv(). These variables will be
  172. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  173. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  174. ; open_basedir, if set, limits all file operations to the defined directory
  175. ; and below. This directive makes most sense if used in a per-directory
  176. ; or per-virtualhost web server configuration file. This directive is
  177. ; *NOT* affected by whether Safe Mode is turned On or Off.
  178. ;open_basedir =
  179. ; This directive allows you to disable certain functions for security reasons.
  180. ; It receives a comma-delimited list of function names. This directive is
  181. ; *NOT* affected by whether Safe Mode is turned On or Off.
  182. disable_functions =
  183. ; This directive allows you to disable certain classes for security reasons.
  184. ; It receives a comma-delimited list of class names. This directive is
  185. ; *NOT* affected by whether Safe Mode is turned On or Off.
  186. disable_classes =
  187. ; Colors for Syntax Highlighting mode. Anything that's acceptable in
  188. ; <span style="color: ???????"> would work.
  189. ;highlight.string = #DD0000
  190. ;highlight.comment = #FF9900
  191. ;highlight.keyword = #007700
  192. ;highlight.bg = #FFFFFF
  193. ;highlight.default = #0000BB
  194. ;highlight.html = #000000
  195. ; If enabled, the request will be allowed to complete even if the user aborts
  196. ; the request. Consider enabling it if executing long request, which may end up
  197. ; being interrupted by the user or a browser timing out.
  198. ; ignore_user_abort = On
  199. ; Determines the size of the realpath cache to be used by PHP. This value should
  200. ; be increased on systems where PHP opens many files to reflect the quantity of
  201. ; the file operations performed.
  202. realpath_cache_size=16k
  203. ; Duration of time, in seconds for which to cache realpath information for a given
  204. ; file or directory. For systems with rarely changing files, consider increasing this
  205. ; value.
  206. realpath_cache_ttl=120
  207. ;
  208. ; Misc
  209. ;
  210. ; Decides whether PHP may expose the fact that it is installed on the server
  211. ; (e.g. by adding its signature to the Web server header). It is no security
  212. ; threat in any way, but it makes it possible to determine whether you use PHP
  213. ; on your server or not.
  214. expose_php = On
  215. ;;;;;;;;;;;;;;;;;;;
  216. ; Resource Limits ;
  217. ;;;;;;;;;;;;;;;;;;;
  218. max_execution_time = 30 ; Maximum execution time of each script, in seconds
  219. max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
  220. memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
  221. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  222. ; Error handling and logging ;
  223. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  224. ; error_reporting is a bit-field. Or each number up to get desired error
  225. ; reporting level
  226. ; E_ALL - All errors and warnings (doesn't include E_STRICT)
  227. ; E_ERROR - fatal run-time errors
  228. ; E_WARNING - run-time warnings (non-fatal errors)
  229. ; E_PARSE - compile-time parse errors
  230. ; E_NOTICE - run-time notices (these are warnings which often result
  231. ; from a bug in your code, but it's possible that it was
  232. ; intentional (e.g., using an uninitialized variable and
  233. ; relying on the fact it's automatically initialized to an
  234. ; empty string)
  235. ; E_STRICT - run-time notices, enable to have PHP suggest changes
  236. ; to your code which will ensure the best interoperability
  237. ; and forward compatibility of your code
  238. ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
  239. ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
  240. ; initial startup
  241. ; E_COMPILE_ERROR - fatal compile-time errors
  242. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  243. ; E_USER_ERROR - user-generated error message
  244. ; E_USER_WARNING - user-generated warning message
  245. ; E_USER_NOTICE - user-generated notice message
  246. ;
  247. ; Examples:
  248. ;
  249. ; - Show all errors, except for notices and coding standards warnings
  250. ;
  251. ;error_reporting = E_ALL & ~E_NOTICE
  252. ;
  253. ; - Show all errors, except for notices
  254. ;
  255. ;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
  256. ;
  257. ; - Show only errors
  258. ;
  259. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  260. ;
  261. ; - Show all errors except for notices and coding standards warnings
  262. ;
  263. error_reporting = E_ALL & ~E_NOTICE
  264. ; Print out errors (as a part of the output). For production web sites,
  265. ; you're strongly encouraged to turn this feature off, and use error logging
  266. ; instead (see below). Keeping display_errors enabled on a production web site
  267. ; may reveal security information to end users, such as file paths on your Web
  268. ; server, your database schema or other information.
  269. display_errors = Off
  270. ; Even when display_errors is on, errors that occur during PHP's startup
  271. ; sequence are not displayed. It's strongly recommended to keep
  272. ; display_startup_errors off, except for when debugging.
  273. display_startup_errors = Off
  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 = On
  278. ; Set maximum length of log_errors. In error_log information about the source is
  279. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  280. log_errors_max_len = 1024
  281. ; Do not log repeated messages. Repeated errors must occur in same file on same
  282. ; line until ignore_repeated_source is set true.
  283. ignore_repeated_errors = Off
  284. ; Ignore source of message when ignoring repeated messages. When this setting
  285. ; is On you will not log errors with repeated messages from different files or
  286. ; sourcelines.
  287. ignore_repeated_source = Off
  288. ; If this parameter is set to Off, then memory leaks will not be shown (on
  289. ; stdout or in the log). This has only effect in a debug compile, and if
  290. ; error reporting includes E_WARNING in the allowed list
  291. report_memleaks = On
  292. ; Store the last error/warning message in $php_errormsg (boolean).
  293. track_errors = Off
  294. ; Disable the inclusion of HTML tags in error messages.
  295. ; Note: Never use this feature for production boxes.
  296. ;html_errors = Off
  297. ; If html_errors is set On PHP produces clickable error messages that direct
  298. ; to a page describing the error or function causing the error in detail.
  299. ; You can download a copy of the PHP manual from http://www.php.net/docs.php
  300. ; and change docref_root to the base URL of your local copy including the
  301. ; leading '/'. You must also specify the file extension being used including
  302. ; the dot.
  303. ; Note: Never use this feature for production boxes.
  304. ;docref_root = "/phpmanual/"
  305. ;docref_ext = .html
  306. ; String to output before an error message.
  307. ;error_prepend_string = "<font color=ff0000>"
  308. ; String to output after an error message.
  309. ;error_append_string = "</font>"
  310. ; Log errors to specified file.
  311. error_log = "/var/log/php"
  312. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  313. ;error_log = syslog
  314. ;;;;;;;;;;;;;;;;;
  315. ; Data Handling ;
  316. ;;;;;;;;;;;;;;;;;
  317. ;
  318. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  319. ; The separator used in PHP generated URLs to separate arguments.
  320. ; Default is "&".
  321. ;arg_separator.output = "&amp;"
  322. ; List of separator(s) used by PHP to parse input URLs into variables.
  323. ; Default is "&".
  324. ; NOTE: Every character in this directive is considered as separator!
  325. ;arg_separator.input = ";&"
  326. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  327. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  328. ; referred to as EGPCS or GPC). Registration is done from left to right, newer
  329. ; values override older values.
  330. variables_order = "EGPCS"
  331. ; Whether or not to register the EGPCS variables as global variables. You may
  332. ; want to turn this off if you don't want to clutter your scripts' global scope
  333. ; with user data. This makes most sense when coupled with track_vars - in which
  334. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  335. ; variables.
  336. ;
  337. ; You should do your best to write your scripts so that they do not require
  338. ; register_globals to be on; Using form variables as globals can easily lead
  339. ; to possible security problems, if the code is not very well thought of.
  340. register_globals = Off
  341. ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
  342. ; and friends. If you're not using them, it's recommended to turn them off,
  343. ; for performance reasons.
  344. register_long_arrays = Off
  345. ; This directive tells PHP whether to declare the argv&argc variables (that
  346. ; would contain the GET information). If you don't use these variables, you
  347. ; should turn it off for increased performance.
  348. register_argc_argv = Off
  349. ; When enabled, the SERVER and ENV variables are created when they're first
  350. ; used (Just In Time) instead of when the script starts. If these variables
  351. ; are not used within a script, having this directive on will result in a
  352. ; performance gain. The PHP directives register_globals, register_long_arrays,
  353. ; and register_argc_argv must be disabled for this directive to have any affect.
  354. auto_globals_jit = On
  355. ; Maximum size of POST data that PHP will accept.
  356. post_max_size = 8M
  357. ; Magic quotes
  358. ;
  359. ; Magic quotes for incoming GET/POST/Cookie data.
  360. magic_quotes_gpc = On
  361. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  362. magic_quotes_runtime = Off
  363. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  364. magic_quotes_sybase = Off
  365. ; Automatically add files before or after any PHP document.
  366. auto_prepend_file =
  367. auto_append_file =
  368. ; As of 4.0b4, PHP always outputs a character encoding by default in
  369. ; the Content-type: header. To disable sending of the charset, simply
  370. ; set it to be empty.
  371. ;
  372. ; PHP's built-in default is text/html
  373. default_mimetype = "text/html"
  374. ;default_charset = "iso-8859-1"
  375. ; Always populate the $HTTP_RAW_POST_DATA variable.
  376. ;always_populate_raw_post_data = On
  377. ;;;;;;;;;;;;;;;;;;;;;;;;;
  378. ; Paths and Directories ;
  379. ;;;;;;;;;;;;;;;;;;;;;;;;;
  380. ; UNIX: "/path1:/path2"
  381. ;include_path = ".:/php/includes"
  382. ;
  383. ; Windows: "\path1;\path2"
  384. ;include_path = ".;c:\php\includes"
  385. ; The root of the PHP pages, used only if nonempty.
  386. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  387. ; if you are running php as a CGI under any web server (other than IIS)
  388. ; see documentation for security issues. The alternate is to use the
  389. ; cgi.force_redirect configuration below
  390. doc_root =
  391. ; The directory under which PHP opens the script using /~username used only
  392. ; if nonempty.
  393. user_dir =
  394. ; Directory in which the loadable extensions (modules) reside.
  395. extension_dir = "/usr/lib/extensions"
  396. ; Whether or not to enable the dl() function. The dl() function does NOT work
  397. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  398. ; disabled on them.
  399. enable_dl = On
  400. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  401. ; most web servers. Left undefined, PHP turns this on by default. You can
  402. ; turn it off here AT YOUR OWN RISK
  403. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  404. ; cgi.force_redirect = 1
  405. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  406. ; every request.
  407. ; cgi.nph = 1
  408. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  409. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  410. ; will look for to know it is OK to continue execution. Setting this variable MAY
  411. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  412. ; cgi.redirect_status_env = ;
  413. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  414. ; security tokens of the calling client. This allows IIS to define the
  415. ; security context that the request runs under. mod_fastcgi under Apache
  416. ; does not currently support this feature (03/17/2002)
  417. ; Set to 1 if running under IIS. Default is zero.
  418. ; fastcgi.impersonate = 1;
  419. ; Disable logging through FastCGI connection
  420. ; fastcgi.log = 0
  421. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  422. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  423. ; is supported by Apache. When this option is set to 1 PHP will send
  424. ; RFC2616 compliant header.
  425. ; Default is zero.
  426. ;cgi.rfc2616_headers = 0
  427. ;;;;;;;;;;;;;;;;
  428. ; File Uploads ;
  429. ;;;;;;;;;;;;;;;;
  430. ; Whether to allow HTTP file uploads.
  431. file_uploads = On
  432. ; Temporary directory for HTTP uploaded files (will use system default if not
  433. ; specified).
  434. ;upload_tmp_dir =
  435. ; Maximum allowed size for uploaded files.
  436. upload_max_filesize = 2M
  437. ;;;;;;;;;;;;;;;;;;
  438. ; Fopen wrappers ;
  439. ;;;;;;;;;;;;;;;;;;
  440. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  441. allow_url_fopen = On
  442. ; Define the anonymous ftp password (your email address)
  443. ;from="john@doe.com"
  444. ; Define the User-Agent string
  445. ; user_agent="PHP"
  446. ; Default timeout for socket based streams (seconds)
  447. default_socket_timeout = 60
  448. ; If your scripts have to deal with files from Macintosh systems,
  449. ; or you are running on a Mac and need to deal with files from
  450. ; unix or win32 systems, setting this flag will cause PHP to
  451. ; automatically detect the EOL character in those files so that
  452. ; fgets() and file() will work regardless of the source of the file.
  453. ; auto_detect_line_endings = Off
  454. ;;;;;;;;;;;;;;;;;;;;;;
  455. ; Dynamic Extensions ;
  456. ;;;;;;;;;;;;;;;;;;;;;;
  457. ;
  458. ; If you wish to have an extension loaded automatically, use the following
  459. ; syntax:
  460. ;
  461. ; extension=modulename.extension
  462. ;
  463. ; For example, on Windows:
  464. ;
  465. ; extension=msql.dll
  466. ;
  467. ; ... or under UNIX:
  468. ;
  469. ; extension=msql.so
  470. ;
  471. ; Note that it should be the name of the module only; no directory information
  472. ; needs to go here. Specify the location of the extension with the
  473. ; extension_dir directive above.
  474. ; Windows Extensions
  475. ; Note that ODBC support is built in, so no dll is needed for it.
  476. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
  477. ; extension folders as well as the separate PECL DLL download (PHP 5).
  478. ; Be sure to appropriately set the extension_dir directive.
  479. ;extension=php_mbstring.dll
  480. ;extension=php_bz2.dll
  481. ;extension=php_curl.dll
  482. ;extension=php_dba.dll
  483. ;extension=php_dbase.dll
  484. ;extension=php_exif.dll
  485. ;extension=php_fdf.dll
  486. ;extension=php_filepro.dll
  487. ;extension=php_gd2.dll
  488. ;extension=php_gettext.dll
  489. ;extension=php_ifx.dll
  490. ;extension=php_imap.dll
  491. ;extension=php_interbase.dll
  492. ;extension=php_ldap.dll
  493. ;extension=php_mcrypt.dll
  494. ;extension=php_mhash.dll
  495. ;extension=php_mime_magic.dll
  496. ;extension=php_ming.dll
  497. ;extension=php_mssql.dll
  498. ;extension=php_msql.dll
  499. ;extension=php_mysql.dll
  500. ;extension=php_oci8.dll
  501. ;extension=php_openssl.dll
  502. ;extension=php_oracle.dll
  503. ;extension=php_pgsql.dll
  504. ;extension=php_shmop.dll
  505. ;extension=php_snmp.dll
  506. ;extension=php_sockets.dll
  507. ;extension=php_sqlite.dll
  508. ;extension=php_sybase_ct.dll
  509. ;extension=php_tidy.dll
  510. ;extension=php_xmlrpc.dll
  511. ;extension=php_xsl.dll
  512. ;;;;;;;;;;;;;;;;;;;
  513. ; Module Settings ;
  514. ;;;;;;;;;;;;;;;;;;;
  515. [Date]
  516. ; Defines the default timezone used by the date functions
  517. ;date.timezone =
  518. [Syslog]
  519. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  520. ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
  521. ; runtime, you can define these variables by calling define_syslog_variables().
  522. define_syslog_variables = Off
  523. [mail function]
  524. ; For Win32 only.
  525. SMTP = localhost
  526. smtp_port = 25
  527. ; For Win32 only.
  528. ;sendmail_from = me@example.com
  529. ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
  530. ;sendmail_path =
  531. ; Force the addition of the specified parameters to be passed as extra parameters
  532. ; to the sendmail binary. These parameters will always replace the value of
  533. ; the 5th parameter to mail(), even in safe mode.
  534. ;mail.force_extra_parameters =
  535. [SQL]
  536. sql.safe_mode = Off
  537. [ODBC]
  538. ;odbc.default_db = Not yet implemented
  539. ;odbc.default_user = Not yet implemented
  540. ;odbc.default_pw = Not yet implemented
  541. ; Allow or prevent persistent links.
  542. odbc.allow_persistent = On
  543. ; Check that a connection is still valid before reuse.
  544. odbc.check_persistent = On
  545. ; Maximum number of persistent links. -1 means no limit.
  546. odbc.max_persistent = -1
  547. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  548. odbc.max_links = -1
  549. ; Handling of LONG fields. Returns number of bytes to variables. 0 means
  550. ; passthru.
  551. odbc.defaultlrl = 4096
  552. ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
  553. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  554. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  555. odbc.defaultbinmode = 1
  556. [MySQL]
  557. ; Allow or prevent persistent links.
  558. mysql.allow_persistent = On
  559. ; Maximum number of persistent links. -1 means no limit.
  560. mysql.max_persistent = -1
  561. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  562. mysql.max_links = -1
  563. ; Default port number for mysql_connect(). If unset, mysql_connect() will use
  564. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  565. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  566. ; at MYSQL_PORT.
  567. mysql.default_port =
  568. ; Default socket name for local MySQL connects. If empty, uses the built-in
  569. ; MySQL defaults.
  570. mysql.default_socket =
  571. ; Default host for mysql_connect() (doesn't apply in safe mode).
  572. mysql.default_host =
  573. ; Default user for mysql_connect() (doesn't apply in safe mode).
  574. mysql.default_user =
  575. ; Default password for mysql_connect() (doesn't apply in safe mode).
  576. ; Note that this is generally a *bad* idea to store passwords in this file.
  577. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  578. ; and reveal this password! And of course, any users with read access to this
  579. ; file will be able to reveal the password as well.
  580. mysql.default_password =
  581. ; Maximum time (in secondes) for connect timeout. -1 means no limit
  582. mysql.connect_timeout = 60
  583. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  584. ; SQL-Errors will be displayed.
  585. mysql.trace_mode = Off
  586. [MySQLi]
  587. ; Maximum number of links. -1 means no limit.
  588. mysqli.max_links = -1
  589. ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
  590. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  591. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  592. ; at MYSQL_PORT.
  593. mysqli.default_port = 3306
  594. ; Default socket name for local MySQL connects. If empty, uses the built-in
  595. ; MySQL defaults.
  596. mysqli.default_socket =
  597. ; Default host for mysql_connect() (doesn't apply in safe mode).
  598. mysqli.default_host =
  599. ; Default user for mysql_connect() (doesn't apply in safe mode).
  600. mysqli.default_user =
  601. ; Default password for mysqli_connect() (doesn't apply in safe mode).
  602. ; Note that this is generally a *bad* idea to store passwords in this file.
  603. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
  604. ; and reveal this password! And of course, any users with read access to this
  605. ; file will be able to reveal the password as well.
  606. mysqli.default_pw =
  607. ; Allow or prevent reconnect
  608. mysqli.reconnect = Off
  609. [mSQL]
  610. ; Allow or prevent persistent links.
  611. msql.allow_persistent = On
  612. ; Maximum number of persistent links. -1 means no limit.
  613. msql.max_persistent = -1
  614. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  615. msql.max_links = -1
  616. [PostgresSQL]
  617. ; Allow or prevent persistent links.
  618. pgsql.allow_persistent = On
  619. ; Detect broken persistent links always with pg_pconnect().
  620. ; Auto reset feature requires a little overheads.
  621. pgsql.auto_reset_persistent = Off
  622. ; Maximum number of persistent links. -1 means no limit.
  623. pgsql.max_persistent = -1
  624. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  625. pgsql.max_links = -1
  626. ; Ignore PostgreSQL backends Notice message or not.
  627. ; Notice message logging require a little overheads.
  628. pgsql.ignore_notice = 0
  629. ; Log PostgreSQL backends Noitce message or not.
  630. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  631. pgsql.log_notice = 0
  632. [Sybase]
  633. ; Allow or prevent persistent links.
  634. sybase.allow_persistent = On
  635. ; Maximum number of persistent links. -1 means no limit.
  636. sybase.max_persistent = -1
  637. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  638. sybase.max_links = -1
  639. ;sybase.interface_file = "/usr/sybase/interfaces"
  640. ; Minimum error severity to display.
  641. sybase.min_error_severity = 10
  642. ; Minimum message severity to display.
  643. sybase.min_message_severity = 10
  644. ; Compatability mode with old versions of PHP 3.0.
  645. ; If on, this will cause PHP to automatically assign types to results according
  646. ; to their Sybase type, instead of treating them all as strings. This
  647. ; compatibility mode will probably not stay around forever, so try applying
  648. ; whatever necessary changes to your code, and turn it off.
  649. sybase.compatability_mode = Off
  650. [Sybase-CT]
  651. ; Allow or prevent persistent links.
  652. sybct.allow_persistent = On
  653. ; Maximum number of persistent links. -1 means no limit.
  654. sybct.max_persistent = -1
  655. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  656. sybct.max_links = -1
  657. ; Minimum server message severity to display.
  658. sybct.min_server_severity = 10
  659. ; Minimum client message severity to display.
  660. sybct.min_client_severity = 10
  661. [bcmath]
  662. ; Number of decimal digits for all bcmath functions.
  663. bcmath.scale = 0
  664. [browscap]
  665. ;browscap = extra/browscap.ini
  666. [Informix]
  667. ; Default host for ifx_connect() (doesn't apply in safe mode).
  668. ifx.default_host =
  669. ; Default user for ifx_connect() (doesn't apply in safe mode).
  670. ifx.default_user =
  671. ; Default password for ifx_connect() (doesn't apply in safe mode).
  672. ifx.default_password =
  673. ; Allow or prevent persistent links.
  674. ifx.allow_persistent = On
  675. ; Maximum number of persistent links. -1 means no limit.
  676. ifx.max_persistent = -1
  677. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  678. ifx.max_links = -1
  679. ; If on, select statements return the contents of a text blob instead of its id.
  680. ifx.textasvarchar = 0
  681. ; If on, select statements return the contents of a byte blob instead of its id.
  682. ifx.byteasvarchar = 0
  683. ; Trailing blanks are stripped from fixed-length char columns. May help the
  684. ; life of Informix SE users.
  685. ifx.charasvarchar = 0
  686. ; If on, the contents of text and byte blobs are dumped to a file instead of
  687. ; keeping them in memory.
  688. ifx.blobinfile = 0
  689. ; NULL's are returned as empty strings, unless this is set to 1. In that case,
  690. ; NULL's are returned as string 'NULL'.
  691. ifx.nullformat = 0
  692. [Session]
  693. ; Handler used to store/retrieve data.
  694. session.save_handler = files
  695. ; Argument passed to save_handler. In the case of files, this is the path
  696. ; where data files are stored. Note: Windows users have to change this
  697. ; variable in order to use PHP's session functions.
  698. ;
  699. ; As of PHP 4.0.1, you can define the path as:
  700. ;
  701. ; session.save_path = "N;/path"
  702. ;
  703. ; where N is an integer. Instead of storing all the session files in
  704. ; /path, what this will do is use subdirectories N-levels deep, and
  705. ; store the session data in those directories. This is useful if you
  706. ; or your OS have problems with lots of files in one directory, and is
  707. ; a more efficient layout for servers that handle lots of sessions.
  708. ;
  709. ; NOTE 1: PHP will not create this directory structure automatically.
  710. ; You can use the script in the ext/session dir for that purpose.
  711. ; NOTE 2: See the section on garbage collection below if you choose to
  712. ; use subdirectories for session storage
  713. ;
  714. ; The file storage module creates files using mode 600 by default.
  715. ; You can change that by using
  716. ;
  717. ; session.save_path = "N;MODE;/path"
  718. ;
  719. ; where MODE is the octal representation of the mode. Note that this
  720. ; does not overwrite the process's umask.
  721. ;session.save_path = "/tmp"
  722. ; Whether to use cookies.
  723. session.use_cookies = 1
  724. ; This option enables administrators to make their users invulnerable to
  725. ; attacks which involve passing session ids in URLs; defaults to 0.
  726. ; session.use_only_cookies = 1
  727. ; Name of the session (used as cookie name).
  728. session.name = PHPSESSID
  729. ; Initialize session on request startup.
  730. session.auto_start = 0
  731. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  732. session.cookie_lifetime = 0
  733. ; The path for which the cookie is valid.
  734. session.cookie_path = /
  735. ; The domain for which the cookie is valid.
  736. session.cookie_domain =
  737. ; Handler used to serialize data. php is the standard serializer of PHP.
  738. session.serialize_handler = php
  739. ; Define the probability that the 'garbage collection' process is started
  740. ; on every session initialization.
  741. ; The probability is calculated by using gc_probability/gc_divisor,
  742. ; e.g. 1/100 means there is a 1% chance that the GC process starts
  743. ; on each request.
  744. session.gc_probability = 1
  745. session.gc_divisor = 100
  746. ; After this number of seconds, stored data will be seen as 'garbage' and
  747. ; cleaned up by the garbage collection process.
  748. session.gc_maxlifetime = 1440
  749. ; NOTE: If you are using the subdirectory option for storing session files
  750. ; (see session.save_path above), then garbage collection does *not*
  751. ; happen automatically. You will need to do your own garbage
  752. ; collection through a shell script, cron entry, or some other method.
  753. ; For example, the following script would is the equivalent of
  754. ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  755. ; cd /path/to/sessions; find -cmin +24 | xargs rm
  756. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  757. ; to initialize a session variable in the global scope, albeit register_globals
  758. ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
  759. ; You can disable the feature and the warning separately. At this time,
  760. ; the warning is only displayed, if bug_compat_42 is enabled.
  761. session.bug_compat_42 = 1
  762. session.bug_compat_warn = 1
  763. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  764. ; HTTP_REFERER has to contain this substring for the session to be
  765. ; considered as valid.
  766. session.referer_check =
  767. ; How many bytes to read from the file.
  768. session.entropy_length = 0
  769. ; Specified here to create the session id.
  770. session.entropy_file =
  771. ;session.entropy_length = 16
  772. ;session.entropy_file = /dev/urandom
  773. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  774. ; or leave this empty to avoid sending anti-caching headers.
  775. session.cache_limiter = nocache
  776. ; Document expires after n minutes.
  777. session.cache_expire = 180
  778. ; trans sid support is disabled by default.
  779. ; Use of trans sid may risk your users security.
  780. ; Use this option with caution.
  781. ; - User may send URL contains active session ID
  782. ; to other person via. email/irc/etc.
  783. ; - URL that contains active session ID may be stored
  784. ; in publically accessible computer.
  785. ; - User may access your site with the same session ID
  786. ; always using URL stored in browser's history or bookmarks.
  787. session.use_trans_sid = 0
  788. ; Select a hash function
  789. ; 0: MD5 (128 bits)
  790. ; 1: SHA-1 (160 bits)
  791. session.hash_function = 0
  792. ; Define how many bits are stored in each character when converting
  793. ; the binary hash data to something readable.
  794. ;
  795. ; 4 bits: 0-9, a-f
  796. ; 5 bits: 0-9, a-v
  797. ; 6 bits: 0-9, a-z, A-Z, "-", ","
  798. session.hash_bits_per_character = 4
  799. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  800. ; form/fieldset are special; if you include them here, the rewriter will
  801. ; add a hidden <input> field with the info which is otherwise appended
  802. ; to URLs. If you want XHTML conformity, remove the form entry.
  803. ; Note that all valid entries require a "=", even if no value follows.
  804. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
  805. [MSSQL]
  806. ; Allow or prevent persistent links.
  807. mssql.allow_persistent = On
  808. ; Maximum number of persistent links. -1 means no limit.
  809. mssql.max_persistent = -1
  810. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  811. mssql.max_links = -1
  812. ; Minimum error severity to display.
  813. mssql.min_error_severity = 10
  814. ; Minimum message severity to display.
  815. mssql.min_message_severity = 10
  816. ; Compatability mode with old versions of PHP 3.0.
  817. mssql.compatability_mode = Off
  818. ; Connect timeout
  819. ;mssql.connect_timeout = 5
  820. ; Query timeout
  821. ;mssql.timeout = 60
  822. ; Valid range 0 - 2147483647. Default = 4096.
  823. ;mssql.textlimit = 4096
  824. ; Valid range 0 - 2147483647. Default = 4096.
  825. ;mssql.textsize = 4096
  826. ; Limits the number of records in each batch. 0 = all records in one batch.
  827. ;mssql.batchsize = 0
  828. ; Specify how datetime and datetim4 columns are returned
  829. ; On => Returns data converted to SQL server settings
  830. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  831. ;mssql.datetimeconvert = On
  832. ; Use NT authentication when connecting to the server
  833. mssql.secure_connection = Off
  834. ; Specify max number of processes. -1 = library default
  835. ; msdlib defaults to 25
  836. ; FreeTDS defaults to 4096
  837. ;mssql.max_procs = -1
  838. ; Specify client character set.
  839. ; If empty or not set the client charset from freetds.comf is used
  840. ; This is only used when compiled with FreeTDS
  841. ;mssql.charset = "ISO-8859-1"
  842. [Assertion]
  843. ; Assert(expr); active by default.
  844. ;assert.active = On
  845. ; Issue a PHP warning for each failed assertion.
  846. ;assert.warning = On
  847. ; Don't bail out by default.
  848. ;assert.bail = Off
  849. ; User-function to be called if an assertion fails.
  850. ;assert.callback = 0
  851. ; Eval the expression with current error_reporting(). Set to true if you want
  852. ; error_reporting(0) around the eval().
  853. ;assert.quiet_eval = 0
  854. [Verisign Payflow Pro]
  855. ; Default Payflow Pro server.
  856. pfpro.defaulthost = "test-payflow.verisign.com"
  857. ; Default port to connect to.
  858. pfpro.defaultport = 443
  859. ; Default timeout in seconds.
  860. pfpro.defaulttimeout = 30
  861. ; Default proxy IP address (if required).
  862. ;pfpro.proxyaddress =
  863. ; Default proxy port.
  864. ;pfpro.proxyport =
  865. ; Default proxy logon.
  866. ;pfpro.proxylogon =
  867. ; Default proxy password.
  868. ;pfpro.proxypassword =
  869. [COM]
  870. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  871. ;com.typelib_file =
  872. ; allow Distributed-COM calls
  873. ;com.allow_dcom = true
  874. ; autoregister constants of a components typlib on com_load()
  875. ;com.autoregister_typelib = true
  876. ; register constants casesensitive
  877. ;com.autoregister_casesensitive = false
  878. ; show warnings on duplicate constat registrations
  879. ;com.autoregister_verbose = true
  880. [mbstring]
  881. ; language for internal character representation.
  882. ;mbstring.language = Japanese
  883. ; internal/script encoding.
  884. ; Some encoding cannot work as internal encoding.
  885. ; (e.g. SJIS, BIG5, ISO-2022-*)
  886. ;mbstring.internal_encoding = EUC-JP
  887. ; http input encoding.
  888. ;mbstring.http_input = auto
  889. ; http output encoding. mb_output_handler must be
  890. ; registered as output buffer to function
  891. ;mbstring.http_output = SJIS
  892. ; enable automatic encoding translation according to
  893. ; mbstring.internal_encoding setting. Input chars are
  894. ; converted to internal encoding by setting this to On.
  895. ; Note: Do _not_ use automatic encoding translation for
  896. ; portable libs/applications.
  897. ;mbstring.encoding_translation = Off
  898. ; automatic encoding detection order.
  899. ; auto means
  900. ;mbstring.detect_order = auto
  901. ; substitute_character used when character cannot be converted
  902. ; one from another
  903. ;mbstring.substitute_character = none;
  904. ; overload(replace) single byte functions by mbstring functions.
  905. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  906. ; etc. Possible values are 0,1,2,4 or combination of them.
  907. ; For example, 7 for overload everything.
  908. ; 0: No overload
  909. ; 1: Overload mail() function
  910. ; 2: Overload str*() functions
  911. ; 4: Overload ereg*() functions
  912. ;mbstring.func_overload = 0
  913. ; enable strict encoding detection.
  914. ;mbstring.strict_encoding = Off
  915. [FrontBase]
  916. ;fbsql.allow_persistent = On
  917. ;fbsql.autocommit = On
  918. ;fbsql.show_timestamp_decimals = Off
  919. ;fbsql.default_database =
  920. ;fbsql.default_database_password =
  921. ;fbsql.default_host =
  922. ;fbsql.default_password =
  923. ;fbsql.default_user = "_SYSTEM"
  924. ;fbsql.generate_warnings = Off
  925. ;fbsql.max_connections = 128
  926. ;fbsql.max_links = 128
  927. ;fbsql.max_persistent = -1
  928. ;fbsql.max_results = 128
  929. ;fbsql.batchSize = 1000
  930. [gd]
  931. ; Tell the jpeg decode to libjpeg warnings and try to create
  932. ; a gd image. The warning will then be displayed as notices
  933. ; disabled by default
  934. ;gd.jpeg_ignore_warning = 0
  935. [exif]
  936. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  937. ; With mbstring support this will automatically be converted into the encoding
  938. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  939. ; is used. For the decode settings you can distinguish between motorola and
  940. ; intel byte order. A decode setting cannot be empty.
  941. ;exif.encode_unicode = ISO-8859-15
  942. ;exif.decode_unicode_motorola = UCS-2BE
  943. ;exif.decode_unicode_intel = UCS-2LE
  944. ;exif.encode_jis =
  945. ;exif.decode_jis_motorola = JIS
  946. ;exif.decode_jis_intel = JIS
  947. [Tidy]
  948. ; The path to a default tidy configuration file to use when using tidy
  949. ;tidy.default_config = /usr/local/lib/php/default.tcfg
  950. ; Should tidy clean and repair output automatically?
  951. ; WARNING: Do not use this option if you are generating non-html content
  952. ; such as dynamic images
  953. tidy.clean_output = Off
  954. [soap]
  955. ; Enables or disables WSDL caching feature.
  956. soap.wsdl_cache_enabled=1
  957. ; Sets the directory name where SOAP extension will put cache files.
  958. soap.wsdl_cache_dir="/tmp"
  959. ; (time to live) Sets the number of second while cached file will be used
  960. ; instead of original one.
  961. soap.wsdl_cache_ttl=86400
  962. ; Local Variables:
  963. ; tab-width: 4
  964. ; End: