SHARE
TWEET

Default PHP (5.5)

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