MinatoYondaime

Untitled

Dec 18th, 2015
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.00 KB | None | 0 0
  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 be called (with the undefined 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. ; When floats & doubles are serialized store serialize_precision significant
  141. ; digits after the floating point. The default value ensures that when floats
  142. ; are decoded with unserialize, the data will remain the same.
  143. serialize_precision = 100
  144.  
  145. ; Safe Mode
  146. ;
  147. ;safe_mode = Off
  148.  
  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.  
  154. ; When safe_mode is on, UID/GID checks are bypassed when
  155. ; including files from this directory and its subdirectories.
  156. ; (directory must also be in include_path or full path must
  157. ; be used when including)
  158. ;safe_mode_include_dir =
  159.  
  160. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  161. ; will be allowed to be executed via the exec family of functions.
  162. ;safe_mode_exec_dir =
  163.  
  164. ; Setting certain environment variables may be a potential security breach.
  165. ; This directive contains a comma-delimited list of prefixes. In Safe Mode,
  166. ; the user may only alter environment variables whose names begin with the
  167. ; prefixes supplied here. By default, users will only be able to set
  168. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  169. ;
  170. ; Note: If this directive is empty, PHP will let the user modify ANY
  171. ; environment variable!
  172. ;safe_mode_allowed_env_vars = PHP_
  173.  
  174. ; This directive contains a comma-delimited list of environment variables that
  175. ; the end user won't be able to change using putenv(). These variables will be
  176. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  177. ;safe_mode_protected_env_vars = LD_LIBRARY_PATH
  178.  
  179. ; open_basedir, if set, limits all file operations to the defined directory
  180. ; and below. This directive makes most sense if used in a per-directory
  181. ; or per-virtualhost web server configuration file. This directive is
  182. ; *NOT* affected by whether Safe Mode is turned On or Off.
  183. ;open_basedir =
  184.  
  185. ; This directive allows you to disable certain functions for security reasons.
  186. ; It receives a comma-delimited list of function names. This directive is
  187. ; *NOT* affected by whether Safe Mode is turned On or Off.
  188.  
  189.  
  190. ; This directive allows you to disable certain classes for security reasons.
  191. ; It receives a comma-delimited list of class names. This directive is
  192. ; *NOT* affected by whether Safe Mode is turned On or Off.
  193. disable_classes =
  194.  
  195. ; Colors for Syntax Highlighting mode. Anything that's acceptable in
  196. ; <font color="??????"> would work.
  197. ;highlight.string = #DD0000
  198. ;highlight.comment = #FF9900
  199. ;highlight.keyword = #007700
  200. ;highlight.bg = #FFFFFF
  201. ;highlight.default = #0000BB
  202. ;highlight.html = #000000
  203.  
  204.  
  205. ;
  206. ; Misc
  207. ;
  208. ; Decides whether PHP may expose the fact that it is installed on the server
  209. ; (e.g. by adding its signature to the Web server header). It is no security
  210. ; threat in any way, but it makes it possible to determine whether you use PHP
  211. ; on your server or not.
  212. expose_php = On
  213.  
  214.  
  215. ;;;;;;;;;;;;;;;;;;;
  216. ; Resource Limits ;
  217. ;;;;;;;;;;;;;;;;;;;
  218.  
  219. max_execution_time = 120
  220. max_input_time = 60
  221. max_input_vars = 5000
  222. memory_limit = 100M
  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_DEPRECATED & ~E_NOTICE & ~E_STRICT
  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 & ~E_DEPRECATED
  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 = Off
  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 = On
  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 = error_log
  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 = "&amp;"
  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 = 32M
  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 = Off
  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.  
  396. ;;;;;;;;;;;;;;;;;;;;;;;;;
  397. ; Paths and Directories ;
  398. ;;;;;;;;;;;;;;;;;;;;;;;;;
  399.  
  400. ; UNIX: "/path1:/path2"
  401. include_path = ".:/usr/lib/php:/usr/local/lib/php"
  402. ;
  403. ; Windows: "\path1;\path2"
  404. ;include_path = ".;c:\php\includes"
  405.  
  406. ; The root of the PHP pages, used only if nonempty.
  407. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  408. ; if you are running php as a CGI under any web server (other than IIS)
  409. ; see documentation for security issues. The alternate is to use the
  410. ; cgi.force_redirect configuration below
  411. doc_root =
  412.  
  413. ; The directory under which PHP opens the script using /~username used only
  414. ; if nonempty.
  415. user_dir =
  416.  
  417. ; Directory in which the loadable extensions (modules) reside.
  418. extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20100525"
  419. zend_extension = "/usr/local/IonCube/ioncube_loader_lin_5.4.so"
  420. zend_extension = "/usr/local/Zend/lib/Guard-6.0.0/php-5.4.x/ZendGuardLoader.so"
  421. extension = "xcache.so"
  422. extension = "suhosin.so"
  423. extension = "homeloader.so"
  424. extension = "pdo.so"
  425. extension = "pdo_sqlite.so"
  426. extension = "pdo_mysql.so"
  427. extension = "dbase.so"
  428. extension = "timezonedb.so"
  429. extension = "ixed.5.4.lin"
  430. xcache.admin.enable_auth="on"
  431. xcache.admin.pass=""
  432. xcache.admin.user="mOo"
  433. xcache.cacher="On"
  434. xcache.coredump_directory=""
  435. xcache.count="1"
  436. xcache.coveragedump_directory="/tmp/pcov/"
  437. xcache.coverager="Off"
  438. xcache.gc_interval="0"
  439. xcache.mmap_path="/dev/zero"
  440. xcache.optimizer="Off"
  441. xcache.readonly_protection="Off"
  442. xcache.size="0"
  443. xcache.slots="8K"
  444. xcache.test="Off"
  445. xcache.ttl="0"
  446. xcache.var_count="1"
  447. xcache.var_gc_interval="300"
  448. xcache.var_maxttl="0"
  449. xcache.var_size="0"
  450. xcache.var_slots="8K"
  451. xcache.var_ttl="0"
  452. ; sqlite was removed by EasyApache v3.26.7 on Mon Sep 22 14:39:36 2014 (PHP v5.4.x incompatibility)
  453. ;max_input_vars="5000"
  454. suhosin.post.max_vars="5000"
  455. suhosin.request.max_vars="5000"
  456.  
  457. ; Whether or not to enable the dl() function. The dl() function does NOT work
  458. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  459. ; disabled on them.
  460. enable_dl = Off
  461.  
  462. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  463. ; most web servers. Left undefined, PHP turns this on by default. You can
  464. ; turn it off here AT YOUR OWN RISK
  465. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  466. ; cgi.force_redirect = 1
  467.  
  468. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  469. ; every request.
  470. ; cgi.nph = 1
  471.  
  472. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  473. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  474. ; will look for to know it is OK to continue execution. Setting this variable MAY
  475. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  476. ; cgi.redirect_status_env = ;
  477.  
  478. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
  479. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  480. ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
  481. ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting
  482. ; of zero causes PHP to behave as before. Default is zero. You should fix your scripts
  483. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  484. ; cgi.fix_pathinfo=0
  485.  
  486. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  487. ; security tokens of the calling client. This allows IIS to define the
  488. ; security context that the request runs under. mod_fastcgi under Apache
  489. ; does not currently support this feature (03/17/2002)
  490. ; Set to 1 if running under IIS. Default is zero.
  491. ; fastcgi.impersonate = 1;
  492.  
  493. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  494. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  495. ; is supported by Apache. When this option is set to 1 PHP will send
  496. ; RFC2616 compliant header.
  497. ; Default is zero.
  498. ;cgi.rfc2616_headers = 0
  499.  
  500.  
  501. ;;;;;;;;;;;;;;;;
  502. ; File Uploads ;
  503. ;;;;;;;;;;;;;;;;
  504.  
  505. ; Whether to allow HTTP file uploads.
  506. file_uploads = On
  507.  
  508. ; Temporary directory for HTTP uploaded files (will use system default if not
  509. ; specified).
  510. ;upload_tmp_dir =
  511.  
  512. ; Maximum allowed size for uploaded files.
  513. upload_max_filesize = 32M
  514.  
  515.  
  516. ;;;;;;;;;;;;;;;;;;
  517. ; Fopen wrappers ;
  518. ;;;;;;;;;;;;;;;;;;
  519.  
  520. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  521. allow_url_fopen = On
  522.  
  523. ; Define the anonymous ftp password (your email address)
  524.  
  525. ; Define the User-Agent string
  526. ; user_agent="PHP"
  527.  
  528. ; Default timeout for socket based streams (seconds)
  529. default_socket_timeout = 60
  530.  
  531. ; If your scripts have to deal with files from Macintosh systems,
  532. ; or you are running on a Mac and need to deal with files from
  533. ; unix or win32 systems, setting this flag will cause PHP to
  534. ; automatically detect the EOL character in those files so that
  535. ; fgets() and file() will work regardless of the source of the file.
  536. ; auto_detect_line_endings = Off
  537.  
  538.  
  539. ;;;;;;;;;;;;;;;;;;;;;;
  540. ; Dynamic Extensions ;
  541. ;;;;;;;;;;;;;;;;;;;;;;
  542. ;
  543. ; If you wish to have an extension loaded automatically, use the following
  544. ; syntax:
  545. ;
  546. ;
  547. ; For example, on Windows:
  548. ;
  549. ;
  550. ; ... or under UNIX:
  551. ;
  552. ;
  553. ; Note that it should be the name of the module only; no directory information
  554. ; needs to go here. Specify the location of the extension with the
  555. ; extension_dir directive above.
  556.  
  557.  
  558. ;Windows Extensions
  559. ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
  560. ;
  561.  
  562.  
  563. ;;;;;;;;;;;;;;;;;;;
  564. ; Module Settings ;
  565. ;;;;;;;;;;;;;;;;;;;
  566.  
  567. [Syslog]
  568. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  569. ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
  570. ; runtime, you can define these variables by calling define_syslog_variables().
  571. ;define_syslog_variables = Off
  572.  
  573. [mail function]
  574. ; For Win32 only.
  575. ;SMTP = localhost
  576. smtp_port = 25
  577.  
  578. ; For Win32 only.
  579. ;sendmail_from = [email protected]
  580.  
  581. ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
  582. sendmail_path = "/usr/sbin/sendmail -t -i"
  583.  
  584. [Java]
  585. ;java.class.path = .\php_java.jar
  586. ;java.home = c:\jdk
  587. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll
  588. ;java.library.path = .\
  589.  
  590. [SQL]
  591. sql.safe_mode = Off
  592.  
  593. [ODBC]
  594. ;odbc.default_db = Not yet implemented
  595. ;odbc.default_user = Not yet implemented
  596. ;odbc.default_pw = Not yet implemented
  597.  
  598. ; Allow or prevent persistent links.
  599. odbc.allow_persistent = On
  600.  
  601. ; Check that a connection is still valid before reuse.
  602. odbc.check_persistent = On
  603.  
  604. ; Maximum number of persistent links. -1 means no limit.
  605. odbc.max_persistent = -1
  606.  
  607. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  608. odbc.max_links = -1
  609.  
  610. ; Handling of LONG fields. Returns number of bytes to variables. 0 means
  611. ; passthru.
  612. odbc.defaultlrl = 4096
  613.  
  614. ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
  615. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  616. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  617. odbc.defaultbinmode = 1
  618.  
  619. [MySQL]
  620. ; Allow or prevent persistent links.
  621. mysql.allow_persistent = On
  622.  
  623. ; Maximum number of persistent links. -1 means no limit.
  624. mysql.max_persistent = -1
  625.  
  626. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  627. mysql.max_links = -1
  628.  
  629. ; Default port number for mysql_connect(). If unset, mysql_connect() will use
  630. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  631. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  632. ; at MYSQL_PORT.
  633. mysql.default_port =
  634.  
  635. ; Default socket name for local MySQL connects. If empty, uses the built-in
  636. ; MySQL defaults.
  637. mysql.default_socket =
  638.  
  639. ; Default host for mysql_connect() (doesn't apply in safe mode).
  640. mysql.default_host =
  641.  
  642. ; Default user for mysql_connect() (doesn't apply in safe mode).
  643. mysql.default_user =
  644.  
  645. ; Default password for mysql_connect() (doesn't apply in safe mode).
  646. ; Note that this is generally a *bad* idea to store passwords in this file.
  647. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  648. ; and reveal this password! And of course, any users with read access to this
  649. ; file will be able to reveal the password as well.
  650. mysql.default_password =
  651.  
  652. ; Maximum time (in seconds) for connect timeout. -1 means no limit
  653. mysql.connect_timeout = 60
  654.  
  655. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  656. ; SQL-Errors will be displayed.
  657. mysql.trace_mode = Off
  658.  
  659. [mSQL]
  660. ; Allow or prevent persistent links.
  661. msql.allow_persistent = On
  662.  
  663. ; Maximum number of persistent links. -1 means no limit.
  664. msql.max_persistent = -1
  665.  
  666. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  667. msql.max_links = -1
  668.  
  669. [PostgresSQL]
  670. ; Allow or prevent persistent links.
  671. pgsql.allow_persistent = On
  672.  
  673. ; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
  674. pgsql.auto_reset_persistent = Off
  675.  
  676. ; Maximum number of persistent links. -1 means no limit.
  677. pgsql.max_persistent = -1
  678.  
  679. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  680. pgsql.max_links = -1
  681.  
  682. ; Ignore PostgreSQL backends Notice message or not.
  683. pgsql.ignore_notice = 0
  684.  
  685. ; Log PostgreSQL backends Noitce message or not.
  686. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  687. pgsql.log_notice = 0
  688.  
  689. [Sybase]
  690. ; Allow or prevent persistent links.
  691. sybase.allow_persistent = On
  692.  
  693. ; Maximum number of persistent links. -1 means no limit.
  694. sybase.max_persistent = -1
  695.  
  696. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  697. sybase.max_links = -1
  698.  
  699. ;sybase.interface_file = "/usr/sybase/interfaces"
  700.  
  701. ; Minimum error severity to display.
  702. sybase.min_error_severity = 10
  703.  
  704. ; Minimum message severity to display.
  705. sybase.min_message_severity = 10
  706.  
  707. ; Compatability mode with old versions of PHP 3.0.
  708. ; If on, this will cause PHP to automatically assign types to results according
  709. ; to their Sybase type, instead of treating them all as strings. This
  710. ; compatibility mode will probably not stay around forever, so try applying
  711. ; whatever necessary changes to your code, and turn it off.
  712. sybase.compatability_mode = Off
  713.  
  714. [Sybase-CT]
  715. ; Allow or prevent persistent links.
  716. sybct.allow_persistent = On
  717.  
  718. ; Maximum number of persistent links. -1 means no limit.
  719. sybct.max_persistent = -1
  720.  
  721. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  722. sybct.max_links = -1
  723.  
  724. ; Minimum server message severity to display.
  725. sybct.min_server_severity = 10
  726.  
  727. ; Minimum client message severity to display.
  728. sybct.min_client_severity = 10
  729.  
  730. [dbx]
  731. ; returned column names can be converted for compatibility reasons
  732. ; possible values for dbx.colnames_case are
  733. ; "unchanged" (default, if not set)
  734. ; "lowercase"
  735. ; "uppercase"
  736. ; the recommended default is either upper- or lowercase, but
  737. ; unchanged is currently set for backwards compatibility
  738. dbx.colnames_case = "unchanged"
  739.  
  740. [bcmath]
  741. ; Number of decimal digits for all bcmath functions.
  742. bcmath.scale = 0
  743.  
  744. [browscap]
  745. ;browscap = extra/browscap.ini
  746.  
  747. [Informix]
  748. ; Default host for ifx_connect() (doesn't apply in safe mode).
  749. ifx.default_host =
  750.  
  751. ; Default user for ifx_connect() (doesn't apply in safe mode).
  752. ifx.default_user =
  753.  
  754. ; Default password for ifx_connect() (doesn't apply in safe mode).
  755. ifx.default_password =
  756.  
  757. ; Allow or prevent persistent links.
  758. ifx.allow_persistent = On
  759.  
  760. ; Maximum number of persistent links. -1 means no limit.
  761. ifx.max_persistent = -1
  762.  
  763. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  764. ifx.max_links = -1
  765.  
  766. ; If on, select statements return the contents of a text blob instead of its id.
  767. ifx.textasvarchar = 0
  768.  
  769. ; If on, select statements return the contents of a byte blob instead of its id.
  770. ifx.byteasvarchar = 0
  771.  
  772. ; Trailing blanks are stripped from fixed-length char columns. May help the
  773. ; life of Informix SE users.
  774. ifx.charasvarchar = 0
  775.  
  776. ; If on, the contents of text and byte blobs are dumped to a file instead of
  777. ; keeping them in memory.
  778. ifx.blobinfile = 0
  779.  
  780. ; NULL's are returned as empty strings, unless this is set to 1. In that case,
  781. ; NULL's are returned as string 'NULL'.
  782. ifx.nullformat = 0
  783.  
  784. [Session]
  785. ; Handler used to store/retrieve data.
  786. session.save_handler = files
  787.  
  788. ; Argument passed to save_handler. In the case of files, this is the path
  789. ; where data files are stored. Note: Windows users have to change this
  790. ; variable in order to use PHP's session functions.
  791. ; As of PHP 4.0.1, you can define the path as: session.save_path = "N;/path"
  792. ; where N is an integer. Instead of storing all the session files in
  793. ; /path, what this will do is use subdirectories N-levels deep, and
  794. ; store the session data in those directories. This is useful if you
  795. ; or your OS have problems with lots of files in one directory, and is
  796. ; a more efficient layout for servers that handle lots of sessions.
  797. ; NOTE 1: PHP will not create this directory structure automatically.
  798. ; You can use the script in the ext/session dir for that purpose.
  799. ; NOTE 2: See the section on garbage collection below if you choose to
  800. ; use subdirectories for session storage
  801.  
  802. session.save_path = "/tmp"
  803.  
  804. ; Whether to use cookies.
  805. session.use_cookies = 1
  806.  
  807. ; This option enables administrators to make their users invulnerable to
  808. ; attacks which involve passing session ids in URLs; defaults to 0.
  809. ; session.use_only_cookies = 1
  810.  
  811. ; Name of the session (used as cookie name).
  812. session.name = PHPSESSID
  813.  
  814. ; Initialize session on request startup.
  815. session.auto_start = 0
  816.  
  817. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  818. session.cookie_lifetime = 0
  819.  
  820. ; The path for which the cookie is valid.
  821. session.cookie_path = "/"
  822.  
  823. ; The domain for which the cookie is valid.
  824. session.cookie_domain =
  825.  
  826. ; Handler used to serialize data. php is the standard serializer of PHP.
  827. session.serialize_handler = php
  828.  
  829. ; Define the probability that the 'garbage collection' process is started
  830. ; on every session initialization.
  831. ; The probability is calculated by using gc_probability/gc_divisor,
  832. ; e.g. 1/100 means there is a 1% chance that the GC process starts
  833. ; on each request.
  834.  
  835. session.gc_probability = 1
  836. session.gc_divisor = 100
  837.  
  838. ; After this number of seconds, stored data will be seen as 'garbage' and
  839. ; cleaned up by the garbage collection process.
  840. session.gc_maxlifetime = 1440
  841.  
  842. ; NOTE: If you are using the subdirectory option for storing session files
  843. ; (see session.save_path above), then garbage collection does *not*
  844. ; happen automatically. You will need to do your own garbage
  845. ; collection through a shell script, cron entry, or some other method.
  846. ; For example, the following script would is the equivalent of
  847. ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  848. ; cd /path/to/sessions; find -cmin +24 | xargs rm
  849.  
  850. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  851. ; to initialize a session variable in the global scope, albeit register_globals
  852. ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
  853. ; You can disable the feature and the warning separately. At this time,
  854. ; the warning is only displayed, if bug_compat_42 is enabled.
  855.  
  856. ;session.bug_compat_42 = 1
  857. ;session.bug_compat_warn = 1
  858.  
  859. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  860. ; HTTP_REFERER has to contain this substring for the session to be
  861. ; considered as valid.
  862. session.referer_check =
  863.  
  864. ; How many bytes to read from the file.
  865. session.entropy_length = 0
  866.  
  867. ; Specified here to create the session id.
  868. session.entropy_file =
  869.  
  870. ;session.entropy_length = 16
  871.  
  872. ;session.entropy_file = /dev/urandom
  873.  
  874. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  875. ; or leave this empty to avoid sending anti-caching headers.
  876. session.cache_limiter = nocache
  877.  
  878. ; Document expires after n minutes.
  879. session.cache_expire = 180
  880.  
  881. ; trans sid support is disabled by default.
  882. ; Use of trans sid may risk your users security.
  883. ; Use this option with caution.
  884. ; - User may send URL contains active session ID
  885. ; to other person via. email/irc/etc.
  886. ; - URL that contains active session ID may be stored
  887. ; in publically accessible computer.
  888. ; - User may access your site with the same session ID
  889. ; always using URL stored in browser's history or bookmarks.
  890. session.use_trans_sid = 0
  891.  
  892. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  893. ; form/fieldset are special; if you include them here, the rewriter will
  894. ; add a hidden <input> field with the info which is otherwise appended
  895. ; to URLs. If you want XHTML conformity, remove the form entry.
  896. ; Note that all valid entries require a "=", even if no value follows.
  897. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
  898.  
  899. [MSSQL]
  900. ; Allow or prevent persistent links.
  901. mssql.allow_persistent = On
  902.  
  903. ; Maximum number of persistent links. -1 means no limit.
  904. mssql.max_persistent = -1
  905.  
  906. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  907. mssql.max_links = -1
  908.  
  909. ; Minimum error severity to display.
  910. mssql.min_error_severity = 10
  911.  
  912. ; Minimum message severity to display.
  913. mssql.min_message_severity = 10
  914.  
  915. ; Compatability mode with old versions of PHP 3.0.
  916. mssql.compatability_mode = Off
  917.  
  918. ; Connect timeout
  919. ;mssql.connect_timeout = 5
  920.  
  921. ; Query timeout
  922. ;mssql.timeout = 60
  923.  
  924. ; Valid range 0 - 2147483647. Default = 4096.
  925. ;mssql.textlimit = 4096
  926.  
  927. ; Valid range 0 - 2147483647. Default = 4096.
  928. ;mssql.textsize = 4096
  929.  
  930. ; Limits the number of records in each batch. 0 = all records in one batch.
  931. ;mssql.batchsize = 0
  932.  
  933. ; Specify how datetime and datetim4 columns are returned
  934. ; On => Returns data converted to SQL server settings
  935. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  936. ;mssql.datetimeconvert = On
  937.  
  938. ; Use NT authentication when connecting to the server
  939. mssql.secure_connection = Off
  940.  
  941. ; Specify max number of processes. Default = 25
  942. ;mssql.max_procs = 25
  943.  
  944. [Assertion]
  945. ; Assert(expr); active by default.
  946. ;assert.active = On
  947.  
  948. ; Issue a PHP warning for each failed assertion.
  949. ;assert.warning = On
  950.  
  951. ; Don't bail out by default.
  952. ;assert.bail = Off
  953.  
  954. ; User-function to be called if an assertion fails.
  955. ;assert.callback = 0
  956.  
  957. ; Eval the expression with current error_reporting(). Set to true if you want
  958. ; error_reporting(0) around the eval().
  959. ;assert.quiet_eval = 0
  960.  
  961. [Ingres II]
  962. ; Allow or prevent persistent links.
  963. ingres.allow_persistent = On
  964.  
  965. ; Maximum number of persistent links. -1 means no limit.
  966. ingres.max_persistent = -1
  967.  
  968. ; Maximum number of links, including persistents. -1 means no limit.
  969. ingres.max_links = -1
  970.  
  971. ; Default database (format: [node_id::]dbname[/srv_class]).
  972. ingres.default_database =
  973.  
  974. ; Default user.
  975. ingres.default_user =
  976.  
  977. ; Default password.
  978. ingres.default_password =
  979.  
  980. [Verisign Payflow Pro]
  981. ; Default Payflow Pro server.
  982. pfpro.defaulthost = "test-payflow.verisign.com"
  983.  
  984. ; Default port to connect to.
  985. pfpro.defaultport = 443
  986.  
  987. ; Default timeout in seconds.
  988. pfpro.defaulttimeout = 30
  989.  
  990. ; Default proxy IP address (if required).
  991. ;pfpro.proxyaddress =
  992.  
  993. ; Default proxy port.
  994. ;pfpro.proxyport =
  995.  
  996. ; Default proxy logon.
  997. ;pfpro.proxylogon =
  998.  
  999. ; Default proxy password.
  1000. ;pfpro.proxypassword =
  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. date.timezone = "Asia/Jakarta"
Add Comment
Please, Sign In to add comment