MinatoYondaime

Untitled

Dec 18th, 2015
146
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. ;from="john@doe.com"
  525.  
  526. ; Define the User-Agent string
  527. ; user_agent="PHP"
  528.  
  529. ; Default timeout for socket based streams (seconds)
  530. default_socket_timeout = 60
  531.  
  532. ; If your scripts have to deal with files from Macintosh systems,
  533. ; or you are running on a Mac and need to deal with files from
  534. ; unix or win32 systems, setting this flag will cause PHP to
  535. ; automatically detect the EOL character in those files so that
  536. ; fgets() and file() will work regardless of the source of the file.
  537. ; auto_detect_line_endings = Off
  538.  
  539.  
  540. ;;;;;;;;;;;;;;;;;;;;;;
  541. ; Dynamic Extensions ;
  542. ;;;;;;;;;;;;;;;;;;;;;;
  543. ;
  544. ; If you wish to have an extension loaded automatically, use the following
  545. ; syntax:
  546. ;
  547. ;
  548. ; For example, on Windows:
  549. ;
  550. ;
  551. ; ... or under UNIX:
  552. ;
  553. ;
  554. ; Note that it should be the name of the module only; no directory information
  555. ; needs to go here. Specify the location of the extension with the
  556. ; extension_dir directive above.
  557.  
  558.  
  559. ;Windows Extensions
  560. ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
  561. ;
  562.  
  563.  
  564. ;;;;;;;;;;;;;;;;;;;
  565. ; Module Settings ;
  566. ;;;;;;;;;;;;;;;;;;;
  567.  
  568. [Syslog]
  569. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  570. ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
  571. ; runtime, you can define these variables by calling define_syslog_variables().
  572. ;define_syslog_variables = Off
  573.  
  574. [mail function]
  575. ; For Win32 only.
  576. ;SMTP = localhost
  577. smtp_port = 25
  578.  
  579. ; For Win32 only.
  580. ;sendmail_from = me@localhost.com
  581.  
  582. ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
  583. sendmail_path = "/usr/sbin/sendmail -t -i"
  584.  
  585. [Java]
  586. ;java.class.path = .\php_java.jar
  587. ;java.home = c:\jdk
  588. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll
  589. ;java.library.path = .\
  590.  
  591. [SQL]
  592. sql.safe_mode = Off
  593.  
  594. [ODBC]
  595. ;odbc.default_db = Not yet implemented
  596. ;odbc.default_user = Not yet implemented
  597. ;odbc.default_pw = Not yet implemented
  598.  
  599. ; Allow or prevent persistent links.
  600. odbc.allow_persistent = On
  601.  
  602. ; Check that a connection is still valid before reuse.
  603. odbc.check_persistent = On
  604.  
  605. ; Maximum number of persistent links. -1 means no limit.
  606. odbc.max_persistent = -1
  607.  
  608. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  609. odbc.max_links = -1
  610.  
  611. ; Handling of LONG fields. Returns number of bytes to variables. 0 means
  612. ; passthru.
  613. odbc.defaultlrl = 4096
  614.  
  615. ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
  616. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  617. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  618. odbc.defaultbinmode = 1
  619.  
  620. [MySQL]
  621. ; Allow or prevent persistent links.
  622. mysql.allow_persistent = On
  623.  
  624. ; Maximum number of persistent links. -1 means no limit.
  625. mysql.max_persistent = -1
  626.  
  627. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  628. mysql.max_links = -1
  629.  
  630. ; Default port number for mysql_connect(). If unset, mysql_connect() will use
  631. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  632. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  633. ; at MYSQL_PORT.
  634. mysql.default_port =
  635.  
  636. ; Default socket name for local MySQL connects. If empty, uses the built-in
  637. ; MySQL defaults.
  638. mysql.default_socket =
  639.  
  640. ; Default host for mysql_connect() (doesn't apply in safe mode).
  641. mysql.default_host =
  642.  
  643. ; Default user for mysql_connect() (doesn't apply in safe mode).
  644. mysql.default_user =
  645.  
  646. ; Default password for mysql_connect() (doesn't apply in safe mode).
  647. ; Note that this is generally a *bad* idea to store passwords in this file.
  648. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  649. ; and reveal this password! And of course, any users with read access to this
  650. ; file will be able to reveal the password as well.
  651. mysql.default_password =
  652.  
  653. ; Maximum time (in seconds) for connect timeout. -1 means no limit
  654. mysql.connect_timeout = 60
  655.  
  656. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  657. ; SQL-Errors will be displayed.
  658. mysql.trace_mode = Off
  659.  
  660. [mSQL]
  661. ; Allow or prevent persistent links.
  662. msql.allow_persistent = On
  663.  
  664. ; Maximum number of persistent links. -1 means no limit.
  665. msql.max_persistent = -1
  666.  
  667. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  668. msql.max_links = -1
  669.  
  670. [PostgresSQL]
  671. ; Allow or prevent persistent links.
  672. pgsql.allow_persistent = On
  673.  
  674. ; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
  675. pgsql.auto_reset_persistent = Off
  676.  
  677. ; Maximum number of persistent links. -1 means no limit.
  678. pgsql.max_persistent = -1
  679.  
  680. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  681. pgsql.max_links = -1
  682.  
  683. ; Ignore PostgreSQL backends Notice message or not.
  684. pgsql.ignore_notice = 0
  685.  
  686. ; Log PostgreSQL backends Noitce message or not.
  687. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  688. pgsql.log_notice = 0
  689.  
  690. [Sybase]
  691. ; Allow or prevent persistent links.
  692. sybase.allow_persistent = On
  693.  
  694. ; Maximum number of persistent links. -1 means no limit.
  695. sybase.max_persistent = -1
  696.  
  697. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  698. sybase.max_links = -1
  699.  
  700. ;sybase.interface_file = "/usr/sybase/interfaces"
  701.  
  702. ; Minimum error severity to display.
  703. sybase.min_error_severity = 10
  704.  
  705. ; Minimum message severity to display.
  706. sybase.min_message_severity = 10
  707.  
  708. ; Compatability mode with old versions of PHP 3.0.
  709. ; If on, this will cause PHP to automatically assign types to results according
  710. ; to their Sybase type, instead of treating them all as strings. This
  711. ; compatibility mode will probably not stay around forever, so try applying
  712. ; whatever necessary changes to your code, and turn it off.
  713. sybase.compatability_mode = Off
  714.  
  715. [Sybase-CT]
  716. ; Allow or prevent persistent links.
  717. sybct.allow_persistent = On
  718.  
  719. ; Maximum number of persistent links. -1 means no limit.
  720. sybct.max_persistent = -1
  721.  
  722. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  723. sybct.max_links = -1
  724.  
  725. ; Minimum server message severity to display.
  726. sybct.min_server_severity = 10
  727.  
  728. ; Minimum client message severity to display.
  729. sybct.min_client_severity = 10
  730.  
  731. [dbx]
  732. ; returned column names can be converted for compatibility reasons
  733. ; possible values for dbx.colnames_case are
  734. ; "unchanged" (default, if not set)
  735. ; "lowercase"
  736. ; "uppercase"
  737. ; the recommended default is either upper- or lowercase, but
  738. ; unchanged is currently set for backwards compatibility
  739. dbx.colnames_case = "unchanged"
  740.  
  741. [bcmath]
  742. ; Number of decimal digits for all bcmath functions.
  743. bcmath.scale = 0
  744.  
  745. [browscap]
  746. ;browscap = extra/browscap.ini
  747.  
  748. [Informix]
  749. ; Default host for ifx_connect() (doesn't apply in safe mode).
  750. ifx.default_host =
  751.  
  752. ; Default user for ifx_connect() (doesn't apply in safe mode).
  753. ifx.default_user =
  754.  
  755. ; Default password for ifx_connect() (doesn't apply in safe mode).
  756. ifx.default_password =
  757.  
  758. ; Allow or prevent persistent links.
  759. ifx.allow_persistent = On
  760.  
  761. ; Maximum number of persistent links. -1 means no limit.
  762. ifx.max_persistent = -1
  763.  
  764. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  765. ifx.max_links = -1
  766.  
  767. ; If on, select statements return the contents of a text blob instead of its id.
  768. ifx.textasvarchar = 0
  769.  
  770. ; If on, select statements return the contents of a byte blob instead of its id.
  771. ifx.byteasvarchar = 0
  772.  
  773. ; Trailing blanks are stripped from fixed-length char columns. May help the
  774. ; life of Informix SE users.
  775. ifx.charasvarchar = 0
  776.  
  777. ; If on, the contents of text and byte blobs are dumped to a file instead of
  778. ; keeping them in memory.
  779. ifx.blobinfile = 0
  780.  
  781. ; NULL's are returned as empty strings, unless this is set to 1. In that case,
  782. ; NULL's are returned as string 'NULL'.
  783. ifx.nullformat = 0
  784.  
  785. [Session]
  786. ; Handler used to store/retrieve data.
  787. session.save_handler = files
  788.  
  789. ; Argument passed to save_handler. In the case of files, this is the path
  790. ; where data files are stored. Note: Windows users have to change this
  791. ; variable in order to use PHP's session functions.
  792. ; As of PHP 4.0.1, you can define the path as: session.save_path = "N;/path"
  793. ; where N is an integer. Instead of storing all the session files in
  794. ; /path, what this will do is use subdirectories N-levels deep, and
  795. ; store the session data in those directories. This is useful if you
  796. ; or your OS have problems with lots of files in one directory, and is
  797. ; a more efficient layout for servers that handle lots of sessions.
  798. ; NOTE 1: PHP will not create this directory structure automatically.
  799. ; You can use the script in the ext/session dir for that purpose.
  800. ; NOTE 2: See the section on garbage collection below if you choose to
  801. ; use subdirectories for session storage
  802.  
  803. session.save_path = "/tmp"
  804.  
  805. ; Whether to use cookies.
  806. session.use_cookies = 1
  807.  
  808. ; This option enables administrators to make their users invulnerable to
  809. ; attacks which involve passing session ids in URLs; defaults to 0.
  810. ; session.use_only_cookies = 1
  811.  
  812. ; Name of the session (used as cookie name).
  813. session.name = PHPSESSID
  814.  
  815. ; Initialize session on request startup.
  816. session.auto_start = 0
  817.  
  818. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  819. session.cookie_lifetime = 0
  820.  
  821. ; The path for which the cookie is valid.
  822. session.cookie_path = "/"
  823.  
  824. ; The domain for which the cookie is valid.
  825. session.cookie_domain =
  826.  
  827. ; Handler used to serialize data. php is the standard serializer of PHP.
  828. session.serialize_handler = php
  829.  
  830. ; Define the probability that the 'garbage collection' process is started
  831. ; on every session initialization.
  832. ; The probability is calculated by using gc_probability/gc_divisor,
  833. ; e.g. 1/100 means there is a 1% chance that the GC process starts
  834. ; on each request.
  835.  
  836. session.gc_probability = 1
  837. session.gc_divisor = 100
  838.  
  839. ; After this number of seconds, stored data will be seen as 'garbage' and
  840. ; cleaned up by the garbage collection process.
  841. session.gc_maxlifetime = 1440
  842.  
  843. ; NOTE: If you are using the subdirectory option for storing session files
  844. ; (see session.save_path above), then garbage collection does *not*
  845. ; happen automatically. You will need to do your own garbage
  846. ; collection through a shell script, cron entry, or some other method.
  847. ; For example, the following script would is the equivalent of
  848. ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  849. ; cd /path/to/sessions; find -cmin +24 | xargs rm
  850.  
  851. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  852. ; to initialize a session variable in the global scope, albeit register_globals
  853. ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
  854. ; You can disable the feature and the warning separately. At this time,
  855. ; the warning is only displayed, if bug_compat_42 is enabled.
  856.  
  857. ;session.bug_compat_42 = 1
  858. ;session.bug_compat_warn = 1
  859.  
  860. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  861. ; HTTP_REFERER has to contain this substring for the session to be
  862. ; considered as valid.
  863. session.referer_check =
  864.  
  865. ; How many bytes to read from the file.
  866. session.entropy_length = 0
  867.  
  868. ; Specified here to create the session id.
  869. session.entropy_file =
  870.  
  871. ;session.entropy_length = 16
  872.  
  873. ;session.entropy_file = /dev/urandom
  874.  
  875. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  876. ; or leave this empty to avoid sending anti-caching headers.
  877. session.cache_limiter = nocache
  878.  
  879. ; Document expires after n minutes.
  880. session.cache_expire = 180
  881.  
  882. ; trans sid support is disabled by default.
  883. ; Use of trans sid may risk your users security.
  884. ; Use this option with caution.
  885. ; - User may send URL contains active session ID
  886. ; to other person via. email/irc/etc.
  887. ; - URL that contains active session ID may be stored
  888. ; in publically accessible computer.
  889. ; - User may access your site with the same session ID
  890. ; always using URL stored in browser's history or bookmarks.
  891. session.use_trans_sid = 0
  892.  
  893. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  894. ; form/fieldset are special; if you include them here, the rewriter will
  895. ; add a hidden <input> field with the info which is otherwise appended
  896. ; to URLs. If you want XHTML conformity, remove the form entry.
  897. ; Note that all valid entries require a "=", even if no value follows.
  898. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
  899.  
  900. [MSSQL]
  901. ; Allow or prevent persistent links.
  902. mssql.allow_persistent = On
  903.  
  904. ; Maximum number of persistent links. -1 means no limit.
  905. mssql.max_persistent = -1
  906.  
  907. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  908. mssql.max_links = -1
  909.  
  910. ; Minimum error severity to display.
  911. mssql.min_error_severity = 10
  912.  
  913. ; Minimum message severity to display.
  914. mssql.min_message_severity = 10
  915.  
  916. ; Compatability mode with old versions of PHP 3.0.
  917. mssql.compatability_mode = Off
  918.  
  919. ; Connect timeout
  920. ;mssql.connect_timeout = 5
  921.  
  922. ; Query timeout
  923. ;mssql.timeout = 60
  924.  
  925. ; Valid range 0 - 2147483647. Default = 4096.
  926. ;mssql.textlimit = 4096
  927.  
  928. ; Valid range 0 - 2147483647. Default = 4096.
  929. ;mssql.textsize = 4096
  930.  
  931. ; Limits the number of records in each batch. 0 = all records in one batch.
  932. ;mssql.batchsize = 0
  933.  
  934. ; Specify how datetime and datetim4 columns are returned
  935. ; On => Returns data converted to SQL server settings
  936. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  937. ;mssql.datetimeconvert = On
  938.  
  939. ; Use NT authentication when connecting to the server
  940. mssql.secure_connection = Off
  941.  
  942. ; Specify max number of processes. Default = 25
  943. ;mssql.max_procs = 25
  944.  
  945. [Assertion]
  946. ; Assert(expr); active by default.
  947. ;assert.active = On
  948.  
  949. ; Issue a PHP warning for each failed assertion.
  950. ;assert.warning = On
  951.  
  952. ; Don't bail out by default.
  953. ;assert.bail = Off
  954.  
  955. ; User-function to be called if an assertion fails.
  956. ;assert.callback = 0
  957.  
  958. ; Eval the expression with current error_reporting(). Set to true if you want
  959. ; error_reporting(0) around the eval().
  960. ;assert.quiet_eval = 0
  961.  
  962. [Ingres II]
  963. ; Allow or prevent persistent links.
  964. ingres.allow_persistent = On
  965.  
  966. ; Maximum number of persistent links. -1 means no limit.
  967. ingres.max_persistent = -1
  968.  
  969. ; Maximum number of links, including persistents. -1 means no limit.
  970. ingres.max_links = -1
  971.  
  972. ; Default database (format: [node_id::]dbname[/srv_class]).
  973. ingres.default_database =
  974.  
  975. ; Default user.
  976. ingres.default_user =
  977.  
  978. ; Default password.
  979. ingres.default_password =
  980.  
  981. [Verisign Payflow Pro]
  982. ; Default Payflow Pro server.
  983. pfpro.defaulthost = "test-payflow.verisign.com"
  984.  
  985. ; Default port to connect to.
  986. pfpro.defaultport = 443
  987.  
  988. ; Default timeout in seconds.
  989. pfpro.defaulttimeout = 30
  990.  
  991. ; Default proxy IP address (if required).
  992. ;pfpro.proxyaddress =
  993.  
  994. ; Default proxy port.
  995. ;pfpro.proxyport =
  996.  
  997. ; Default proxy logon.
  998. ;pfpro.proxylogon =
  999.  
  1000. ; Default proxy password.
  1001. ;pfpro.proxypassword =
  1002.  
  1003. [com]
  1004. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  1005. ;com.typelib_file =
  1006. ; allow Distributed-COM calls
  1007. ;com.allow_dcom = true
  1008. ; autoregister constants of a components typlib on com_load()
  1009. ;com.autoregister_typelib = true
  1010. ; register constants casesensitive
  1011. ;com.autoregister_casesensitive = false
  1012. ; show warnings on duplicate constat registrations
  1013. ;com.autoregister_verbose = true
  1014.  
  1015. [Printer]
  1016. ;printer.default_printer = ""
  1017.  
  1018. [mbstring]
  1019. ; language for internal character representation.
  1020. ;mbstring.language = Japanese
  1021.  
  1022. ; internal/script encoding.
  1023. ; Some encoding cannot work as internal encoding.
  1024. ; (e.g. SJIS, BIG5, ISO-2022-*)
  1025. ;mbstring.internal_encoding = EUC-JP
  1026.  
  1027. ; http input encoding.
  1028. ;mbstring.http_input = auto
  1029.  
  1030. ; http output encoding. mb_output_handler must be
  1031. ; registered as output buffer to function
  1032. ;mbstring.http_output = SJIS
  1033.  
  1034. ; enable automatic encoding translation accoding to
  1035. ; mbstring.internal_encoding setting. Input chars are
  1036. ; converted to internal encoding by setting this to On.
  1037. ; Note: Do _not_ use automatic encoding translation for
  1038. ; portable libs/applications.
  1039. ;mbstring.encoding_translation = Off
  1040.  
  1041. ; automatic encoding detection order.
  1042. ; auto means
  1043. ;mbstring.detect_order = auto
  1044.  
  1045. ; substitute_character used when character cannot be converted
  1046. ; one from another
  1047. ;mbstring.substitute_character = none;
  1048.  
  1049. ; overload(replace) single byte functions by mbstring functions.
  1050. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  1051. ; etc. Possible values are 0,1,2,4 or combination of them.
  1052. ; For example, 7 for overload everything.
  1053. ; 0: No overload
  1054. ; 1: Overload mail() function
  1055. ; 2: Overload str*() functions
  1056. ; 4: Overload ereg*() functions
  1057. ;mbstring.func_overload = 0
  1058.  
  1059. [FrontBase]
  1060. ;fbsql.allow_persistent = On
  1061. ;fbsql.autocommit = On
  1062. ;fbsql.default_database =
  1063. ;fbsql.default_database_password =
  1064. ;fbsql.default_host =
  1065. ;fbsql.default_password =
  1066. ;fbsql.default_user = "_SYSTEM"
  1067. ;fbsql.generate_warnings = Off
  1068. ;fbsql.max_connections = 128
  1069. ;fbsql.max_links = 128
  1070. ;fbsql.max_persistent = -1
  1071. ;fbsql.max_results = 128
  1072. ;fbsql.batchSize = 1000
  1073.  
  1074. [Crack]
  1075. ; Modify the setting below to match the directory location of the cracklib
  1076. ; dictionary files. Include the base filename, but not the file extension.
  1077. ; crack.default_dictionary = "c:\php\lib\cracklib_dict"
  1078.  
  1079. [exif]
  1080. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  1081. ; With mbstring support this will automatically be converted into the encoding
  1082. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  1083. ; is used. For the decode settings you can distinguish between motorola and
  1084. ; intel byte order. A decode setting cannot be empty.
  1085. ;exif.encode_unicode = ISO-8859-15
  1086. ;exif.decode_unicode_motorola = UCS-2BE
  1087. ;exif.decode_unicode_intel = UCS-2LE
  1088. ;exif.encode_jis =
  1089. ;exif.decode_jis_motorola = JIS
  1090. ;exif.decode_jis_intel = JIS
  1091.  
  1092. ; Local Variables:
  1093. ; tab-width: 4
  1094. ; End:
  1095. date.timezone = "Asia/Jakarta"
Add Comment
Please, Sign In to add comment