SHARE
TWEET

Default PHP (5.6)

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