SHARE
TWEET

Untitled

a guest Aug 22nd, 2013 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [PHP]
  2.  
  3. upload_max_filesize = 10M
  4.  
  5. ;;;;;;;;;;;
  6. ; WARNING ;
  7. ;;;;;;;;;;;
  8. ; This is the default settings file for new PHP installations.
  9. ; By default, PHP installs itself with a configuration suitable for
  10. ; development purposes, and *NOT* for production purposes.
  11. ; For several security-oriented considerations that should be taken
  12. ; before going online with your site, please consult php.ini-recommended
  13. ; and http://php.net/manual/en/security.php.
  14.  
  15.  
  16. ;;;;;;;;;;;;;;;;;;;
  17. ; About this file ;
  18. ;;;;;;;;;;;;;;;;;;;
  19. ; This file controls many aspects of PHP's behavior.  In order for PHP to
  20. ; read it, it must be named 'php.ini'.  PHP looks for it in the current
  21. ; working directory, in the path designated by the environment variable
  22. ; PHPRC, and in the path that was defined in compile time (in that order).
  23. ; Under Windows, the compile-time path is the Windows directory.  The
  24. ; path in which the php.ini file is looked for can be overridden using
  25. ; the -c argument in command line mode.
  26. ;
  27. ; The syntax of the file is extremely simple.  Whitespace and Lines
  28. ; beginning with a semicolon are silently ignored (as you probably guessed).
  29. ; Section headers (e.g. [Foo]) are also silently ignored, even though
  30. ; they might mean something in the future.
  31. ;
  32. ; Directives are specified using the following syntax:
  33. ; directive = value
  34. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
  35. ;
  36. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
  37. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
  38. ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
  39. ;
  40. ; Expressions in the INI file are limited to bitwise operators and parentheses:
  41. ; |        bitwise OR
  42. ; &        bitwise AND
  43. ; ~        bitwise NOT
  44. ; !        boolean NOT
  45. ;
  46. ; Boolean flags can be turned on using the values 1, On, True or Yes.
  47. ; They can be turned off using the values 0, Off, False or No.
  48. ;
  49. ; An empty string can be denoted by simply not writing anything after the equal
  50. ; sign, or by using the None keyword:
  51. ;
  52. ;  foo =         ; sets foo to an empty string
  53. ;  foo = none    ; sets foo to an empty string
  54. ;  foo = "none"  ; sets foo to the string 'none'
  55. ;
  56. ; If you use constants in your value, and these constants belong to a
  57. ; dynamically loaded extension (either a PHP extension or a Zend extension),
  58. ; you may only use these constants *after* the line that loads the extension.
  59. ;
  60. ; All the values in the php.ini-dist file correspond to the builtin
  61. ; defaults (that is, if no php.ini is used, or if you delete these lines,
  62. ; the builtin defaults will be identical).
  63.  
  64.  
  65. ;;;;;;;;;;;;;;;;;;;;
  66. ; Language Options ;
  67. ;;;;;;;;;;;;;;;;;;;;
  68.  
  69. ; Enable the PHP scripting language engine under Apache.
  70. engine = On
  71.  
  72. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
  73. ; NOTE: Using short tags should be avoided when developing applications or
  74. ; libraries that are meant for redistribution, or deployment on PHP
  75. ; servers which are not under your control, because short tags may not
  76. ; be supported on the target server. For portable, redistributable code,
  77. ; be sure not to use short tags.
  78. short_open_tag = On
  79.  
  80. ; Allow ASP-style <% %> tags.
  81. asp_tags = Off
  82.  
  83. ; The number of significant digits displayed in floating point numbers.
  84. precision    =  12
  85.  
  86. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  87. y2k_compliance = On
  88.  
  89. ; Output buffering allows you to send header lines (including cookies) even
  90. ; after you send body content, at the price of slowing PHP's output layer a
  91. ; bit.  You can enable output buffering during runtime by calling the output
  92. ; buffering functions.  You can also enable output buffering for all files by
  93. ; setting this directive to On.  If you wish to limit the size of the buffer
  94. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  95. ; a value for this directive (e.g., output_buffering=4096).
  96. output_buffering = Off
  97.  
  98. ; You can redirect all of the output of your scripts to a function.  For
  99. ; example, if you set output_handler to "mb_output_handler", character
  100. ; encoding will be transparently converted to the specified encoding.
  101. ; Setting any output handler automatically turns on output buffering.
  102. ; Note: People who wrote portable scripts should not depend on this ini
  103. ;       directive. Instead, explicitly set the output handler using ob_start().
  104. ;       Using this ini directive may cause problems unless you know what script
  105. ;       is doing.
  106. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  107. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression".
  108. ;output_handler =
  109.  
  110. ; Transparent output compression using the zlib library
  111. ; Valid values for this option are 'off', 'on', or a specific buffer size
  112. ; to be used for compression (default is 4KB)
  113. ; Note: Resulting chunk size may vary due to nature of compression. PHP
  114. ;       outputs chunks that are few hundreds bytes each as a result of
  115. ;       compression. If you prefer a larger chunk size for better
  116. ;       performance, enable output_buffering in addition.
  117. ; Note: You need to use zlib.output_handler instead of the standard
  118. ;       output_handler, or otherwise the output will be corrupted.
  119. zlib.output_compression = Off
  120.  
  121. ; You cannot specify additional output handlers if zlib.output_compression
  122. ; is activated here. This setting does the same as output_handler but in
  123. ; a different order.
  124. ;zlib.output_handler =
  125.  
  126. ; Implicit flush tells PHP to tell the output layer to flush itself
  127. ; automatically after every output block.  This is equivalent to calling the
  128. ; PHP function flush() after each and every call to print() or echo() and each
  129. ; and every HTML block.  Turning this option on has serious performance
  130. ; implications and is generally recommended for debugging purposes only.
  131. implicit_flush = Off
  132.  
  133. ; The unserialize callback function will be called (with the undefined class'
  134. ; name as parameter), if the unserializer finds an undefined class
  135. ; which should be instanciated.
  136. ; A warning appears if the specified function is not defined, or if the
  137. ; function doesn't include/implement the missing class.
  138. ; So only set this entry, if you really want to implement such a
  139. ; callback-function.
  140. unserialize_callback_func=
  141.  
  142. ; When floats & doubles are serialized store serialize_precision significant
  143. ; digits after the floating point. The default value ensures that when floats
  144. ; are decoded with unserialize, the data will remain the same.
  145. serialize_precision = 100
  146.  
  147. ; Whether to enable the ability to force arguments to be passed by reference
  148. ; at function call time.  This method is deprecated and is likely to be
  149. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  150. ; specifying which arguments should be passed by reference is in the function
  151. ; declaration.  You're encouraged to try and turn this option Off and make
  152. ; sure your scripts work properly with it in order to ensure they will work
  153. ; with future versions of the language (you will receive a warning each time
  154. ; you use this feature, and the argument will be passed by value instead of by
  155. ; reference).
  156. allow_call_time_pass_reference = On
  157.  
  158. ; Safe Mode
  159. ;
  160. safe_mode = Off
  161.  
  162. ; By default, Safe Mode does a UID compare check when
  163. ; opening files. If you want to relax this to a GID compare,
  164. ; then turn on safe_mode_gid.
  165. safe_mode_gid = Off
  166.  
  167. ; When safe_mode is on, UID/GID checks are bypassed when
  168. ; including files from this directory and its subdirectories.
  169. ; (directory must also be in include_path or full path must
  170. ; be used when including)
  171. safe_mode_include_dir =                                                        
  172.  
  173. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  174. ; will be allowed to be executed via the exec family of functions.
  175. safe_mode_exec_dir =
  176.  
  177. ; Setting certain environment variables may be a potential security breach.
  178. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  179. ; the user may only alter environment variables whose names begin with the
  180. ; prefixes supplied here.  By default, users will only be able to set
  181. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  182. ;
  183. ; Note:  If this directive is empty, PHP will let the user modify ANY
  184. ; environment variable!
  185. safe_mode_allowed_env_vars = PHP_
  186.  
  187. ; This directive contains a comma-delimited list of environment variables that
  188. ; the end user won't be able to change using putenv().  These variables will be
  189. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  190. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  191.  
  192. ; open_basedir, if set, limits all file operations to the defined directory
  193. ; and below.  This directive makes most sense if used in a per-directory
  194. ; or per-virtualhost web server configuration file. This directive is
  195. ; *NOT* affected by whether Safe Mode is turned On or Off.
  196. ;open_basedir =
  197.  
  198. ; This directive allows you to disable certain functions for security reasons.
  199. ; It receives a comma-delimited list of function names. This directive is
  200. ; *NOT* affected by whether Safe Mode is turned On or Off.
  201. disable_functions =
  202.  
  203. ; This directive allows you to disable certain classes for security reasons.
  204. ; It receives a comma-delimited list of class names. This directive is
  205. ; *NOT* affected by whether Safe Mode is turned On or Off.
  206. disable_classes =
  207.  
  208. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  209. ; <font color="??????"> would work.
  210. ;highlight.string  = #DD0000
  211. ;highlight.comment = #FF9900
  212. ;highlight.keyword = #007700
  213. ;highlight.bg      = #FFFFFF
  214. ;highlight.default = #0000BB
  215. ;highlight.html    = #000000
  216.  
  217.  
  218. ;
  219. ; Misc
  220. ;
  221. ; Decides whether PHP may expose the fact that it is installed on the server
  222. ; (e.g. by adding its signature to the Web server header).  It is no security
  223. ; threat in any way, but it makes it possible to determine whether you use PHP
  224. ; on your server or not.
  225. expose_php = On
  226.  
  227.  
  228. ;;;;;;;;;;;;;;;;;;;
  229. ; Resource Limits ;
  230. ;;;;;;;;;;;;;;;;;;;
  231.  
  232. max_execution_time = 120     ; Maximum execution time of each script, in seconds
  233. max_input_time = 60     ; Maximum amount of time each script may spend parsing request data
  234. memory_limit = 128M      ; Maximum amount of memory a script may consume (32MB)
  235.  
  236. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  237. ; Error handling and logging ;
  238. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  239.  
  240. ; error_reporting is a bit-field.  Or each number up to get desired error
  241. ; reporting level
  242. ; E_ALL             - All errors and warnings
  243. ; E_ERROR           - fatal run-time errors
  244. ; E_WARNING         - run-time warnings (non-fatal errors)
  245. ; E_PARSE           - compile-time parse errors
  246. ; E_NOTICE          - run-time notices (these are warnings which often result
  247. ;                     from a bug in your code, but it's possible that it was
  248. ;                     intentional (e.g., using an uninitialized variable and
  249. ;                     relying on the fact it's automatically initialized to an
  250. ;                     empty string)
  251. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  252. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  253. ;                     initial startup
  254. ; E_COMPILE_ERROR   - fatal compile-time errors
  255. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  256. ; E_USER_ERROR      - user-generated error message
  257. ; E_USER_WARNING    - user-generated warning message
  258. ; E_USER_NOTICE     - user-generated notice message
  259. ;
  260. ; Examples:
  261. ;
  262. ;   - Show all errors, except for notices
  263. ;
  264. ;error_reporting = E_ALL & ~E_NOTICE
  265. ;
  266. ;   - Show only errors
  267. ;
  268. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  269. ;
  270. ;   - Show all errors except for notices
  271. ;
  272. error_reporting  =  E_ALL & ~E_NOTICE
  273.  
  274. ; Print out errors (as a part of the output).  For production web sites,
  275. ; you're strongly encouraged to turn this feature off, and use error logging
  276. ; instead (see below).  Keeping display_errors enabled on a production web site
  277. ; may reveal security information to end users, such as file paths on your Web
  278. ; server, your database schema or other information.
  279. display_errors = On
  280.  
  281. ; Even when display_errors is on, errors that occur during PHP's startup
  282. ; sequence are not displayed.  It's strongly recommended to keep
  283. ; display_startup_errors off, except for when debugging.
  284. display_startup_errors = Off
  285.  
  286. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
  287. ; As stated above, you're strongly advised to use error logging in place of
  288. ; error displaying on production web sites.
  289. log_errors = On
  290.  
  291. ; Set maximum length of log_errors. In error_log information about the source is
  292. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  293. log_errors_max_len = 1024
  294.  
  295. ; Do not log repeated messages. Repeated errors must occur in same file on same
  296. ; line until ignore_repeated_source is set true.
  297. ignore_repeated_errors = Off
  298.  
  299. ; Ignore source of message when ignoring repeated messages. When this setting
  300. ; is On you will not log errors with repeated messages from different files or
  301. ; sourcelines.
  302. ignore_repeated_source = Off
  303.  
  304. ; If this parameter is set to Off, then memory leaks will not be shown (on
  305. ; stdout or in the log). This has only effect in a debug compile, and if
  306. ; error reporting includes E_WARNING in the allowed list
  307. report_memleaks = On
  308.  
  309. ; Store the last error/warning message in $php_errormsg (boolean).
  310. track_errors = Off
  311.  
  312. ; Disable the inclusion of HTML tags in error messages.
  313. ;html_errors = Off
  314.  
  315. ; If html_errors is set On PHP produces clickable error messages that direct
  316. ; to a page describing the error or function causing the error in detail.
  317. ; You can download a copy of the PHP manual from http://www.php.net/docs.php
  318. ; and change docref_root to the base URL of your local copy including the
  319. ; leading '/'. You must also specify the file extension being used including
  320. ; the dot.
  321. ;docref_root = "/phpmanual/"
  322. ;docref_ext = .html
  323.  
  324. ; String to output before an error message.
  325. ;error_prepend_string = "<font color=ff0000>"
  326.  
  327. ; String to output after an error message.
  328. ;error_append_string = "</font>"
  329.  
  330. ; Log errors to specified file.
  331. error_log = error_log
  332.  
  333. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  334. ;error_log = syslog
  335.  
  336.  
  337. ;;;;;;;;;;;;;;;;;
  338. ; Data Handling ;
  339. ;;;;;;;;;;;;;;;;;
  340. ;
  341. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  342.  
  343. ; The separator used in PHP generated URLs to separate arguments.
  344. ; Default is "&".
  345. ;arg_separator.output = "&amp;"
  346.  
  347. ; List of separator(s) used by PHP to parse input URLs into variables.
  348. ; Default is "&".
  349. ; NOTE: Every character in this directive is considered as separator!
  350. ;arg_separator.input = ";&"
  351.  
  352. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  353. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  354. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  355. ; values override older values.
  356. variables_order = "EGPCS"
  357.  
  358. ; Whether or not to register the EGPCS variables as global variables.  You may
  359. ; want to turn this off if you don't want to clutter your scripts' global scope
  360. ; with user data.  This makes most sense when coupled with track_vars - in which
  361. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  362. ; variables.
  363. ;
  364. ; You should do your best to write your scripts so that they do not require
  365. ; register_globals to be on;  Using form variables as globals can easily lead
  366. ; to possible security problems, if the code is not very well thought of.
  367. register_globals = Off
  368.  
  369. ; This directive tells PHP whether to declare the argv&argc variables (that
  370. ; would contain the GET information).  If you don't use these variables, you
  371. ; should turn it off for increased performance.
  372. register_argc_argv = On
  373.  
  374. ; Maximum size of POST data that PHP will accept.
  375. post_max_size = 12M
  376.  
  377. ; This directive is deprecated.  Use variables_order instead.
  378. gpc_order = "GPC"
  379.  
  380. ; Magic quotes
  381. ;
  382.  
  383. ; Magic quotes for incoming GET/POST/Cookie data.
  384. magic_quotes_gpc = On
  385.  
  386. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  387. magic_quotes_runtime = Off    
  388.  
  389. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  390. magic_quotes_sybase = Off
  391.  
  392. ; Automatically add files before or after any PHP document.
  393. auto_prepend_file =
  394. auto_append_file =
  395.  
  396. ; As of 4.0b4, PHP always outputs a character encoding by default in
  397. ; the Content-type: header.  To disable sending of the charset, simply
  398. ; set it to be empty.
  399. ;
  400. ; PHP's built-in default is text/html
  401. default_mimetype = "text/html"
  402. ;default_charset = "iso-8859-1"
  403.  
  404. ; Always populate the $HTTP_RAW_POST_DATA variable.
  405. ;always_populate_raw_post_data = On
  406.  
  407.  
  408. ;;;;;;;;;;;;;;;;;;;;;;;;;
  409. ; Paths and Directories ;
  410. ;;;;;;;;;;;;;;;;;;;;;;;;;
  411.  
  412. ; UNIX: "/path1:/path2"  
  413. include_path = ".:/usr/lib/php:/usr/local/lib/php"
  414. ;
  415. ; Windows: "\path1;\path2"
  416. ;include_path = ".;c:\php\includes"
  417.  
  418. ; The root of the PHP pages, used only if nonempty.
  419. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  420. ; if you are running php as a CGI under any web server (other than IIS)
  421. ; see documentation for security issues.  The alternate is to use the
  422. ; cgi.force_redirect configuration below
  423. doc_root =
  424.  
  425. ; The directory under which PHP opens the script using /~username used only
  426. ; if nonempty.
  427. user_dir =
  428.  
  429. ; Directory in which the loadable extensions (modules) reside.
  430. extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"
  431. zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so"
  432.  
  433. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  434. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  435. ; disabled on them.
  436. enable_dl = On
  437.  
  438. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  439. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  440. ; turn it off here AT YOUR OWN RISK
  441. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  442. ; cgi.force_redirect = 1
  443.  
  444. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  445. ; every request.
  446. ; cgi.nph = 1
  447.  
  448. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  449. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  450. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  451. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  452. ; cgi.redirect_status_env = ;
  453.  
  454. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
  455. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  456. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
  457. ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
  458. ; of zero causes PHP to behave as before.  Default is zero.  You should fix your scripts
  459. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  460. ; cgi.fix_pathinfo=0
  461.  
  462. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  463. ; security tokens of the calling client.  This allows IIS to define the
  464. ; security context that the request runs under.  mod_fastcgi under Apache
  465. ; does not currently support this feature (03/17/2002)
  466. ; Set to 1 if running under IIS.  Default is zero.
  467. ; fastcgi.impersonate = 1;
  468.  
  469. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  470. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  471. ; is supported by Apache. When this option is set to 1 PHP will send
  472. ; RFC2616 compliant header.
  473. ; Default is zero.
  474. ;cgi.rfc2616_headers = 0
  475.  
  476.  
  477. ;;;;;;;;;;;;;;;;
  478. ; File Uploads ;
  479. ;;;;;;;;;;;;;;;;
  480.  
  481. ; Whether to allow HTTP file uploads.
  482. file_uploads = On
  483.  
  484. ; Temporary directory for HTTP uploaded files (will use system default if not
  485. ; specified).
  486. ;upload_tmp_dir =
  487.  
  488. ; Maximum allowed size for uploaded files.
  489. upload_max_filesize = 10M
  490.  
  491.  
  492. ;;;;;;;;;;;;;;;;;;
  493. ; Fopen wrappers ;
  494. ;;;;;;;;;;;;;;;;;;
  495.  
  496. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  497. allow_url_fopen = On
  498.  
  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 = On
  624.  
  625. ; Check that a connection is still valid before reuse.
  626. odbc.check_persistent = On
  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 = On
  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 = On
  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 = On
  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: session.save_path = "N;/path"
  816. ; where N is an integer.  Instead of storing all the session files in
  817. ; /path, what this will do is use subdirectories N-levels deep, and
  818. ; store the session data in those directories.  This is useful if you
  819. ; or your OS have problems with lots of files in one directory, and is
  820. ; a more efficient layout for servers that handle lots of sessions.
  821. ; NOTE 1: PHP will not create this directory structure automatically.
  822. ;         You can use the script in the ext/session dir for that purpose.
  823. ; NOTE 2: See the section on garbage collection below if you choose to
  824. ;         use subdirectories for session storage
  825.  
  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. extension=pdo.so
  1120. extension=pdo_sqlite.so
  1121. extension=sqlite.so
  1122. ;extension="zip.so"
  1123. extension=pdo_mysql.so
  1124. extension=ixed/ixed.5.2.lin
  1125. extension=ffmpeg.so
  1126.  
  1127. zend_extension="/usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so"
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top