SHARE
TWEET

Untitled

a guest Apr 19th, 2019 194 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [PHP]
  2.  
  3. ;;;;;;;;;;;;;;;;;;;
  4. ; About php.ini   ;
  5. ;;;;;;;;;;;;;;;;;;;
  6. ; PHP's initialization file, generally called php.ini, is responsible for
  7. ; configuring many of the aspects of PHP's behavior.
  8.  
  9. ; PHP attempts to find and load this configuration from a number of locations.
  10. ; The following is a summary of its search order:
  11. ; 1. SAPI module specific location.
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
  14. ; 4. Current working directory (except CLI)
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
  16. ; (otherwise in Windows)
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
  18. ; Windows directory (C:\windows or C:\winnt)
  19. ; See the PHP docs for more specific information.
  20. ; http://php.net/configuration.file
  21.  
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
  25. ; they might mean something in the future.
  26.  
  27. ; Directives following the section heading [PATH=/www/mysite] only
  28. ; apply to PHP files in the /www/mysite directory.  Directives
  29. ; following the section heading [HOST=www.example.com] only apply to
  30. ; PHP files served from www.example.com.  Directives set in these
  31. ; special sections cannot be overridden by user-defined INI files or
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
  33. ; CGI/FastCGI.
  34. ; http://php.net/ini.sections
  35.  
  36. ; Directives are specified using the following syntax:
  37. ; directive = value
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
  39. ; Directives are variables used to configure PHP or PHP extensions.
  40. ; There is no name validation.  If PHP can't find an expected
  41. ; directive because it is not set or is mistyped, a default value will be used.
  42.  
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
  46. ; previously set variable or directive (e.g. ${foo})
  47.  
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
  49. ; |  bitwise OR
  50. ; ^  bitwise XOR
  51. ; &  bitwise AND
  52. ; ~  bitwise NOT
  53. ; !  boolean NOT
  54.  
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
  56. ; They can be turned off using the values 0, Off, False or No.
  57.  
  58. ; An empty string can be denoted by simply not writing anything after the equal
  59. ; sign, or by using the None keyword:
  60.  
  61. ;  foo =         ; sets foo to an empty string
  62. ;  foo = None    ; sets foo to an empty string
  63. ;  foo = "None"  ; sets foo to the string 'None'
  64.  
  65. ; If you use constants in your value, and these constants belong to a
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
  67. ; you may only use these constants *after* the line that loads the extension.
  68.  
  69. ;;;;;;;;;;;;;;;;;;;
  70. ; About this file ;
  71. ;;;;;;;;;;;;;;;;;;;
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
  73. ; in production environments and one that is recommended to be used in
  74. ; development environments.
  75.  
  76. ; php.ini-production contains settings which hold security, performance and
  77. ; best practices at its core. But please be aware, these settings may break
  78. ; compatibility with older or less security conscience applications. We
  79. ; recommending using the production ini in production and testing environments.
  80.  
  81. ; php.ini-development is very similar to its production variant, except it's
  82. ; much more verbose when it comes to errors. We recommending using the
  83. ; development version only in development environments as errors shown to
  84. ; application users can inadvertently leak otherwise secure information.
  85.  
  86. ;;;;;;;;;;;;;;;;;;;
  87. ; Quick Reference ;
  88. ;;;;;;;;;;;;;;;;;;;
  89. ; The following are all the settings which are different in either the production
  90. ; or development versions of the INIs with respect to PHP's default behavior.
  91. ; Please see the actual settings later in the document for more details as to why
  92. ; we recommend these changes in PHP's behavior.
  93.  
  94. ; allow_call_time_pass_reference
  95. ;   Default Value: On
  96. ;   Development Value: Off
  97. ;   Production Value: Off
  98.  
  99. ; display_errors
  100. ;   Default Value: On
  101. ;   Development Value: On
  102. ;   Production Value: Off
  103.  
  104. ; display_startup_errors
  105. ;   Default Value: Off
  106. ;   Development Value: On
  107. ;   Production Value: Off
  108.  
  109. ; error_reporting
  110. ;   Default Value: E_ALL & ~E_NOTICE
  111. ;   Development Value: E_ALL | E_STRICT
  112. ;   Production Value: E_ALL & ~E_DEPRECATED
  113.  
  114. ; html_errors
  115. ;   Default Value: On
  116. ;   Development Value: On
  117. ;   Production value: Off
  118.  
  119. ; log_errors
  120. ;   Default Value: Off
  121. ;   Development Value: On
  122. ;   Production Value: On
  123.  
  124. ; magic_quotes_gpc
  125. ;   Default Value: On
  126. ;   Development Value: Off
  127. ;   Production Value: Off
  128.  
  129. ; max_input_time
  130. ;   Default Value: -1 (Unlimited)
  131. ;   Development Value: 60 (60 seconds)
  132. ;   Production Value: 60 (60 seconds)
  133.  
  134. ; output_buffering
  135. ;   Default Value: Off
  136. ;   Development Value: 4096
  137. ;   Production Value: 4096
  138.  
  139. ; register_argc_argv
  140. ;   Default Value: On
  141. ;   Development Value: Off
  142. ;   Production Value: Off
  143.  
  144. ; register_long_arrays
  145. ;   Default Value: On
  146. ;   Development Value: Off
  147. ;   Production Value: Off
  148.  
  149. ; request_order
  150. ;   Default Value: None
  151. ;   Development Value: "GP"
  152. ;   Production Value: "GP"
  153.  
  154. ; session.bug_compat_42
  155. ;   Default Value: On
  156. ;   Development Value: On
  157. ;   Production Value: Off
  158.  
  159. ; session.bug_compat_warn
  160. ;   Default Value: On
  161. ;   Development Value: On
  162. ;   Production Value: Off
  163.  
  164. ; session.gc_divisor
  165. ;   Default Value: 100
  166. ;   Development Value: 1000
  167. ;   Production Value: 1000
  168.  
  169. ; session.hash_bits_per_character
  170. ;   Default Value: 4
  171. ;   Development Value: 5
  172. ;   Production Value: 5
  173.  
  174. ; short_open_tag
  175. ;   Default Value: On
  176. ;   Development Value: Off
  177. ;   Production Value: Off
  178.  
  179. ; track_errors
  180. ;   Default Value: Off
  181. ;   Development Value: On
  182. ;   Production Value: Off
  183.  
  184. ; url_rewriter.tags
  185. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
  186. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  187. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  188.  
  189. ; variables_order
  190. ;   Default Value: "EGPCS"
  191. ;   Development Value: "GPCS"
  192. ;   Production Value: "GPCS"
  193.  
  194. ;;;;;;;;;;;;;;;;;;;;
  195. ; php.ini Options  ;
  196. ;;;;;;;;;;;;;;;;;;;;
  197. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
  198. ;user_ini.filename = ".user.ini"
  199.  
  200. ; To disable this feature set this option to empty value
  201. ;user_ini.filename =
  202.  
  203. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
  204. ;user_ini.cache_ttl = 300
  205.  
  206. ;;;;;;;;;;;;;;;;;;;;
  207. ; Language Options ;
  208. ;;;;;;;;;;;;;;;;;;;;
  209.  
  210. ; Enable the PHP scripting language engine under Apache.
  211. ; http://php.net/engine
  212. engine = On
  213.  
  214. ; This directive determines whether or not PHP will recognize code between
  215. ; <? and ?> tags as PHP source which should be processed as such. It's been
  216. ; recommended for several years that you not use the short tag "short cut" and
  217. ; instead to use the full <?php and ?> tag combination. With the wide spread use
  218. ; of XML and use of these tags by other languages, the server can become easily
  219. ; confused and end up parsing the wrong code in the wrong context. But because
  220. ; this short cut has been a feature for such a long time, it's currently still
  221. ; supported for backwards compatibility, but we recommend you don't use them.
  222. ; Default Value: On
  223. ; Development Value: Off
  224. ; Production Value: Off
  225. ; http://php.net/short-open-tag
  226. short_open_tag = On
  227.  
  228. ; Allow ASP-style <% %> tags.
  229. ; http://php.net/asp-tags
  230. asp_tags = Off
  231.  
  232. ; The number of significant digits displayed in floating point numbers.
  233. ; http://php.net/precision
  234. precision = 14
  235.  
  236. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  237. ; http://php.net/y2k-compliance
  238. y2k_compliance = On
  239.  
  240. ; Output buffering is a mechanism for controlling how much output data
  241. ; (excluding headers and cookies) PHP should keep internally before pushing that
  242. ; data to the client. If your application's output exceeds this setting, PHP
  243. ; will send that data in chunks of roughly the size you specify.
  244. ; Turning on this setting and managing its maximum buffer size can yield some
  245. ; interesting side-effects depending on your application and web server.
  246. ; You may be able to send headers and cookies after you've already sent output
  247. ; through print or echo. You also may see performance benefits if your server is
  248. ; emitting less packets due to buffered output versus PHP streaming the output
  249. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
  250. ; reasons.
  251. ; Note: Output buffering can also be controlled via Output Buffering Control
  252. ;   functions.
  253. ; Possible Values:
  254. ;   On = Enabled and buffer is unlimited. (Use with caution)
  255. ;   Off = Disabled
  256. ;   Integer = Enables the buffer and sets its maximum size in bytes.
  257. ; Note: This directive is hardcoded to Off for the CLI SAPI
  258. ; Default Value: Off
  259. ; Development Value: 4096
  260. ; Production Value: 4096
  261. ; http://php.net/output-buffering
  262. output_buffering = 4096
  263.  
  264. ; You can redirect all of the output of your scripts to a function.  For
  265. ; example, if you set output_handler to "mb_output_handler", character
  266. ; encoding will be transparently converted to the specified encoding.
  267. ; Setting any output handler automatically turns on output buffering.
  268. ; Note: People who wrote portable scripts should not depend on this ini
  269. ;   directive. Instead, explicitly set the output handler using ob_start().
  270. ;   Using this ini directive may cause problems unless you know what script
  271. ;   is doing.
  272. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  273. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
  274. ; Note: output_handler must be empty if this is set 'On' !!!!
  275. ;   Instead you must use zlib.output_handler.
  276. ; http://php.net/output-handler
  277. ;output_handler =
  278.  
  279. ; Transparent output compression using the zlib library
  280. ; Valid values for this option are 'off', 'on', or a specific buffer size
  281. ; to be used for compression (default is 4KB)
  282. ; Note: Resulting chunk size may vary due to nature of compression. PHP
  283. ;   outputs chunks that are few hundreds bytes each as a result of
  284. ;   compression. If you prefer a larger chunk size for better
  285. ;   performance, enable output_buffering in addition.
  286. ; Note: You need to use zlib.output_handler instead of the standard
  287. ;   output_handler, or otherwise the output will be corrupted.
  288. ; http://php.net/zlib.output-compression
  289. zlib.output_compression = Off
  290.  
  291. ; http://php.net/zlib.output-compression-level
  292. ;zlib.output_compression_level = -1
  293.  
  294. ; You cannot specify additional output handlers if zlib.output_compression
  295. ; is activated here. This setting does the same as output_handler but in
  296. ; a different order.
  297. ; http://php.net/zlib.output-handler
  298. ;zlib.output_handler =
  299.  
  300. ; Implicit flush tells PHP to tell the output layer to flush itself
  301. ; automatically after every output block.  This is equivalent to calling the
  302. ; PHP function flush() after each and every call to print() or echo() and each
  303. ; and every HTML block.  Turning this option on has serious performance
  304. ; implications and is generally recommended for debugging purposes only.
  305. ; http://php.net/implicit-flush
  306. ; Note: This directive is hardcoded to On for the CLI SAPI
  307. implicit_flush = Off
  308.  
  309. ; The unserialize callback function will be called (with the undefined class'
  310. ; name as parameter), if the unserializer finds an undefined class
  311. ; which should be instantiated. A warning appears if the specified function is
  312. ; not defined, or if the function doesn't include/implement the missing class.
  313. ; So only set this entry, if you really want to implement such a
  314. ; callback-function.
  315. unserialize_callback_func =
  316.  
  317. ; When floats & doubles are serialized store serialize_precision significant
  318. ; digits after the floating point. The default value ensures that when floats
  319. ; are decoded with unserialize, the data will remain the same.
  320. serialize_precision = 17
  321.  
  322. ; This directive allows you to enable and disable warnings which PHP will issue
  323. ; if you pass a value by reference at function call time. Passing values by
  324. ; reference at function call time is a deprecated feature which will be removed
  325. ; from PHP at some point in the near future. The acceptable method for passing a
  326. ; value by reference to a function is by declaring the reference in the functions
  327. ; definition, not at call time. This directive does not disable this feature, it
  328. ; only determines whether PHP will warn you about it or not. These warnings
  329. ; should enabled in development environments only.
  330. ; Default Value: On (Suppress warnings)
  331. ; Development Value: Off (Issue warnings)
  332. ; Production Value: Off (Issue warnings)
  333. ; http://php.net/allow-call-time-pass-reference
  334. allow_call_time_pass_reference = ON
  335.  
  336. ; Safe Mode
  337. ; http://php.net/safe-mode
  338. safe_mode = Off
  339.  
  340. ; By default, Safe Mode does a UID compare check when
  341. ; opening files. If you want to relax this to a GID compare,
  342. ; then turn on safe_mode_gid.
  343. ; http://php.net/safe-mode-gid
  344. safe_mode_gid = Off
  345.  
  346. ; When safe_mode is on, UID/GID checks are bypassed when
  347. ; including files from this directory and its subdirectories.
  348. ; (directory must also be in include_path or full path must
  349. ; be used when including)
  350. ; http://php.net/safe-mode-include-dir
  351. safe_mode_include_dir =
  352.  
  353. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  354. ; will be allowed to be executed via the exec family of functions.
  355. ; http://php.net/safe-mode-exec-dir
  356. safe_mode_exec_dir =
  357.  
  358. ; Setting certain environment variables may be a potential security breach.
  359. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  360. ; the user may only alter environment variables whose names begin with the
  361. ; prefixes supplied here.  By default, users will only be able to set
  362. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  363. ; Note:  If this directive is empty, PHP will let the user modify ANY
  364. ;   environment variable!
  365. ; http://php.net/safe-mode-allowed-env-vars
  366. safe_mode_allowed_env_vars = PHP_
  367.  
  368. ; This directive contains a comma-delimited list of environment variables that
  369. ; the end user won't be able to change using putenv().  These variables will be
  370. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  371. ; http://php.net/safe-mode-protected-env-vars
  372. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  373.  
  374. ; open_basedir, if set, limits all file operations to the defined directory
  375. ; and below.  This directive makes most sense if used in a per-directory
  376. ; or per-virtualhost web server configuration file. This directive is
  377. ; *NOT* affected by whether Safe Mode is turned On or Off.
  378. ; http://php.net/open-basedir
  379. ;open_basedir =
  380.  
  381. ; This directive allows you to disable certain functions for security reasons.
  382. ; It receives a comma-delimited list of function names. This directive is
  383. ; *NOT* affected by whether Safe Mode is turned On or Off.
  384. ; http://php.net/disable-functions
  385. disable_functions =
  386.  
  387. ; This directive allows you to disable certain classes for security reasons.
  388. ; It receives a comma-delimited list of class names. This directive is
  389. ; *NOT* affected by whether Safe Mode is turned On or Off.
  390. ; http://php.net/disable-classes
  391. disable_classes =
  392.  
  393. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  394. ; <span style="color: ???????"> would work.
  395. ; http://php.net/syntax-highlighting
  396. ;highlight.string  = #DD0000
  397. ;highlight.comment = #FF9900
  398. ;highlight.keyword = #007700
  399. ;highlight.bg      = #FFFFFF
  400. ;highlight.default = #0000BB
  401. ;highlight.html    = #000000
  402.  
  403. ; If enabled, the request will be allowed to complete even if the user aborts
  404. ; the request. Consider enabling it if executing long requests, which may end up
  405. ; being interrupted by the user or a browser timing out. PHP's default behavior
  406. ; is to disable this feature.
  407. ; http://php.net/ignore-user-abort
  408. ;ignore_user_abort = On
  409.  
  410. ; Determines the size of the realpath cache to be used by PHP. This value should
  411. ; be increased on systems where PHP opens many files to reflect the quantity of
  412. ; the file operations performed.
  413. ; http://php.net/realpath-cache-size
  414. ;realpath_cache_size = 16k
  415.  
  416. ; Duration of time, in seconds for which to cache realpath information for a given
  417. ; file or directory. For systems with rarely changing files, consider increasing this
  418. ; value.
  419. ; http://php.net/realpath-cache-ttl
  420. ;realpath_cache_ttl = 120
  421.  
  422. ; Enables or disables the circular reference collector.
  423. ; http://php.net/zend.enable-gc
  424. zend.enable_gc = On
  425.  
  426. ;;;;;;;;;;;;;;;;;
  427. ; Miscellaneous ;
  428. ;;;;;;;;;;;;;;;;;
  429.  
  430. ; Decides whether PHP may expose the fact that it is installed on the server
  431. ; (e.g. by adding its signature to the Web server header).  It is no security
  432. ; threat in any way, but it makes it possible to determine whether you use PHP
  433. ; on your server or not.
  434. ; http://php.net/expose-php
  435. expose_php = On
  436.  
  437. ;;;;;;;;;;;;;;;;;;;
  438. ; Resource Limits ;
  439. ;;;;;;;;;;;;;;;;;;;
  440.  
  441. ; Maximum execution time of each script, in seconds
  442. ; http://php.net/max-execution-time
  443. ; Note: This directive is hardcoded to 0 for the CLI SAPI
  444. max_execution_time = 1800
  445.  
  446. ; Maximum amount of time each script may spend parsing request data. It's a good
  447. ; idea to limit this time on productions servers in order to eliminate unexpectedly
  448. ; long running scripts.
  449. ; Note: This directive is hardcoded to -1 for the CLI SAPI
  450. ; Default Value: -1 (Unlimited)
  451. ; Development Value: 60 (60 seconds)
  452. ; Production Value: 60 (60 seconds)
  453. ; http://php.net/max-input-time
  454. max_input_time = 120
  455.  
  456. ; Maximum input variable nesting level
  457. ; http://php.net/max-input-nesting-level
  458. ;max_input_nesting_level = 64
  459.  
  460. ; How many GET/POST/COOKIE input variables may be accepted
  461. ; max_input_vars = 1000
  462.  
  463. ; Maximum amount of memory a script may consume (128MB)
  464. ; http://php.net/memory-limit
  465. memory_limit = 128M
  466.  
  467. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  468. ; Error handling and logging ;
  469. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  470.  
  471. ; This directive informs PHP of which errors, warnings and notices you would like
  472. ; it to take action for. The recommended way of setting values for this
  473. ; directive is through the use of the error level constants and bitwise
  474. ; operators. The error level constants are below here for convenience as well as
  475. ; some common settings and their meanings.
  476. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
  477. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
  478. ; recommended coding standards in PHP. For performance reasons, this is the
  479. ; recommend error reporting setting. Your production server shouldn't be wasting
  480. ; resources complaining about best practices and coding standards. That's what
  481. ; development servers and development settings are for.
  482. ; Note: The php.ini-development file has this setting as E_ALL | E_STRICT. This
  483. ; means it pretty much reports everything which is exactly what you want during
  484. ; development and early testing.
  485. ;
  486. ; Error Level Constants:
  487. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
  488. ; E_ERROR           - fatal run-time errors
  489. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
  490. ; E_WARNING         - run-time warnings (non-fatal errors)
  491. ; E_PARSE           - compile-time parse errors
  492. ; E_NOTICE          - run-time notices (these are warnings which often result
  493. ;                     from a bug in your code, but it's possible that it was
  494. ;                     intentional (e.g., using an uninitialized variable and
  495. ;                     relying on the fact it's automatically initialized to an
  496. ;                     empty string)
  497. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
  498. ;                     to your code which will ensure the best interoperability
  499. ;                     and forward compatibility of your code
  500. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  501. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  502. ;                     initial startup
  503. ; E_COMPILE_ERROR   - fatal compile-time errors
  504. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  505. ; E_USER_ERROR      - user-generated error message
  506. ; E_USER_WARNING    - user-generated warning message
  507. ; E_USER_NOTICE     - user-generated notice message
  508. ; E_DEPRECATED      - warn about code that will not work in future versions
  509. ;                     of PHP
  510. ; E_USER_DEPRECATED - user-generated deprecation warnings
  511. ;
  512. ; Common Values:
  513. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices and coding standards warnings.)
  514. ;   E_ALL & ~E_NOTICE | E_STRICT  (Show all errors, except for notices)
  515. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
  516. ;   E_ALL | E_STRICT  (Show all errors, warnings and notices including coding standards.)
  517. ; Default Value: E_ALL & ~E_NOTICE
  518. ; Development Value: E_ALL | E_STRICT
  519. ; Production Value: E_ALL & ~E_DEPRECATED
  520. ; http://php.net/error-reporting
  521. error_reporting = E_ALL | E_STRICT
  522.  
  523. ; This directive controls whether or not and where PHP will output errors,
  524. ; notices and warnings too. Error output is very useful during development, but
  525. ; it could be very dangerous in production environments. Depending on the code
  526. ; which is triggering the error, sensitive information could potentially leak
  527. ; out of your application such as database usernames and passwords or worse.
  528. ; It's recommended that errors be logged on production servers rather than
  529. ; having the errors sent to STDOUT.
  530. ; Possible Values:
  531. ;   Off = Do not display any errors
  532. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
  533. ;   On or stdout = Display errors to STDOUT
  534. ; Default Value: On
  535. ; Development Value: On
  536. ; Production Value: Off
  537. ; http://php.net/display-errors
  538. display_errors = On
  539.  
  540. ; The display of errors which occur during PHP's startup sequence are handled
  541. ; separately from display_errors. PHP's default behavior is to suppress those
  542. ; errors from clients. Turning the display of startup errors on can be useful in
  543. ; debugging configuration problems. But, it's strongly recommended that you
  544. ; leave this setting off on production servers.
  545. ; Default Value: Off
  546. ; Development Value: On
  547. ; Production Value: Off
  548. ; http://php.net/display-startup-errors
  549. display_startup_errors = On
  550.  
  551. ; Besides displaying errors, PHP can also log errors to locations such as a
  552. ; server-specific log, STDERR, or a location specified by the error_log
  553. ; directive found below. While errors should not be displayed on productions
  554. ; servers they should still be monitored and logging is a great way to do that.
  555. ; Default Value: Off
  556. ; Development Value: On
  557. ; Production Value: On
  558. ; http://php.net/log-errors
  559. log_errors = On
  560.  
  561. ; Set maximum length of log_errors. In error_log information about the source is
  562. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  563. ; http://php.net/log-errors-max-len
  564. log_errors_max_len = 1024
  565.  
  566. ; Do not log repeated messages. Repeated errors must occur in same file on same
  567. ; line unless ignore_repeated_source is set true.
  568. ; http://php.net/ignore-repeated-errors
  569. ignore_repeated_errors = Off
  570.  
  571. ; Ignore source of message when ignoring repeated messages. When this setting
  572. ; is On you will not log errors with repeated messages from different files or
  573. ; source lines.
  574. ; http://php.net/ignore-repeated-source
  575. ignore_repeated_source = Off
  576.  
  577. ; If this parameter is set to Off, then memory leaks will not be shown (on
  578. ; stdout or in the log). This has only effect in a debug compile, and if
  579. ; error reporting includes E_WARNING in the allowed list
  580. ; http://php.net/report-memleaks
  581. report_memleaks = On
  582.  
  583. ; This setting is on by default.
  584. ;report_zend_debug = 0
  585.  
  586. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
  587. ; to On can assist in debugging and is appropriate for development servers. It should
  588. ; however be disabled on production servers.
  589. ; Default Value: Off
  590. ; Development Value: On
  591. ; Production Value: Off
  592. ; http://php.net/track-errors
  593. track_errors = On
  594.  
  595. ; Turn off normal error reporting and emit XML-RPC error XML
  596. ; http://php.net/xmlrpc-errors
  597. ;xmlrpc_errors = 0
  598.  
  599. ; An XML-RPC faultCode
  600. ;xmlrpc_error_number = 0
  601.  
  602. ; When PHP displays or logs an error, it has the capability of inserting html
  603. ; links to documentation related to that error. This directive controls whether
  604. ; those HTML links appear in error messages or not. For performance and security
  605. ; reasons, it's recommended you disable this on production servers.
  606. ; Note: This directive is hardcoded to Off for the CLI SAPI
  607. ; Default Value: On
  608. ; Development Value: On
  609. ; Production value: Off
  610. ; http://php.net/html-errors
  611. html_errors = On
  612.  
  613. ; If html_errors is set On PHP produces clickable error messages that direct
  614. ; to a page describing the error or function causing the error in detail.
  615. ; You can download a copy of the PHP manual from http://php.net/docs
  616. ; and change docref_root to the base URL of your local copy including the
  617. ; leading '/'. You must also specify the file extension being used including
  618. ; the dot. PHP's default behavior is to leave these settings empty.
  619. ; Note: Never use this feature for production boxes.
  620. ; http://php.net/docref-root
  621. ; Examples
  622. ;docref_root = "/phpmanual/"
  623.  
  624. ; http://php.net/docref-ext
  625. ;docref_ext = .html
  626.  
  627. ; String to output before an error message. PHP's default behavior is to leave
  628. ; this setting blank.
  629. ; http://php.net/error-prepend-string
  630. ; Example:
  631. ;error_prepend_string = "<span style='color: #ff0000'>"
  632.  
  633. ; String to output after an error message. PHP's default behavior is to leave
  634. ; this setting blank.
  635. ; http://php.net/error-append-string
  636. ; Example:
  637. ;error_append_string = "</span>"
  638.  
  639. ; Log errors to specified file. PHP's default behavior is to leave this value
  640. ; empty.
  641. ; http://php.net/error-log
  642. ; Example:
  643. ;error_log = php_errors.log
  644. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  645. ;error_log = syslog
  646.  
  647. ;windows.show_crt_warning
  648. ; Default value: 0
  649. ; Development value: 0
  650. ; Production value: 0
  651.  
  652. ;;;;;;;;;;;;;;;;;
  653. ; Data Handling ;
  654. ;;;;;;;;;;;;;;;;;
  655.  
  656. ; The separator used in PHP generated URLs to separate arguments.
  657. ; PHP's default setting is "&".
  658. ; http://php.net/arg-separator.output
  659. ; Example:
  660. ;arg_separator.output = "&amp;"
  661.  
  662. ; List of separator(s) used by PHP to parse input URLs into variables.
  663. ; PHP's default setting is "&".
  664. ; NOTE: Every character in this directive is considered as separator!
  665. ; http://php.net/arg-separator.input
  666. ; Example:
  667. ;arg_separator.input = ";&"
  668.  
  669. ; This directive determines which super global arrays are registered when PHP
  670. ; starts up. If the register_globals directive is enabled, it also determines
  671. ; what order variables are populated into the global space. G,P,C,E & S are
  672. ; abbreviations for the following respective super globals: GET, POST, COOKIE,
  673. ; ENV and SERVER. There is a performance penalty paid for the registration of
  674. ; these arrays and because ENV is not as commonly used as the others, ENV is
  675. ; is not recommended on productions servers. You can still get access to
  676. ; the environment variables through getenv() should you need to.
  677. ; Default Value: "EGPCS"
  678. ; Development Value: "GPCS"
  679. ; Production Value: "GPCS";
  680. ; http://php.net/variables-order
  681. variables_order = "GPCS"
  682.  
  683. ; This directive determines which super global data (G,P,C,E & S) should
  684. ; be registered into the super global array REQUEST. If so, it also determines
  685. ; the order in which that data is registered. The values for this directive are
  686. ; specified in the same manner as the variables_order directive, EXCEPT one.
  687. ; Leaving this value empty will cause PHP to use the value set in the
  688. ; variables_order directive. It does not mean it will leave the super globals
  689. ; array REQUEST empty.
  690. ; Default Value: None
  691. ; Development Value: "GP"
  692. ; Production Value: "GP"
  693. ; http://php.net/request-order
  694. request_order = "CGP"
  695.  
  696. ; Whether or not to register the EGPCS variables as global variables.  You may
  697. ; want to turn this off if you don't want to clutter your scripts' global scope
  698. ; with user data.
  699. ; You should do your best to write your scripts so that they do not require
  700. ; register_globals to be on;  Using form variables as globals can easily lead
  701. ; to possible security problems, if the code is not very well thought of.
  702. ; http://php.net/register-globals
  703. register_globals = Off
  704.  
  705. ; Determines whether the deprecated long $HTTP_*_VARS type predefined variables
  706. ; are registered by PHP or not. As they are deprecated, we obviously don't
  707. ; recommend you use them. They are on by default for compatibility reasons but
  708. ; they are not recommended on production servers.
  709. ; Default Value: On
  710. ; Development Value: Off
  711. ; Production Value: Off
  712. ; http://php.net/register-long-arrays
  713. register_long_arrays = Off
  714.  
  715. ; This directive determines whether PHP registers $argv & $argc each time it
  716. ; runs. $argv contains an array of all the arguments passed to PHP when a script
  717. ; is invoked. $argc contains an integer representing the number of arguments
  718. ; that were passed when the script was invoked. These arrays are extremely
  719. ; useful when running scripts from the command line. When this directive is
  720. ; enabled, registering these variables consumes CPU cycles and memory each time
  721. ; a script is executed. For performance reasons, this feature should be disabled
  722. ; on production servers.
  723. ; Note: This directive is hardcoded to On for the CLI SAPI
  724. ; Default Value: On
  725. ; Development Value: Off
  726. ; Production Value: Off
  727. ; http://php.net/register-argc-argv
  728. register_argc_argv = Off
  729.  
  730. ; When enabled, the SERVER and ENV variables are created when they're first
  731. ; used (Just In Time) instead of when the script starts. If these variables
  732. ; are not used within a script, having this directive on will result in a
  733. ; performance gain. The PHP directives register_globals, register_long_arrays,
  734. ; and register_argc_argv must be disabled for this directive to have any affect.
  735. ; http://php.net/auto-globals-jit
  736. auto_globals_jit = On
  737.  
  738. ; Maximum size of POST data that PHP will accept.
  739. ; http://php.net/post-max-size
  740. post_max_size = 100M
  741.  
  742. ; Magic quotes are a preprocessing feature of PHP where PHP will attempt to
  743. ; escape any character sequences in GET, POST, COOKIE and ENV data which might
  744. ; otherwise corrupt data being placed in resources such as databases before
  745. ; making that data available to you. Because of character encoding issues and
  746. ; non-standard SQL implementations across many databases, it's not currently
  747. ; possible for this feature to be 100% accurate. PHP's default behavior is to
  748. ; enable the feature. We strongly recommend you use the escaping mechanisms
  749. ; designed specifically for the database your using instead of relying on this
  750. ; feature. Also note, this feature has been deprecated as of PHP 5.3.0 and is
  751. ; removed in PHP 5.4.
  752. ; Default Value: On
  753. ; Development Value: Off
  754. ; Production Value: Off
  755. ; http://php.net/magic-quotes-gpc
  756. magic_quotes_gpc = Off
  757.  
  758. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  759. ; http://php.net/magic-quotes-runtime
  760. magic_quotes_runtime = Off
  761.  
  762. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  763. ; http://php.net/magic-quotes-sybase
  764. magic_quotes_sybase = Off
  765.  
  766. ; Automatically add files before PHP document.
  767. ; http://php.net/auto-prepend-file
  768. auto_prepend_file =
  769.  
  770. ; Automatically add files after PHP document.
  771. ; http://php.net/auto-append-file
  772. auto_append_file =
  773.  
  774. ; By default, PHP will output a character encoding using
  775. ; the Content-type: header.  To disable sending of the charset, simply
  776. ; set it to be empty.
  777. ;
  778. ; PHP's built-in default is text/html
  779. ; http://php.net/default-mimetype
  780. default_mimetype = "text/html"
  781.  
  782. ; PHP's default character set is set to empty.
  783. ; http://php.net/default-charset
  784. ;default_charset = "iso-8859-1"
  785.  
  786. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
  787. ; to disable this feature.
  788. ; http://php.net/always-populate-raw-post-data
  789. ;always_populate_raw_post_data = On
  790.  
  791. ;;;;;;;;;;;;;;;;;;;;;;;;;
  792. ; Paths and Directories ;
  793. ;;;;;;;;;;;;;;;;;;;;;;;;;
  794.  
  795. ; UNIX: "/path1:/path2"
  796. ;include_path = ".:/php/includes"
  797. ;
  798. ; Windows: "\path1;\path2"
  799. ;include_path = ".;c:\php\includes"
  800. ;
  801. ; PHP's default setting for include_path is ".;/path/to/php/pear"
  802. ; http://php.net/include-path
  803.  
  804. ; The root of the PHP pages, used only if nonempty.
  805. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  806. ; if you are running php as a CGI under any web server (other than IIS)
  807. ; see documentation for security issues.  The alternate is to use the
  808. ; cgi.force_redirect configuration below
  809. ; http://php.net/doc-root
  810. doc_root =
  811.  
  812. ; The directory under which PHP opens the script using /~username used only
  813. ; if nonempty.
  814. ; http://php.net/user-dir
  815. user_dir =
  816.  
  817. ; Directory in which the loadable extensions (modules) reside.
  818. ; http://php.net/extension-dir
  819. ; extension_dir = "./"
  820. ; On windows:
  821. extension_dir ="D:\phpProject_cn\core\PHP\ext"
  822.  
  823. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  824. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  825. ; disabled on them.
  826. ; http://php.net/enable-dl
  827. enable_dl = Off
  828.  
  829. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  830. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  831. ; turn it off here AT YOUR OWN RISK
  832. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  833. ; http://php.net/cgi.force-redirect
  834. ;cgi.force_redirect = 1
  835.  
  836. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  837. ; every request. PHP's default behavior is to disable this feature.
  838. ;cgi.nph = 1
  839.  
  840. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  841. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  842. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  843. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  844. ; http://php.net/cgi.redirect-status-env
  845. ;cgi.redirect_status_env =
  846.  
  847. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
  848. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  849. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
  850. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
  851. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
  852. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  853. ; http://php.net/cgi.fix-pathinfo
  854. ;cgi.fix_pathinfo=1
  855.  
  856. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  857. ; security tokens of the calling client.  This allows IIS to define the
  858. ; security context that the request runs under.  mod_fastcgi under Apache
  859. ; does not currently support this feature (03/17/2002)
  860. ; Set to 1 if running under IIS.  Default is zero.
  861. ; http://php.net/fastcgi.impersonate
  862. ;fastcgi.impersonate = 1
  863.  
  864. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
  865. ; this feature.
  866. ;fastcgi.logging = 0
  867.  
  868. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  869. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  870. ; is supported by Apache. When this option is set to 1 PHP will send
  871. ; RFC2616 compliant header.
  872. ; Default is zero.
  873. ; http://php.net/cgi.rfc2616-headers
  874. ;cgi.rfc2616_headers = 0
  875.  
  876. ;;;;;;;;;;;;;;;;
  877. ; File Uploads ;
  878. ;;;;;;;;;;;;;;;;
  879.  
  880. ; Whether to allow HTTP file uploads.
  881. ; http://php.net/file-uploads
  882. file_uploads = On
  883.  
  884. ; Temporary directory for HTTP uploaded files (will use system default if not
  885. ; specified).
  886. ; http://php.net/upload-tmp-dir
  887. ;upload_tmp_dir =
  888.  
  889. ; Maximum allowed size for uploaded files.
  890. ; http://php.net/upload-max-filesize
  891. upload_max_filesize = 100M
  892.  
  893. ; Maximum number of files that can be uploaded via a single request
  894. max_file_uploads = 100
  895.  
  896. ;;;;;;;;;;;;;;;;;;
  897. ; Fopen wrappers ;
  898. ;;;;;;;;;;;;;;;;;;
  899.  
  900. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  901. ; http://php.net/allow-url-fopen
  902. allow_url_fopen = On
  903.  
  904. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
  905. ; http://php.net/allow-url-include
  906. allow_url_include = Off
  907.  
  908. ; Define the anonymous ftp password (your email address). PHP's default setting
  909. ; for this is empty.
  910. ; http://php.net/from
  911. ;from="john@doe.com"
  912.  
  913. ; Define the User-Agent string. PHP's default setting for this is empty.
  914. ; http://php.net/user-agent
  915. ;user_agent="PHP"
  916.  
  917. ; Default timeout for socket based streams (seconds)
  918. ; http://php.net/default-socket-timeout
  919. default_socket_timeout = 60
  920.  
  921. ; If your scripts have to deal with files from Macintosh systems,
  922. ; or you are running on a Mac and need to deal with files from
  923. ; unix or win32 systems, setting this flag will cause PHP to
  924. ; automatically detect the EOL character in those files so that
  925. ; fgets() and file() will work regardless of the source of the file.
  926. ; http://php.net/auto-detect-line-endings
  927. ;auto_detect_line_endings = Off
  928.  
  929. ;;;;;;;;;;;;;;;;;;;;;;
  930. ; Dynamic Extensions ;
  931. ;;;;;;;;;;;;;;;;;;;;;;
  932.  
  933. ; If you wish to have an extension loaded automatically, use the following
  934. ; syntax:
  935. ;
  936. ;   extension=modulename.extension
  937. ;
  938. ; For example, on Windows:
  939. ;
  940. ;   extension=msql.dll
  941. ;
  942. ; ... or under UNIX:
  943. ;
  944. ;   extension=msql.so
  945. ;
  946. ; ... or with a path:
  947. ;
  948. ;   extension=/path/to/extension/msql.so
  949. ;
  950. ; If you only provide the name of the extension, PHP will look for it in its
  951. ; default extension directory.
  952. ;
  953. ; Windows Extensions
  954. ; Note that ODBC support is built in, so no dll is needed for it.
  955. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
  956. ; extension folders as well as the separate PECL DLL download (PHP 5).
  957. ; Be sure to appropriately set the extension_dir directive.
  958. ;
  959. extension=php_bz2.dll
  960. extension=php_curl.dll
  961. ;extension=php_fileinfo.dll
  962. extension=php_gd2.dll
  963. ;extension=php_gettext.dll
  964. ;extension=php_gmp.dll
  965. ;extension=php_intl.dll
  966. ;extension=php_imap.dll
  967. ;extension=php_interbase.dll
  968. extension=php_ldap.dll
  969. extension=php_mbstring.dll
  970. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
  971. extension=php_mysql.dll
  972. extension=php_mysqli.dll
  973. ;extension=php_oci8.dll      ; Use with Oracle 10gR2 Instant Client
  974. ;extension=php_oci8_11g.dll  ; Use with Oracle 11gR2 Instant Client
  975. extension=php_openssl.dll
  976. ;extension=php_pdo_firebird.dll
  977. ;extension=php_pdo_mssql.dll
  978. extension=php_pdo_mysql.dll
  979. ;extension=php_pdo_oci.dll
  980. extension=php_pdo_odbc.dll
  981. ;extension=php_pdo_pgsql.dll
  982. extension=php_pdo_sqlite.dll
  983. ;extension=php_pgsql.dll
  984. ;extension=php_pspell.dll
  985. ;extension=php_shmop.dll
  986.  
  987. ; The MIBS data available in the PHP distribution must be installed.
  988. ; See http://www.php.net/manual/en/snmp.installation.php
  989. ;extension=php_snmp.dll
  990. ;extension=php_mongo.dl
  991. extension=php_sqlsrv.dll
  992. ;extension=php_pdo_sqlsrv.dll
  993. ;extension=php_ibm_db2.dll
  994.  
  995. extension=php_soap.dll
  996. extension=php_sockets.dll
  997. extension=php_sqlite.dll
  998. extension=php_sqlite3.dll
  999. ;extension=php_sybase_ct.dll
  1000. ;extension=php_tidy.dll
  1001. extension=php_xmlrpc.dll
  1002. extension=php_xsl.dll
  1003. ;extension=php_zip.dll
  1004. extension=memcache.dll
  1005.  
  1006. ;;;;;;;;;;;;;;;;;;;
  1007. ; Module Settings ;
  1008. ;;;;;;;;;;;;;;;;;;;
  1009.  
  1010. [Date]
  1011. ; Defines the default timezone used by the date functions
  1012. ; http://php.net/date.timezone
  1013. date.timezone =PRC
  1014.  
  1015. ; http://php.net/date.default-latitude
  1016. ;date.default_latitude = 31.7667
  1017.  
  1018. ; http://php.net/date.default-longitude
  1019. ;date.default_longitude = 35.2333
  1020.  
  1021. ; http://php.net/date.sunrise-zenith
  1022. ;date.sunrise_zenith = 90.583333
  1023.  
  1024. ; http://php.net/date.sunset-zenith
  1025. ;date.sunset_zenith = 90.583333
  1026.  
  1027. [filter]
  1028. ; http://php.net/filter.default
  1029. ;filter.default = unsafe_raw
  1030.  
  1031. ; http://php.net/filter.default-flags
  1032. ;filter.default_flags =
  1033.  
  1034. [iconv]
  1035. ;iconv.input_encoding = ISO-8859-1
  1036. ;iconv.internal_encoding = ISO-8859-1
  1037. ;iconv.output_encoding = ISO-8859-1
  1038.  
  1039. [intl]
  1040. ;intl.default_locale =
  1041. ; This directive allows you to produce PHP errors when some error
  1042. ; happens within intl functions. The value is the level of the error produced.
  1043. ; Default is 0, which does not produce any errors.
  1044. ;intl.error_level = E_WARNING
  1045.  
  1046. [sqlite]
  1047. ; http://php.net/sqlite.assoc-case
  1048. ;sqlite.assoc_case = 0
  1049.  
  1050. [sqlite3]
  1051. ;sqlite3.extension_dir =
  1052.  
  1053. [Pcre]
  1054. ;PCRE library backtracking limit.
  1055. ; http://php.net/pcre.backtrack-limit
  1056. ;pcre.backtrack_limit=100000
  1057.  
  1058. ;PCRE library recursion limit.
  1059. ;Please note that if you set this value to a high number you may consume all
  1060. ;the available process stack and eventually crash PHP (due to reaching the
  1061. ;stack size limit imposed by the Operating System).
  1062. ; http://php.net/pcre.recursion-limit
  1063. ;pcre.recursion_limit=100000
  1064.  
  1065. [Pdo]
  1066. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
  1067. ; http://php.net/pdo-odbc.connection-pooling
  1068. ;pdo_odbc.connection_pooling=strict
  1069.  
  1070. ;pdo_odbc.db2_instance_name
  1071.  
  1072. [Pdo_mysql]
  1073. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  1074. ; http://php.net/pdo_mysql.cache_size
  1075. pdo_mysql.cache_size = 2000
  1076.  
  1077. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  1078. ; MySQL defaults.
  1079. ; http://php.net/pdo_mysql.default-socket
  1080. pdo_mysql.default_socket=
  1081.  
  1082. [Phar]
  1083. ; http://php.net/phar.readonly
  1084. ;phar.readonly = On
  1085.  
  1086. ; http://php.net/phar.require-hash
  1087. ;phar.require_hash = On
  1088.  
  1089. ;phar.cache_list =
  1090.  
  1091. [Syslog]
  1092. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  1093. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  1094. ; runtime, you can define these variables by calling define_syslog_variables().
  1095. ; http://php.net/define-syslog-variables
  1096. define_syslog_variables  = Off
  1097.  
  1098. [mail function]
  1099. ; For Win32 only.
  1100. ; http://php.net/smtp
  1101. SMTP = localhost
  1102. ; http://php.net/smtp-port
  1103. smtp_port = 25
  1104.  
  1105. ; For Win32 only.
  1106. ; http://php.net/sendmail-from
  1107. ;sendmail_from = me@example.com
  1108.  
  1109. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  1110. ; http://php.net/sendmail-path
  1111.  
  1112. ; Force the addition of the specified parameters to be passed as extra parameters
  1113. ; to the sendmail binary. These parameters will always replace the value of
  1114. ; the 5th parameter to mail(), even in safe mode.
  1115. ;mail.force_extra_parameters =
  1116.  
  1117. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
  1118. mail.add_x_header = On
  1119.  
  1120. ; The path to a log file that will log all mail() calls. Log entries include
  1121. ; the full path of the script, line number, To address and headers.
  1122. ;mail.log =
  1123.  
  1124. [SQL]
  1125. ; http://php.net/sql.safe-mode
  1126. sql.safe_mode = Off
  1127.  
  1128. [ODBC]
  1129. ; http://php.net/odbc.default-db
  1130. ;odbc.default_db    =  Not yet implemented
  1131.  
  1132. ; http://php.net/odbc.default-user
  1133. ;odbc.default_user  =  Not yet implemented
  1134.  
  1135. ; http://php.net/odbc.default-pw
  1136. ;odbc.default_pw    =  Not yet implemented
  1137.  
  1138. ; Controls the ODBC cursor model.
  1139. ; Default: SQL_CURSOR_STATIC (default).
  1140. ;odbc.default_cursortype
  1141.  
  1142. ; Allow or prevent persistent links.
  1143. ; http://php.net/odbc.allow-persistent
  1144. odbc.allow_persistent = On
  1145.  
  1146. ; Check that a connection is still valid before reuse.
  1147. ; http://php.net/odbc.check-persistent
  1148. odbc.check_persistent = On
  1149.  
  1150. ; Maximum number of persistent links.  -1 means no limit.
  1151. ; http://php.net/odbc.max-persistent
  1152. odbc.max_persistent = -1
  1153.  
  1154. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  1155. ; http://php.net/odbc.max-links
  1156. odbc.max_links = -1
  1157.  
  1158. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  1159. ; passthru.
  1160. ; http://php.net/odbc.defaultlrl
  1161. odbc.defaultlrl = 4096
  1162.  
  1163. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  1164. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  1165. ; of odbc.defaultlrl and odbc.defaultbinmode
  1166. ; http://php.net/odbc.defaultbinmode
  1167. odbc.defaultbinmode = 1
  1168.  
  1169. ;birdstep.max_links = -1
  1170.  
  1171. [Interbase]
  1172. ; Allow or prevent persistent links.
  1173. ibase.allow_persistent = 1
  1174.  
  1175. ; Maximum number of persistent links.  -1 means no limit.
  1176. ibase.max_persistent = -1
  1177.  
  1178. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  1179. ibase.max_links = -1
  1180.  
  1181. ; Default database name for ibase_connect().
  1182. ;ibase.default_db =
  1183.  
  1184. ; Default username for ibase_connect().
  1185. ;ibase.default_user =
  1186.  
  1187. ; Default password for ibase_connect().
  1188. ;ibase.default_password =
  1189.  
  1190. ; Default charset for ibase_connect().
  1191. ;ibase.default_charset =
  1192.  
  1193. ; Default timestamp format.
  1194. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
  1195.  
  1196. ; Default date format.
  1197. ibase.dateformat = "%Y-%m-%d"
  1198.  
  1199. ; Default time format.
  1200. ibase.timeformat = "%H:%M:%S"
  1201.  
  1202. [MySQL]
  1203. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
  1204. ; http://php.net/mysql.allow_local_infile
  1205. mysql.allow_local_infile = On
  1206.  
  1207. ; Allow or prevent persistent links.
  1208. ; http://php.net/mysql.allow-persistent
  1209. mysql.allow_persistent = On
  1210.  
  1211. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  1212. ; http://php.net/mysql.cache_size
  1213. mysql.cache_size = 2000
  1214.  
  1215. ; Maximum number of persistent links.  -1 means no limit.
  1216. ; http://php.net/mysql.max-persistent
  1217. mysql.max_persistent = -1
  1218.  
  1219. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  1220. ; http://php.net/mysql.max-links
  1221. mysql.max_links = -1
  1222.  
  1223. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  1224. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  1225. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  1226. ; at MYSQL_PORT.
  1227. ; http://php.net/mysql.default-port
  1228. mysql.default_port =
  1229.  
  1230. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  1231. ; MySQL defaults.
  1232. ; http://php.net/mysql.default-socket
  1233. mysql.default_socket =
  1234.  
  1235. ; Default host for mysql_connect() (doesn't apply in safe mode).
  1236. ; http://php.net/mysql.default-host
  1237. mysql.default_host =
  1238.  
  1239. ; Default user for mysql_connect() (doesn't apply in safe mode).
  1240. ; http://php.net/mysql.default-user
  1241. mysql.default_user =
  1242.  
  1243. ; Default password for mysql_connect() (doesn't apply in safe mode).
  1244. ; Note that this is generally a *bad* idea to store passwords in this file.
  1245. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  1246. ; and reveal this password!  And of course, any users with read access to this
  1247. ; file will be able to reveal the password as well.
  1248. ; http://php.net/mysql.default-password
  1249. mysql.default_password =
  1250.  
  1251. ; Maximum time (in seconds) for connect timeout. -1 means no limit
  1252. ; http://php.net/mysql.connect-timeout
  1253. mysql.connect_timeout = 60
  1254.  
  1255. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  1256. ; SQL-Errors will be displayed.
  1257. ; http://php.net/mysql.trace-mode
  1258. mysql.trace_mode = Off
  1259.  
  1260. [MySQLi]
  1261.  
  1262. ; Maximum number of persistent links.  -1 means no limit.
  1263. ; http://php.net/mysqli.max-persistent
  1264. mysqli.max_persistent = -1
  1265.  
  1266. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
  1267. ; http://php.net/mysqli.allow_local_infile
  1268. ;mysqli.allow_local_infile = On
  1269.  
  1270. ; Allow or prevent persistent links.
  1271. ; http://php.net/mysqli.allow-persistent
  1272. mysqli.allow_persistent = On
  1273.  
  1274. ; Maximum number of links.  -1 means no limit.
  1275. ; http://php.net/mysqli.max-links
  1276. mysqli.max_links = -1
  1277.  
  1278. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  1279. ; http://php.net/mysqli.cache_size
  1280. mysqli.cache_size = 2000
  1281.  
  1282. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
  1283. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  1284. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  1285. ; at MYSQL_PORT.
  1286. ; http://php.net/mysqli.default-port
  1287. mysqli.default_port = 3306
  1288.  
  1289. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  1290. ; MySQL defaults.
  1291. ; http://php.net/mysqli.default-socket
  1292. mysqli.default_socket =
  1293.  
  1294. ; Default host for mysql_connect() (doesn't apply in safe mode).
  1295. ; http://php.net/mysqli.default-host
  1296. mysqli.default_host =
  1297.  
  1298. ; Default user for mysql_connect() (doesn't apply in safe mode).
  1299. ; http://php.net/mysqli.default-user
  1300. mysqli.default_user =
  1301.  
  1302. ; Default password for mysqli_connect() (doesn't apply in safe mode).
  1303. ; Note that this is generally a *bad* idea to store passwords in this file.
  1304. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
  1305. ; and reveal this password!  And of course, any users with read access to this
  1306. ; file will be able to reveal the password as well.
  1307. ; http://php.net/mysqli.default-pw
  1308. mysqli.default_pw =
  1309.  
  1310. ; Allow or prevent reconnect
  1311. mysqli.reconnect = Off
  1312.  
  1313. [mysqlnd]
  1314. ; Enable / Disable collection of general statistics by mysqlnd which can be
  1315. ; used to tune and monitor MySQL operations.
  1316. ; http://php.net/mysqlnd.collect_statistics
  1317. mysqlnd.collect_statistics = On
  1318.  
  1319. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
  1320. ; used to tune and monitor MySQL operations.
  1321. ; http://php.net/mysqlnd.collect_memory_statistics
  1322. mysqlnd.collect_memory_statistics = On
  1323.  
  1324. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
  1325. ; http://php.net/mysqlnd.net_cmd_buffer_size
  1326. ;mysqlnd.net_cmd_buffer_size = 2048
  1327.  
  1328. ; Size of a pre-allocated buffer used for reading data sent by the server in
  1329. ; bytes.
  1330. ; http://php.net/mysqlnd.net_read_buffer_size
  1331. ;mysqlnd.net_read_buffer_size = 32768
  1332.  
  1333. [OCI8]
  1334.  
  1335. ; Connection: Enables privileged connections using external
  1336. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
  1337. ; http://php.net/oci8.privileged-connect
  1338. ;oci8.privileged_connect = Off
  1339.  
  1340. ; Connection: The maximum number of persistent OCI8 connections per
  1341. ; process. Using -1 means no limit.
  1342. ; http://php.net/oci8.max-persistent
  1343. ;oci8.max_persistent = -1
  1344.  
  1345. ; Connection: The maximum number of seconds a process is allowed to
  1346. ; maintain an idle persistent connection. Using -1 means idle
  1347. ; persistent connections will be maintained forever.
  1348. ; http://php.net/oci8.persistent-timeout
  1349. ;oci8.persistent_timeout = -1
  1350.  
  1351. ; Connection: The number of seconds that must pass before issuing a
  1352. ; ping during oci_pconnect() to check the connection validity. When
  1353. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
  1354. ; pings completely.
  1355. ; http://php.net/oci8.ping-interval
  1356. ;oci8.ping_interval = 60
  1357.  
  1358. ; Connection: Set this to a user chosen connection class to be used
  1359. ; for all pooled server requests with Oracle 11g Database Resident
  1360. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
  1361. ; the same string for all web servers running the same application,
  1362. ; the database pool must be configured, and the connection string must
  1363. ; specify to use a pooled server.
  1364. ;oci8.connection_class =
  1365.  
  1366. ; High Availability: Using On lets PHP receive Fast Application
  1367. ; Notification (FAN) events generated when a database node fails. The
  1368. ; database must also be configured to post FAN events.
  1369. ;oci8.events = Off
  1370.  
  1371. ; Tuning: This option enables statement caching, and specifies how
  1372. ; many statements to cache. Using 0 disables statement caching.
  1373. ; http://php.net/oci8.statement-cache-size
  1374. ;oci8.statement_cache_size = 20
  1375.  
  1376. ; Tuning: Enables statement prefetching and sets the default number of
  1377. ; rows that will be fetched automatically after statement execution.
  1378. ; http://php.net/oci8.default-prefetch
  1379. ;oci8.default_prefetch = 100
  1380.  
  1381. ; Compatibility. Using On means oci_close() will not close
  1382. ; oci_connect() and oci_new_connect() connections.
  1383. ; http://php.net/oci8.old-oci-close-semantics
  1384. ;oci8.old_oci_close_semantics = Off
  1385.  
  1386. [PostgreSQL]
  1387. ; Allow or prevent persistent links.
  1388. ; http://php.net/pgsql.allow-persistent
  1389. pgsql.allow_persistent = On
  1390.  
  1391. ; Detect broken persistent links always with pg_pconnect().
  1392. ; Auto reset feature requires a little overheads.
  1393. ; http://php.net/pgsql.auto-reset-persistent
  1394. pgsql.auto_reset_persistent = Off
  1395.  
  1396. ; Maximum number of persistent links.  -1 means no limit.
  1397. ; http://php.net/pgsql.max-persistent
  1398. pgsql.max_persistent = -1
  1399.  
  1400. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  1401. ; http://php.net/pgsql.max-links
  1402. pgsql.max_links = -1
  1403.  
  1404. ; Ignore PostgreSQL backends Notice message or not.
  1405. ; Notice message logging require a little overheads.
  1406. ; http://php.net/pgsql.ignore-notice
  1407. pgsql.ignore_notice = 0
  1408.  
  1409. ; Log PostgreSQL backends Notice message or not.
  1410. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  1411. ; http://php.net/pgsql.log-notice
  1412. pgsql.log_notice = 0
  1413.  
  1414. [Sybase-CT]
  1415. ; Allow or prevent persistent links.
  1416. ; http://php.net/sybct.allow-persistent
  1417. sybct.allow_persistent = On
  1418.  
  1419. ; Maximum number of persistent links.  -1 means no limit.
  1420. ; http://php.net/sybct.max-persistent
  1421. sybct.max_persistent = -1
  1422.  
  1423. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  1424. ; http://php.net/sybct.max-links
  1425. sybct.max_links = -1
  1426.  
  1427. ; Minimum server message severity to display.
  1428. ; http://php.net/sybct.min-server-severity
  1429. sybct.min_server_severity = 10
  1430.  
  1431. ; Minimum client message severity to display.
  1432. ; http://php.net/sybct.min-client-severity
  1433. sybct.min_client_severity = 10
  1434.  
  1435. ; Set per-context timeout
  1436. ; http://php.net/sybct.timeout
  1437. ;sybct.timeout=
  1438.  
  1439. ;sybct.packet_size
  1440.  
  1441. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
  1442. ; Default: one minute
  1443. ;sybct.login_timeout=
  1444.  
  1445. ; The name of the host you claim to be connecting from, for display by sp_who.
  1446. ; Default: none
  1447. ;sybct.hostname=
  1448.  
  1449. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
  1450. ; Default: 0
  1451. ;sybct.deadlock_retry_count=
  1452.  
  1453. [bcmath]
  1454. ; Number of decimal digits for all bcmath functions.
  1455. ; http://php.net/bcmath.scale
  1456. bcmath.scale = 0
  1457.  
  1458. [browscap]
  1459. ; http://php.net/browscap
  1460. ;browscap = extra/browscap.ini
  1461.  
  1462. [Session]
  1463. ; Handler used to store/retrieve data.
  1464. ; http://php.net/session.save-handler
  1465. session.save_handler = files
  1466.  
  1467. ; Argument passed to save_handler.  In the case of files, this is the path
  1468. ; where data files are stored. Note: Windows users have to change this
  1469. ; variable in order to use PHP's session functions.
  1470. ;
  1471. ; The path can be defined as:
  1472. ;
  1473. ;     session.save_path = "N;/path"
  1474. ;
  1475. ; where N is an integer.  Instead of storing all the session files in
  1476. ; /path, what this will do is use subdirectories N-levels deep, and
  1477. ; store the session data in those directories.  This is useful if you
  1478. ; or your OS have problems with lots of files in one directory, and is
  1479. ; a more efficient layout for servers that handle lots of sessions.
  1480. ;
  1481. ; NOTE 1: PHP will not create this directory structure automatically.
  1482. ;         You can use the script in the ext/session dir for that purpose.
  1483. ; NOTE 2: See the section on garbage collection below if you choose to
  1484. ;         use subdirectories for session storage
  1485. ;
  1486. ; The file storage module creates files using mode 600 by default.
  1487. ; You can change that by using
  1488. ;
  1489. ;     session.save_path = "N;MODE;/path"
  1490. ;
  1491. ; where MODE is the octal representation of the mode. Note that this
  1492. ; does not overwrite the process's umask.
  1493. ; http://php.net/session.save-path
  1494. session.save_path = "/tmp"
  1495.  
  1496. ; Whether to use cookies.
  1497. ; http://php.net/session.use-cookies
  1498. session.use_cookies = 1
  1499.  
  1500. ; http://php.net/session.cookie-secure
  1501. ;session.cookie_secure =
  1502.  
  1503. ; This option forces PHP to fetch and use a cookie for storing and maintaining
  1504. ; the session id. We encourage this operation as it's very helpful in combating
  1505. ; session hijacking when not specifying and managing your own session id. It is
  1506. ; not the end all be all of session hijacking defense, but it's a good start.
  1507. ; http://php.net/session.use-only-cookies
  1508. session.use_only_cookies = 1
  1509.  
  1510. ; Name of the session (used as cookie name).
  1511. ; http://php.net/session.name
  1512. session.name = PHPSESSID
  1513.  
  1514. ; Initialize session on request startup.
  1515. ; http://php.net/session.auto-start
  1516. session.auto_start = 0
  1517.  
  1518. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  1519. ; http://php.net/session.cookie-lifetime
  1520. session.cookie_lifetime = 0
  1521.  
  1522. ; The path for which the cookie is valid.
  1523. ; http://php.net/session.cookie-path
  1524. session.cookie_path = /
  1525.  
  1526. ; The domain for which the cookie is valid.
  1527. ; http://php.net/session.cookie-domain
  1528. session.cookie_domain =
  1529.  
  1530. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
  1531. ; http://php.net/session.cookie-httponly
  1532. session.cookie_httponly =
  1533.  
  1534. ; Handler used to serialize data.  php is the standard serializer of PHP.
  1535. ; http://php.net/session.serialize-handler
  1536. session.serialize_handler = php
  1537.  
  1538. ; Defines the probability that the 'garbage collection' process is started
  1539. ; on every session initialization. The probability is calculated by using
  1540. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
  1541. ; and gc_divisor is the denominator in the equation. Setting this value to 1
  1542. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
  1543. ; the gc will run on any give request.
  1544. ; Default Value: 1
  1545. ; Development Value: 1
  1546. ; Production Value: 1
  1547. ; http://php.net/session.gc-probability
  1548. session.gc_probability = 1
  1549.  
  1550. ; Defines the probability that the 'garbage collection' process is started on every
  1551. ; session initialization. The probability is calculated by using the following equation:
  1552. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
  1553. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
  1554. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
  1555. ; the gc will run on any give request. Increasing this value to 1000 will give you
  1556. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
  1557. ; this is a more efficient approach.
  1558. ; Default Value: 100
  1559. ; Development Value: 1000
  1560. ; Production Value: 1000
  1561. ; http://php.net/session.gc-divisor
  1562. session.gc_divisor = 1000
  1563.  
  1564. ; After this number of seconds, stored data will be seen as 'garbage' and
  1565. ; cleaned up by the garbage collection process.
  1566. ; http://php.net/session.gc-maxlifetime
  1567. session.gc_maxlifetime = 3600
  1568.  
  1569. ; NOTE: If you are using the subdirectory option for storing session files
  1570. ;       (see session.save_path above), then garbage collection does *not*
  1571. ;       happen automatically.  You will need to do your own garbage
  1572. ;       collection through a shell script, cron entry, or some other method.
  1573. ;       For example, the following script would is the equivalent of
  1574. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  1575. ;          find /path/to/sessions -cmin +24 | xargs rm
  1576.  
  1577. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  1578. ; to initialize a session variable in the global scope, even when register_globals
  1579. ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
  1580. ; You can disable the feature and the warning separately. At this time,
  1581. ; the warning is only displayed, if bug_compat_42 is enabled. This feature
  1582. ; introduces some serious security problems if not handled correctly. It's
  1583. ; recommended that you do not use this feature on production servers. But you
  1584. ; should enable this on development servers and enable the warning as well. If you
  1585. ; do not enable the feature on development servers, you won't be warned when it's
  1586. ; used and debugging errors caused by this can be difficult to track down.
  1587. ; Default Value: On
  1588. ; Development Value: On
  1589. ; Production Value: Off
  1590. ; http://php.net/session.bug-compat-42
  1591. session.bug_compat_42 = On
  1592.  
  1593. ; This setting controls whether or not you are warned by PHP when initializing a
  1594. ; session value into the global space. session.bug_compat_42 must be enabled before
  1595. ; these warnings can be issued by PHP. See the directive above for more information.
  1596. ; Default Value: On
  1597. ; Development Value: On
  1598. ; Production Value: Off
  1599. ; http://php.net/session.bug-compat-warn
  1600. session.bug_compat_warn = On
  1601.  
  1602. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  1603. ; HTTP_REFERER has to contain this substring for the session to be
  1604. ; considered as valid.
  1605. ; http://php.net/session.referer-check
  1606. session.referer_check =
  1607.  
  1608. ; How many bytes to read from the file.
  1609. ; http://php.net/session.entropy-length
  1610. session.entropy_length = 0
  1611.  
  1612. ; Specified here to create the session id.
  1613. ; http://php.net/session.entropy-file
  1614. ; On systems that don't have /dev/urandom /dev/arandom can be used
  1615. ; On windows, setting the entropy_length setting will activate the
  1616. ; Windows random source (using the CryptoAPI)
  1617. ;session.entropy_file = /dev/urandom
  1618.  
  1619. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  1620. ; or leave this empty to avoid sending anti-caching headers.
  1621. ; http://php.net/session.cache-limiter
  1622. session.cache_limiter = nocache
  1623.  
  1624. ; Document expires after n minutes.
  1625. ; http://php.net/session.cache-expire
  1626. session.cache_expire = 180
  1627.  
  1628. ; trans sid support is disabled by default.
  1629. ; Use of trans sid may risk your users security.
  1630. ; Use this option with caution.
  1631. ; - User may send URL contains active session ID
  1632. ;   to other person via. email/irc/etc.
  1633. ; - URL that contains active session ID may be stored
  1634. ;   in publicly accessible computer.
  1635. ; - User may access your site with the same session ID
  1636. ;   always using URL stored in browser's history or bookmarks.
  1637. ; http://php.net/session.use-trans-sid
  1638. session.use_trans_sid = 1
  1639.  
  1640. ; Select a hash function for use in generating session ids.
  1641. ; Possible Values
  1642. ;   0  (MD5 128 bits)
  1643. ;   1  (SHA-1 160 bits)
  1644. ; This option may also be set to the name of any hash function supported by
  1645. ; the hash extension. A list of available hashes is returned by the hash_algos()
  1646. ; function.
  1647. ; http://php.net/session.hash-function
  1648. session.hash_function = 0
  1649.  
  1650. ; Define how many bits are stored in each character when converting
  1651. ; the binary hash data to something readable.
  1652. ; Possible values:
  1653. ;   4  (4 bits: 0-9, a-f)
  1654. ;   5  (5 bits: 0-9, a-v)
  1655. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
  1656. ; Default Value: 4
  1657. ; Development Value: 5
  1658. ; Production Value: 5
  1659. ; http://php.net/session.hash-bits-per-character
  1660. session.hash_bits_per_character = 5
  1661.  
  1662. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  1663. ; form/fieldset are special; if you include them here, the rewriter will
  1664. ; add a hidden <input> field with the info which is otherwise appended
  1665. ; to URLs.  If you want XHTML conformity, remove the form entry.
  1666. ; Note that all valid entries require a "=", even if no value follows.
  1667. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
  1668. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  1669. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  1670. ; http://php.net/url-rewriter.tags
  1671. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  1672. session.save_path=D:\phpProject_cn\core\tmp
  1673.  
  1674. [MSSQL]
  1675. ; Allow or prevent persistent links.
  1676. mssql.allow_persistent = On
  1677.  
  1678. ; Maximum number of persistent links.  -1 means no limit.
  1679. mssql.max_persistent = -1
  1680.  
  1681. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  1682. mssql.max_links = -1
  1683.  
  1684. ; Minimum error severity to display.
  1685. mssql.min_error_severity = 10
  1686.  
  1687. ; Minimum message severity to display.
  1688. mssql.min_message_severity = 10
  1689.  
  1690. ; Compatibility mode with old versions of PHP 3.0.
  1691. mssql.compatability_mode = Off
  1692.  
  1693. ; Connect timeout
  1694. ;mssql.connect_timeout = 5
  1695.  
  1696. ; Query timeout
  1697. ;mssql.timeout = 60
  1698.  
  1699. ; Valid range 0 - 2147483647.  Default = 4096.
  1700. ;mssql.textlimit = 4096
  1701.  
  1702. ; Valid range 0 - 2147483647.  Default = 4096.
  1703. ;mssql.textsize = 4096
  1704.  
  1705. ; Limits the number of records in each batch.  0 = all records in one batch.
  1706. ;mssql.batchsize = 0
  1707.  
  1708. ; Specify how datetime and datetim4 columns are returned
  1709. ; On => Returns data converted to SQL server settings
  1710. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  1711. ;mssql.datetimeconvert = On
  1712.  
  1713. ; Use NT authentication when connecting to the server
  1714. mssql.secure_connection = Off
  1715.  
  1716. ; Specify max number of processes. -1 = library default
  1717. ; msdlib defaults to 25
  1718. ; FreeTDS defaults to 4096
  1719. ;mssql.max_procs = -1
  1720.  
  1721. ; Specify client character set.
  1722. ; If empty or not set the client charset from freetds.conf is used
  1723. ; This is only used when compiled with FreeTDS
  1724. ;mssql.charset = "ISO-8859-1"
  1725.  
  1726. [Assertion]
  1727. ; Assert(expr); active by default.
  1728. ; http://php.net/assert.active
  1729. ;assert.active = On
  1730.  
  1731. ; Issue a PHP warning for each failed assertion.
  1732. ; http://php.net/assert.warning
  1733. ;assert.warning = On
  1734.  
  1735. ; Don't bail out by default.
  1736. ; http://php.net/assert.bail
  1737. ;assert.bail = Off
  1738.  
  1739. ; User-function to be called if an assertion fails.
  1740. ; http://php.net/assert.callback
  1741. ;assert.callback = 0
  1742.  
  1743. ; Eval the expression with current error_reporting().  Set to true if you want
  1744. ; error_reporting(0) around the eval().
  1745. ; http://php.net/assert.quiet-eval
  1746. ;assert.quiet_eval = 0
  1747.  
  1748. [COM]
  1749. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  1750. ; http://php.net/com.typelib-file
  1751. ;com.typelib_file =
  1752.  
  1753. ; allow Distributed-COM calls
  1754. ; http://php.net/com.allow-dcom
  1755. ;com.allow_dcom = true
  1756.  
  1757. ; autoregister constants of a components typlib on com_load()
  1758. ; http://php.net/com.autoregister-typelib
  1759. ;com.autoregister_typelib = true
  1760.  
  1761. ; register constants casesensitive
  1762. ; http://php.net/com.autoregister-casesensitive
  1763. ;com.autoregister_casesensitive = false
  1764.  
  1765. ; show warnings on duplicate constant registrations
  1766. ; http://php.net/com.autoregister-verbose
  1767. ;com.autoregister_verbose = true
  1768.  
  1769. ; The default character set code-page to use when passing strings to and from COM objects.
  1770. ; Default: system ANSI code page
  1771. ;com.code_page=
  1772.  
  1773. [mbstring]
  1774. ; language for internal character representation.
  1775. ; http://php.net/mbstring.language
  1776. ;mbstring.language = Japanese
  1777.  
  1778. ; internal/script encoding.
  1779. ; Some encoding cannot work as internal encoding.
  1780. ; (e.g. SJIS, BIG5, ISO-2022-*)
  1781. ; http://php.net/mbstring.internal-encoding
  1782. ;mbstring.internal_encoding = EUC-JP
  1783.  
  1784. ; http input encoding.
  1785. ; http://php.net/mbstring.http-input
  1786. ;mbstring.http_input = auto
  1787.  
  1788. ; http output encoding. mb_output_handler must be
  1789. ; registered as output buffer to function
  1790. ; http://php.net/mbstring.http-output
  1791. ;mbstring.http_output = SJIS
  1792.  
  1793. ; enable automatic encoding translation according to
  1794. ; mbstring.internal_encoding setting. Input chars are
  1795. ; converted to internal encoding by setting this to On.
  1796. ; Note: Do _not_ use automatic encoding translation for
  1797. ;       portable libs/applications.
  1798. ; http://php.net/mbstring.encoding-translation
  1799. ;mbstring.encoding_translation = Off
  1800.  
  1801. ; automatic encoding detection order.
  1802. ; auto means
  1803. ; http://php.net/mbstring.detect-order
  1804. ;mbstring.detect_order = auto
  1805.  
  1806. ; substitute_character used when character cannot be converted
  1807. ; one from another
  1808. ; http://php.net/mbstring.substitute-character
  1809. ;mbstring.substitute_character = none;
  1810.  
  1811. ; overload(replace) single byte functions by mbstring functions.
  1812. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  1813. ; etc. Possible values are 0,1,2,4 or combination of them.
  1814. ; For example, 7 for overload everything.
  1815. ; 0: No overload
  1816. ; 1: Overload mail() function
  1817. ; 2: Overload str*() functions
  1818. ; 4: Overload ereg*() functions
  1819. ; http://php.net/mbstring.func-overload
  1820. ;mbstring.func_overload = 0
  1821.  
  1822. ; enable strict encoding detection.
  1823. ;mbstring.strict_detection = Off
  1824.  
  1825. ; This directive specifies the regex pattern of content types for which mb_output_handler()
  1826. ; is activated.
  1827. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
  1828. ;mbstring.http_output_conv_mimetype=
  1829.  
  1830. ; Allows to set script encoding. Only affects if PHP is compiled with --enable-zend-multibyte
  1831. ; Default: ""
  1832. ;mbstring.script_encoding=
  1833.  
  1834. [gd]
  1835. ; Tell the jpeg decode to ignore warnings and try to create
  1836. ; a gd image. The warning will then be displayed as notices
  1837. ; disabled by default
  1838. ; http://php.net/gd.jpeg-ignore-warning
  1839. ;gd.jpeg_ignore_warning = 0
  1840.  
  1841. [exif]
  1842. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  1843. ; With mbstring support this will automatically be converted into the encoding
  1844. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  1845. ; is used. For the decode settings you can distinguish between motorola and
  1846. ; intel byte order. A decode setting cannot be empty.
  1847. ; http://php.net/exif.encode-unicode
  1848. ;exif.encode_unicode = ISO-8859-15
  1849.  
  1850. ; http://php.net/exif.decode-unicode-motorola
  1851. ;exif.decode_unicode_motorola = UCS-2BE
  1852.  
  1853. ; http://php.net/exif.decode-unicode-intel
  1854. ;exif.decode_unicode_intel    = UCS-2LE
  1855.  
  1856. ; http://php.net/exif.encode-jis
  1857. ;exif.encode_jis =
  1858.  
  1859. ; http://php.net/exif.decode-jis-motorola
  1860. ;exif.decode_jis_motorola = JIS
  1861.  
  1862. ; http://php.net/exif.decode-jis-intel
  1863. ;exif.decode_jis_intel    = JIS
  1864.  
  1865. [Tidy]
  1866. ; The path to a default tidy configuration file to use when using tidy
  1867. ; http://php.net/tidy.default-config
  1868. ;tidy.default_config = /usr/local/lib/php/default.tcfg
  1869.  
  1870. ; Should tidy clean and repair output automatically?
  1871. ; WARNING: Do not use this option if you are generating non-html content
  1872. ; such as dynamic images
  1873. ; http://php.net/tidy.clean-output
  1874. tidy.clean_output = Off
  1875.  
  1876. [soap]
  1877. ; Enables or disables WSDL caching feature.
  1878. ; http://php.net/soap.wsdl-cache-enabled
  1879. soap.wsdl_cache_enabled=1
  1880.  
  1881. ; Sets the directory name where SOAP extension will put cache files.
  1882. ; http://php.net/soap.wsdl-cache-dir
  1883. soap.wsdl_cache_dir="/tmp"
  1884.  
  1885. ; (time to live) Sets the number of second while cached file will be used
  1886. ; instead of original one.
  1887. ; http://php.net/soap.wsdl-cache-ttl
  1888. soap.wsdl_cache_ttl=86400
  1889.  
  1890. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
  1891. soap.wsdl_cache_limit = 5
  1892.  
  1893. [sysvshm]
  1894. ; A default size of the shared memory segment
  1895. ;sysvshm.init_mem = 10000
  1896.  
  1897. [ldap]
  1898. ; Sets the maximum number of open links or -1 for unlimited.
  1899. ldap.max_links = -1
  1900.  
  1901. [mcrypt]
  1902. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
  1903.  
  1904. ; Directory where to load mcrypt algorithms
  1905. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
  1906. ;mcrypt.algorithms_dir=
  1907.  
  1908. ; Directory where to load mcrypt modes
  1909. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
  1910. ;mcrypt.modes_dir=
  1911.  
  1912. [dba]
  1913. ;dba.default_handler=
  1914.  
  1915. [xsl]
  1916. ; Write operations from within XSLT are disabled by default.
  1917. ; XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK | XSL_SECPREF_WRITE_FILE = 44
  1918. ; Set it to 0 to allow all operations
  1919. ;xsl.security_prefs = 44
  1920.  
  1921. ; Local Variables:
  1922. ; tab-width: 4
  1923. ; End:
  1924.  
  1925.  
  1926. [opcache]
  1927. opcache.memory_consumption=128
  1928. opcache.interned_strings_buffer=8
  1929. opcache.max_accelerated_files=4000
  1930. opcache.revalidate_freq=60
  1931. opcache.fast_shutdown=1
  1932. opcache.enable_cli=1
  1933. zend_extension="D:\phpProject_cn\core\PHP\ext\opcache.dll"
  1934.  
  1935. [xcache-common]
  1936. extension="D:\phpProject_cn\core\PHP\ext\xcache.dll"
  1937.  
  1938. [xcache.admin]
  1939. xcache.admin.enable_auth = On
  1940. xcache.admin.user = "mOo"
  1941. ; xcache.admin.pass = md5($您的密码)
  1942. ; 登录使用 $your_password
  1943. xcache.admin.pass = ""
  1944.  
  1945. [xcache]
  1946. xcache.shm_scheme =        "mmap"
  1947. xcache.size  =               120M
  1948. xcache.count =                 1
  1949. xcache.slots =                8K
  1950. xcache.ttl   =                 0
  1951. xcache.gc_interval =           0
  1952. xcache.var_size  =            4M
  1953. xcache.var_count =             1
  1954. xcache.var_slots =            8K
  1955. xcache.var_ttl   =             0
  1956. xcache.var_maxttl   =          0
  1957. xcache.var_gc_interval =     300
  1958. xcache.readonly_protection = Off
  1959. xcache.mmap_path ="XCachephp53"
  1960. xcache.coredump_directory =   ""
  1961. xcache.coredump_type =         0
  1962. xcache.disable_on_crash =    Off
  1963. xcache.experimental =        Off
  1964. xcache.cacher =               On
  1965. xcache.stat   =               On
  1966. xcache.optimizer =           Off
  1967.  
  1968. [xcache.coverager]
  1969. xcache.coverager =           Off
  1970. xcache.coverager_autostart =  On
  1971. xcache.coveragedump_directory = ""
  1972.  
  1973. [apc]
  1974. ;extension=php_apc.dll
  1975. apc.enabled=1
  1976. apc.shm_size=128M
  1977. apc.ttl=7200
  1978. apc.user_ttl=7200
  1979. apc.enable_cli=1
  1980.  
  1981. [eaccelerator]
  1982. ;extension="D:\phpProject_cn\core\PHP\ext\eAccelerator.dll"
  1983. eaccelerator.shm_size="16"
  1984. eaccelerator.cache_dir="..\php535\temp"
  1985. eaccelerator.enable="1"
  1986. eaccelerator.optimizer="1"
  1987. eaccelerator.check_mtime="1"
  1988. eaccelerator.debug="0"
  1989. eaccelerator.log_file = "D:\phpProject_cn\core\tmp\eAccelerator"
  1990. eaccelerator.filter=""
  1991. eaccelerator.shm_max="0"
  1992. eaccelerator.shm_ttl="0"
  1993. eaccelerator.shm_prune_period="0"
  1994. eaccelerator.shm_only="0"
  1995. eaccelerator.compress="1"
  1996. eaccelerator.compress_level="9"</b></a><br>8<br>建议零售价:¥11</div>
  1997.                     <div class="btn"><img src="style/img/duibi.gif" onclick='javascript:bdPackage("1","[PHP]
  1998.  
  1999. ;;;;;;;;;;;;;;;;;;;
  2000. ; About php.ini   ;
  2001. ;;;;;;;;;;;;;;;;;;;
  2002. ; PHP's initialization file, generally called php.ini, is responsible for
  2003. ; configuring many of the aspects of PHP's behavior.
  2004.  
  2005. ; PHP attempts to find and load this configuration from a number of locations.
  2006. ; The following is a summary of its search order:
  2007. ; 1. SAPI module specific location.
  2008. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
  2009. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
  2010. ; 4. Current working directory (except CLI)
  2011. ; 5. The web server's directory (for SAPI modules), or directory of PHP
  2012. ; (otherwise in Windows)
  2013. ; 6. The directory from the --with-config-file-path compile time option, or the
  2014. ; Windows directory (C:\windows or C:\winnt)
  2015. ; See the PHP docs for more specific information.
  2016. ; http://php.net/configuration.file
  2017.  
  2018. ; The syntax of the file is extremely simple.  Whitespace and lines
  2019. ; beginning with a semicolon are silently ignored (as you probably guessed).
  2020. ; Section headers (e.g. [Foo]) are also silently ignored, even though
  2021. ; they might mean something in the future.
  2022.  
  2023. ; Directives following the section heading [PATH=/www/mysite] only
  2024. ; apply to PHP files in the /www/mysite directory.  Directives
  2025. ; following the section heading [HOST=www.example.com] only apply to
  2026. ; PHP files served from www.example.com.  Directives set in these
  2027. ; special sections cannot be overridden by user-defined INI files or
  2028. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
  2029. ; CGI/FastCGI.
  2030. ; http://php.net/ini.sections
  2031.  
  2032. ; Directives are specified using the following syntax:
  2033. ; directive = value
  2034. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
  2035. ; Directives are variables used to configure PHP or PHP extensions.
  2036. ; There is no name validation.  If PHP can't find an expected
  2037. ; directive because it is not set or is mistyped, a default value will be used.
  2038.  
  2039. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
  2040. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
  2041. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
  2042. ; previously set variable or directive (e.g. ${foo})
  2043.  
  2044. ; Expressions in the INI file are limited to bitwise operators and parentheses:
  2045. ; |  bitwise OR
  2046. ; ^  bitwise XOR
  2047. ; &  bitwise AND
  2048. ; ~  bitwise NOT
  2049. ; !  boolean NOT
  2050.  
  2051. ; Boolean flags can be turned on using the values 1, On, True or Yes.
  2052. ; They can be turned off using the values 0, Off, False or No.
  2053.  
  2054. ; An empty string can be denoted by simply not writing anything after the equal
  2055. ; sign, or by using the None keyword:
  2056.  
  2057. ;  foo =         ; sets foo to an empty string
  2058. ;  foo = None    ; sets foo to an empty string
  2059. ;  foo = "None"  ; sets foo to the string 'None'
  2060.  
  2061. ; If you use constants in your value, and these constants belong to a
  2062. ; dynamically loaded extension (either a PHP extension or a Zend extension),
  2063. ; you may only use these constants *after* the line that loads the extension.
  2064.  
  2065. ;;;;;;;;;;;;;;;;;;;
  2066. ; About this file ;
  2067. ;;;;;;;;;;;;;;;;;;;
  2068. ; PHP comes packaged with two INI files. One that is recommended to be used
  2069. ; in production environments and one that is recommended to be used in
  2070. ; development environments.
  2071.  
  2072. ; php.ini-production contains settings which hold security, performance and
  2073. ; best practices at its core. But please be aware, these settings may break
  2074. ; compatibility with older or less security conscience applications. We
  2075. ; recommending using the production ini in production and testing environments.
  2076.  
  2077. ; php.ini-development is very similar to its production variant, except it's
  2078. ; much more verbose when it comes to errors. We recommending using the
  2079. ; development version only in development environments as errors shown to
  2080. ; application users can inadvertently leak otherwise secure information.
  2081.  
  2082. ;;;;;;;;;;;;;;;;;;;
  2083. ; Quick Reference ;
  2084. ;;;;;;;;;;;;;;;;;;;
  2085. ; The following are all the settings which are different in either the production
  2086. ; or development versions of the INIs with respect to PHP's default behavior.
  2087. ; Please see the actual settings later in the document for more details as to why
  2088. ; we recommend these changes in PHP's behavior.
  2089.  
  2090. ; allow_call_time_pass_reference
  2091. ;   Default Value: On
  2092. ;   Development Value: Off
  2093. ;   Production Value: Off
  2094.  
  2095. ; display_errors
  2096. ;   Default Value: On
  2097. ;   Development Value: On
  2098. ;   Production Value: Off
  2099.  
  2100. ; display_startup_errors
  2101. ;   Default Value: Off
  2102. ;   Development Value: On
  2103. ;   Production Value: Off
  2104.  
  2105. ; error_reporting
  2106. ;   Default Value: E_ALL & ~E_NOTICE
  2107. ;   Development Value: E_ALL | E_STRICT
  2108. ;   Production Value: E_ALL & ~E_DEPRECATED
  2109.  
  2110. ; html_errors
  2111. ;   Default Value: On
  2112. ;   Development Value: On
  2113. ;   Production value: Off
  2114.  
  2115. ; log_errors
  2116. ;   Default Value: Off
  2117. ;   Development Value: On
  2118. ;   Production Value: On
  2119.  
  2120. ; magic_quotes_gpc
  2121. ;   Default Value: On
  2122. ;   Development Value: Off
  2123. ;   Production Value: Off
  2124.  
  2125. ; max_input_time
  2126. ;   Default Value: -1 (Unlimited)
  2127. ;   Development Value: 60 (60 seconds)
  2128. ;   Production Value: 60 (60 seconds)
  2129.  
  2130. ; output_buffering
  2131. ;   Default Value: Off
  2132. ;   Development Value: 4096
  2133. ;   Production Value: 4096
  2134.  
  2135. ; register_argc_argv
  2136. ;   Default Value: On
  2137. ;   Development Value: Off
  2138. ;   Production Value: Off
  2139.  
  2140. ; register_long_arrays
  2141. ;   Default Value: On
  2142. ;   Development Value: Off
  2143. ;   Production Value: Off
  2144.  
  2145. ; request_order
  2146. ;   Default Value: None
  2147. ;   Development Value: "GP"
  2148. ;   Production Value: "GP"
  2149.  
  2150. ; session.bug_compat_42
  2151. ;   Default Value: On
  2152. ;   Development Value: On
  2153. ;   Production Value: Off
  2154.  
  2155. ; session.bug_compat_warn
  2156. ;   Default Value: On
  2157. ;   Development Value: On
  2158. ;   Production Value: Off
  2159.  
  2160. ; session.gc_divisor
  2161. ;   Default Value: 100
  2162. ;   Development Value: 1000
  2163. ;   Production Value: 1000
  2164.  
  2165. ; session.hash_bits_per_character
  2166. ;   Default Value: 4
  2167. ;   Development Value: 5
  2168. ;   Production Value: 5
  2169.  
  2170. ; short_open_tag
  2171. ;   Default Value: On
  2172. ;   Development Value: Off
  2173. ;   Production Value: Off
  2174.  
  2175. ; track_errors
  2176. ;   Default Value: Off
  2177. ;   Development Value: On
  2178. ;   Production Value: Off
  2179.  
  2180. ; url_rewriter.tags
  2181. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
  2182. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  2183. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  2184.  
  2185. ; variables_order
  2186. ;   Default Value: "EGPCS"
  2187. ;   Development Value: "GPCS"
  2188. ;   Production Value: "GPCS"
  2189.  
  2190. ;;;;;;;;;;;;;;;;;;;;
  2191. ; php.ini Options  ;
  2192. ;;;;;;;;;;;;;;;;;;;;
  2193. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
  2194. ;user_ini.filename = ".user.ini"
  2195.  
  2196. ; To disable this feature set this option to empty value
  2197. ;user_ini.filename =
  2198.  
  2199. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
  2200. ;user_ini.cache_ttl = 300
  2201.  
  2202. ;;;;;;;;;;;;;;;;;;;;
  2203. ; Language Options ;
  2204. ;;;;;;;;;;;;;;;;;;;;
  2205.  
  2206. ; Enable the PHP scripting language engine under Apache.
  2207. ; http://php.net/engine
  2208. engine = On
  2209.  
  2210. ; This directive determines whether or not PHP will recognize code between
  2211. ; <? and ?> tags as PHP source which should be processed as such. It's been
  2212. ; recommended for several years that you not use the short tag "short cut" and
  2213. ; instead to use the full <?php and ?> tag combination. With the wide spread use
  2214. ; of XML and use of these tags by other languages, the server can become easily
  2215. ; confused and end up parsing the wrong code in the wrong context. But because
  2216. ; this short cut has been a feature for such a long time, it's currently still
  2217. ; supported for backwards compatibility, but we recommend you don't use them.
  2218. ; Default Value: On
  2219. ; Development Value: Off
  2220. ; Production Value: Off
  2221. ; http://php.net/short-open-tag
  2222. short_open_tag = On
  2223.  
  2224. ; Allow ASP-style <% %> tags.
  2225. ; http://php.net/asp-tags
  2226. asp_tags = Off
  2227.  
  2228. ; The number of significant digits displayed in floating point numbers.
  2229. ; http://php.net/precision
  2230. precision = 14
  2231.  
  2232. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  2233. ; http://php.net/y2k-compliance
  2234. y2k_compliance = On
  2235.  
  2236. ; Output buffering is a mechanism for controlling how much output data
  2237. ; (excluding headers and cookies) PHP should keep internally before pushing that
  2238. ; data to the client. If your application's output exceeds this setting, PHP
  2239. ; will send that data in chunks of roughly the size you specify.
  2240. ; Turning on this setting and managing its maximum buffer size can yield some
  2241. ; interesting side-effects depending on your application and web server.
  2242. ; You may be able to send headers and cookies after you've already sent output
  2243. ; through print or echo. You also may see performance benefits if your server is
  2244. ; emitting less packets due to buffered output versus PHP streaming the output
  2245. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
  2246. ; reasons.
  2247. ; Note: Output buffering can also be controlled via Output Buffering Control
  2248. ;   functions.
  2249. ; Possible Values:
  2250. ;   On = Enabled and buffer is unlimited. (Use with caution)
  2251. ;   Off = Disabled
  2252. ;   Integer = Enables the buffer and sets its maximum size in bytes.
  2253. ; Note: This directive is hardcoded to Off for the CLI SAPI
  2254. ; Default Value: Off
  2255. ; Development Value: 4096
  2256. ; Production Value: 4096
  2257. ; http://php.net/output-buffering
  2258. output_buffering = 4096
  2259.  
  2260. ; You can redirect all of the output of your scripts to a function.  For
  2261. ; example, if you set output_handler to "mb_output_handler", character
  2262. ; encoding will be transparently converted to the specified encoding.
  2263. ; Setting any output handler automatically turns on output buffering.
  2264. ; Note: People who wrote portable scripts should not depend on this ini
  2265. ;   directive. Instead, explicitly set the output handler using ob_start().
  2266. ;   Using this ini directive may cause problems unless you know what script
  2267. ;   is doing.
  2268. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  2269. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
  2270. ; Note: output_handler must be empty if this is set 'On' !!!!
  2271. ;   Instead you must use zlib.output_handler.
  2272. ; http://php.net/output-handler
  2273. ;output_handler =
  2274.  
  2275. ; Transparent output compression using the zlib library
  2276. ; Valid values for this option are 'off', 'on', or a specific buffer size
  2277. ; to be used for compression (default is 4KB)
  2278. ; Note: Resulting chunk size may vary due to nature of compression. PHP
  2279. ;   outputs chunks that are few hundreds bytes each as a result of
  2280. ;   compression. If you prefer a larger chunk size for better
  2281. ;   performance, enable output_buffering in addition.
  2282. ; Note: You need to use zlib.output_handler instead of the standard
  2283. ;   output_handler, or otherwise the output will be corrupted.
  2284. ; http://php.net/zlib.output-compression
  2285. zlib.output_compression = Off
  2286.  
  2287. ; http://php.net/zlib.output-compression-level
  2288. ;zlib.output_compression_level = -1
  2289.  
  2290. ; You cannot specify additional output handlers if zlib.output_compression
  2291. ; is activated here. This setting does the same as output_handler but in
  2292. ; a different order.
  2293. ; http://php.net/zlib.output-handler
  2294. ;zlib.output_handler =
  2295.  
  2296. ; Implicit flush tells PHP to tell the output layer to flush itself
  2297. ; automatically after every output block.  This is equivalent to calling the
  2298. ; PHP function flush() after each and every call to print() or echo() and each
  2299. ; and every HTML block.  Turning this option on has serious performance
  2300. ; implications and is generally recommended for debugging purposes only.
  2301. ; http://php.net/implicit-flush
  2302. ; Note: This directive is hardcoded to On for the CLI SAPI
  2303. implicit_flush = Off
  2304.  
  2305. ; The unserialize callback function will be called (with the undefined class'
  2306. ; name as parameter), if the unserializer finds an undefined class
  2307. ; which should be instantiated. A warning appears if the specified function is
  2308. ; not defined, or if the function doesn't include/implement the missing class.
  2309. ; So only set this entry, if you really want to implement such a
  2310. ; callback-function.
  2311. unserialize_callback_func =
  2312.  
  2313. ; When floats & doubles are serialized store serialize_precision significant
  2314. ; digits after the floating point. The default value ensures that when floats
  2315. ; are decoded with unserialize, the data will remain the same.
  2316. serialize_precision = 17
  2317.  
  2318. ; This directive allows you to enable and disable warnings which PHP will issue
  2319. ; if you pass a value by reference at function call time. Passing values by
  2320. ; reference at function call time is a deprecated feature which will be removed
  2321. ; from PHP at some point in the near future. The acceptable method for passing a
  2322. ; value by reference to a function is by declaring the reference in the functions
  2323. ; definition, not at call time. This directive does not disable this feature, it
  2324. ; only determines whether PHP will warn you about it or not. These warnings
  2325. ; should enabled in development environments only.
  2326. ; Default Value: On (Suppress warnings)
  2327. ; Development Value: Off (Issue warnings)
  2328. ; Production Value: Off (Issue warnings)
  2329. ; http://php.net/allow-call-time-pass-reference
  2330. allow_call_time_pass_reference = ON
  2331.  
  2332. ; Safe Mode
  2333. ; http://php.net/safe-mode
  2334. safe_mode = Off
  2335.  
  2336. ; By default, Safe Mode does a UID compare check when
  2337. ; opening files. If you want to relax this to a GID compare,
  2338. ; then turn on safe_mode_gid.
  2339. ; http://php.net/safe-mode-gid
  2340. safe_mode_gid = Off
  2341.  
  2342. ; When safe_mode is on, UID/GID checks are bypassed when
  2343. ; including files from this directory and its subdirectories.
  2344. ; (directory must also be in include_path or full path must
  2345. ; be used when including)
  2346. ; http://php.net/safe-mode-include-dir
  2347. safe_mode_include_dir =
  2348.  
  2349. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  2350. ; will be allowed to be executed via the exec family of functions.
  2351. ; http://php.net/safe-mode-exec-dir
  2352. safe_mode_exec_dir =
  2353.  
  2354. ; Setting certain environment variables may be a potential security breach.
  2355. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  2356. ; the user may only alter environment variables whose names begin with the
  2357. ; prefixes supplied here.  By default, users will only be able to set
  2358. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  2359. ; Note:  If this directive is empty, PHP will let the user modify ANY
  2360. ;   environment variable!
  2361. ; http://php.net/safe-mode-allowed-env-vars
  2362. safe_mode_allowed_env_vars = PHP_
  2363.  
  2364. ; This directive contains a comma-delimited list of environment variables that
  2365. ; the end user won't be able to change using putenv().  These variables will be
  2366. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  2367. ; http://php.net/safe-mode-protected-env-vars
  2368. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  2369.  
  2370. ; open_basedir, if set, limits all file operations to the defined directory
  2371. ; and below.  This directive makes most sense if used in a per-directory
  2372. ; or per-virtualhost web server configuration file. This directive is
  2373. ; *NOT* affected by whether Safe Mode is turned On or Off.
  2374. ; http://php.net/open-basedir
  2375. ;open_basedir =
  2376.  
  2377. ; This directive allows you to disable certain functions for security reasons.
  2378. ; It receives a comma-delimited list of function names. This directive is
  2379. ; *NOT* affected by whether Safe Mode is turned On or Off.
  2380. ; http://php.net/disable-functions
  2381. disable_functions =
  2382.  
  2383. ; This directive allows you to disable certain classes for security reasons.
  2384. ; It receives a comma-delimited list of class names. This directive is
  2385. ; *NOT* affected by whether Safe Mode is turned On or Off.
  2386. ; http://php.net/disable-classes
  2387. disable_classes =
  2388.  
  2389. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  2390. ; <span style="color: ???????"> would work.
  2391. ; http://php.net/syntax-highlighting
  2392. ;highlight.string  = #DD0000
  2393. ;highlight.comment = #FF9900
  2394. ;highlight.keyword = #007700
  2395. ;highlight.bg      = #FFFFFF
  2396. ;highlight.default = #0000BB
  2397. ;highlight.html    = #000000
  2398.  
  2399. ; If enabled, the request will be allowed to complete even if the user aborts
  2400. ; the request. Consider enabling it if executing long requests, which may end up
  2401. ; being interrupted by the user or a browser timing out. PHP's default behavior
  2402. ; is to disable this feature.
  2403. ; http://php.net/ignore-user-abort
  2404. ;ignore_user_abort = On
  2405.  
  2406. ; Determines the size of the realpath cache to be used by PHP. This value should
  2407. ; be increased on systems where PHP opens many files to reflect the quantity of
  2408. ; the file operations performed.
  2409. ; http://php.net/realpath-cache-size
  2410. ;realpath_cache_size = 16k
  2411.  
  2412. ; Duration of time, in seconds for which to cache realpath information for a given
  2413. ; file or directory. For systems with rarely changing files, consider increasing this
  2414. ; value.
  2415. ; http://php.net/realpath-cache-ttl
  2416. ;realpath_cache_ttl = 120
  2417.  
  2418. ; Enables or disables the circular reference collector.
  2419. ; http://php.net/zend.enable-gc
  2420. zend.enable_gc = On
  2421.  
  2422. ;;;;;;;;;;;;;;;;;
  2423. ; Miscellaneous ;
  2424. ;;;;;;;;;;;;;;;;;
  2425.  
  2426. ; Decides whether PHP may expose the fact that it is installed on the server
  2427. ; (e.g. by adding its signature to the Web server header).  It is no security
  2428. ; threat in any way, but it makes it possible to determine whether you use PHP
  2429. ; on your server or not.
  2430. ; http://php.net/expose-php
  2431. expose_php = On
  2432.  
  2433. ;;;;;;;;;;;;;;;;;;;
  2434. ; Resource Limits ;
  2435. ;;;;;;;;;;;;;;;;;;;
  2436.  
  2437. ; Maximum execution time of each script, in seconds
  2438. ; http://php.net/max-execution-time
  2439. ; Note: This directive is hardcoded to 0 for the CLI SAPI
  2440. max_execution_time = 1800
  2441.  
  2442. ; Maximum amount of time each script may spend parsing request data. It's a good
  2443. ; idea to limit this time on productions servers in order to eliminate unexpectedly
  2444. ; long running scripts.
  2445. ; Note: This directive is hardcoded to -1 for the CLI SAPI
  2446. ; Default Value: -1 (Unlimited)
  2447. ; Development Value: 60 (60 seconds)
  2448. ; Production Value: 60 (60 seconds)
  2449. ; http://php.net/max-input-time
  2450. max_input_time = 120
  2451.  
  2452. ; Maximum input variable nesting level
  2453. ; http://php.net/max-input-nesting-level
  2454. ;max_input_nesting_level = 64
  2455.  
  2456. ; How many GET/POST/COOKIE input variables may be accepted
  2457. ; max_input_vars = 1000
  2458.  
  2459. ; Maximum amount of memory a script may consume (128MB)
  2460. ; http://php.net/memory-limit
  2461. memory_limit = 128M
  2462.  
  2463. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2464. ; Error handling and logging ;
  2465. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2466.  
  2467. ; This directive informs PHP of which errors, warnings and notices you would like
  2468. ; it to take action for. The recommended way of setting values for this
  2469. ; directive is through the use of the error level constants and bitwise
  2470. ; operators. The error level constants are below here for convenience as well as
  2471. ; some common settings and their meanings.
  2472. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
  2473. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
  2474. ; recommended coding standards in PHP. For performance reasons, this is the
  2475. ; recommend error reporting setting. Your production server shouldn't be wasting
  2476. ; resources complaining about best practices and coding standards. That's what
  2477. ; development servers and development settings are for.
  2478. ; Note: The php.ini-development file has this setting as E_ALL | E_STRICT. This
  2479. ; means it pretty much reports everything which is exactly what you want during
  2480. ; development and early testing.
  2481. ;
  2482. ; Error Level Constants:
  2483. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
  2484. ; E_ERROR           - fatal run-time errors
  2485. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
  2486. ; E_WARNING         - run-time warnings (non-fatal errors)
  2487. ; E_PARSE           - compile-time parse errors
  2488. ; E_NOTICE          - run-time notices (these are warnings which often result
  2489. ;                     from a bug in your code, but it's possible that it was
  2490. ;                     intentional (e.g., using an uninitialized variable and
  2491. ;                     relying on the fact it's automatically initialized to an
  2492. ;                     empty string)
  2493. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
  2494. ;                     to your code which will ensure the best interoperability
  2495. ;                     and forward compatibility of your code
  2496. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  2497. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  2498. ;                     initial startup
  2499. ; E_COMPILE_ERROR   - fatal compile-time errors
  2500. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  2501. ; E_USER_ERROR      - user-generated error message
  2502. ; E_USER_WARNING    - user-generated warning message
  2503. ; E_USER_NOTICE     - user-generated notice message
  2504. ; E_DEPRECATED      - warn about code that will not work in future versions
  2505. ;                     of PHP
  2506. ; E_USER_DEPRECATED - user-generated deprecation warnings
  2507. ;
  2508. ; Common Values:
  2509. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices and coding standards warnings.)
  2510. ;   E_ALL & ~E_NOTICE | E_STRICT  (Show all errors, except for notices)
  2511. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
  2512. ;   E_ALL | E_STRICT  (Show all errors, warnings and notices including coding standards.)
  2513. ; Default Value: E_ALL & ~E_NOTICE
  2514. ; Development Value: E_ALL | E_STRICT
  2515. ; Production Value: E_ALL & ~E_DEPRECATED
  2516. ; http://php.net/error-reporting
  2517. error_reporting = E_ALL | E_STRICT
  2518.  
  2519. ; This directive controls whether or not and where PHP will output errors,
  2520. ; notices and warnings too. Error output is very useful during development, but
  2521. ; it could be very dangerous in production environments. Depending on the code
  2522. ; which is triggering the error, sensitive information could potentially leak
  2523. ; out of your application such as database usernames and passwords or worse.
  2524. ; It's recommended that errors be logged on production servers rather than
  2525. ; having the errors sent to STDOUT.
  2526. ; Possible Values:
  2527. ;   Off = Do not display any errors
  2528. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
  2529. ;   On or stdout = Display errors to STDOUT
  2530. ; Default Value: On
  2531. ; Development Value: On
  2532. ; Production Value: Off
  2533. ; http://php.net/display-errors
  2534. display_errors = On
  2535.  
  2536. ; The display of errors which occur during PHP's startup sequence are handled
  2537. ; separately from display_errors. PHP's default behavior is to suppress those
  2538. ; errors from clients. Turning the display of startup errors on can be useful in
  2539. ; debugging configuration problems. But, it's strongly recommended that you
  2540. ; leave this setting off on production servers.
  2541. ; Default Value: Off
  2542. ; Development Value: On
  2543. ; Production Value: Off
  2544. ; http://php.net/display-startup-errors
  2545. display_startup_errors = On
  2546.  
  2547. ; Besides displaying errors, PHP can also log errors to locations such as a
  2548. ; server-specific log, STDERR, or a location specified by the error_log
  2549. ; directive found below. While errors should not be displayed on productions
  2550. ; servers they should still be monitored and logging is a great way to do that.
  2551. ; Default Value: Off
  2552. ; Development Value: On
  2553. ; Production Value: On
  2554. ; http://php.net/log-errors
  2555. log_errors = On
  2556.  
  2557. ; Set maximum length of log_errors. In error_log information about the source is
  2558. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  2559. ; http://php.net/log-errors-max-len
  2560. log_errors_max_len = 1024
  2561.  
  2562. ; Do not log repeated messages. Repeated errors must occur in same file on same
  2563. ; line unless ignore_repeated_source is set true.
  2564. ; http://php.net/ignore-repeated-errors
  2565. ignore_repeated_errors = Off
  2566.  
  2567. ; Ignore source of message when ignoring repeated messages. When this setting
  2568. ; is On you will not log errors with repeated messages from different files or
  2569. ; source lines.
  2570. ; http://php.net/ignore-repeated-source
  2571. ignore_repeated_source = Off
  2572.  
  2573. ; If this parameter is set to Off, then memory leaks will not be shown (on
  2574. ; stdout or in the log). This has only effect in a debug compile, and if
  2575. ; error reporting includes E_WARNING in the allowed list
  2576. ; http://php.net/report-memleaks
  2577. report_memleaks = On
  2578.  
  2579. ; This setting is on by default.
  2580. ;report_zend_debug = 0
  2581.  
  2582. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
  2583. ; to On can assist in debugging and is appropriate for development servers. It should
  2584. ; however be disabled on production servers.
  2585. ; Default Value: Off
  2586. ; Development Value: On
  2587. ; Production Value: Off
  2588. ; http://php.net/track-errors
  2589. track_errors = On
  2590.  
  2591. ; Turn off normal error reporting and emit XML-RPC error XML
  2592. ; http://php.net/xmlrpc-errors
  2593. ;xmlrpc_errors = 0
  2594.  
  2595. ; An XML-RPC faultCode
  2596. ;xmlrpc_error_number = 0
  2597.  
  2598. ; When PHP displays or logs an error, it has the capability of inserting html
  2599. ; links to documentation related to that error. This directive controls whether
  2600. ; those HTML links appear in error messages or not. For performance and security
  2601. ; reasons, it's recommended you disable this on production servers.
  2602. ; Note: This directive is hardcoded to Off for the CLI SAPI
  2603. ; Default Value: On
  2604. ; Development Value: On
  2605. ; Production value: Off
  2606. ; http://php.net/html-errors
  2607. html_errors = On
  2608.  
  2609. ; If html_errors is set On PHP produces clickable error messages that direct
  2610. ; to a page describing the error or function causing the error in detail.
  2611. ; You can download a copy of the PHP manual from http://php.net/docs
  2612. ; and change docref_root to the base URL of your local copy including the
  2613. ; leading '/'. You must also specify the file extension being used including
  2614. ; the dot. PHP's default behavior is to leave these settings empty.
  2615. ; Note: Never use this feature for production boxes.
  2616. ; http://php.net/docref-root
  2617. ; Examples
  2618. ;docref_root = "/phpmanual/"
  2619.  
  2620. ; http://php.net/docref-ext
  2621. ;docref_ext = .html
  2622.  
  2623. ; String to output before an error message. PHP's default behavior is to leave
  2624. ; this setting blank.
  2625. ; http://php.net/error-prepend-string
  2626. ; Example:
  2627. ;error_prepend_string = "<span style='color: #ff0000'>"
  2628.  
  2629. ; String to output after an error message. PHP's default behavior is to leave
  2630. ; this setting blank.
  2631. ; http://php.net/error-append-string
  2632. ; Example:
  2633. ;error_append_string = "</span>"
  2634.  
  2635. ; Log errors to specified file. PHP's default behavior is to leave this value
  2636. ; empty.
  2637. ; http://php.net/error-log
  2638. ; Example:
  2639. ;error_log = php_errors.log
  2640. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  2641. ;error_log = syslog
  2642.  
  2643. ;windows.show_crt_warning
  2644. ; Default value: 0
  2645. ; Development value: 0
  2646. ; Production value: 0
  2647.  
  2648. ;;;;;;;;;;;;;;;;;
  2649. ; Data Handling ;
  2650. ;;;;;;;;;;;;;;;;;
  2651.  
  2652. ; The separator used in PHP generated URLs to separate arguments.
  2653. ; PHP's default setting is "&".
  2654. ; http://php.net/arg-separator.output
  2655. ; Example:
  2656. ;arg_separator.output = "&amp;"
  2657.  
  2658. ; List of separator(s) used by PHP to parse input URLs into variables.
  2659. ; PHP's default setting is "&".
  2660. ; NOTE: Every character in this directive is considered as separator!
  2661. ; http://php.net/arg-separator.input
  2662. ; Example:
  2663. ;arg_separator.input = ";&"
  2664.  
  2665. ; This directive determines which super global arrays are registered when PHP
  2666. ; starts up. If the register_globals directive is enabled, it also determines
  2667. ; what order variables are populated into the global space. G,P,C,E & S are
  2668. ; abbreviations for the following respective super globals: GET, POST, COOKIE,
  2669. ; ENV and SERVER. There is a performance penalty paid for the registration of
  2670. ; these arrays and because ENV is not as commonly used as the others, ENV is
  2671. ; is not recommended on productions servers. You can still get access to
  2672. ; the environment variables through getenv() should you need to.
  2673. ; Default Value: "EGPCS"
  2674. ; Development Value: "GPCS"
  2675. ; Production Value: "GPCS";
  2676. ; http://php.net/variables-order
  2677. variables_order = "GPCS"
  2678.  
  2679. ; This directive determines which super global data (G,P,C,E & S) should
  2680. ; be registered into the super global array REQUEST. If so, it also determines
  2681. ; the order in which that data is registered. The values for this directive are
  2682. ; specified in the same manner as the variables_order directive, EXCEPT one.
  2683. ; Leaving this value empty will cause PHP to use the value set in the
  2684. ; variables_order directive. It does not mean it will leave the super globals
  2685. ; array REQUEST empty.
  2686. ; Default Value: None
  2687. ; Development Value: "GP"
  2688. ; Production Value: "GP"
  2689. ; http://php.net/request-order
  2690. request_order = "CGP"
  2691.  
  2692. ; Whether or not to register the EGPCS variables as global variables.  You may
  2693. ; want to turn this off if you don't want to clutter your scripts' global scope
  2694. ; with user data.
  2695. ; You should do your best to write your scripts so that they do not require
  2696. ; register_globals to be on;  Using form variables as globals can easily lead
  2697. ; to possible security problems, if the code is not very well thought of.
  2698. ; http://php.net/register-globals
  2699. register_globals = Off
  2700.  
  2701. ; Determines whether the deprecated long $HTTP_*_VARS type predefined variables
  2702. ; are registered by PHP or not. As they are deprecated, we obviously don't
  2703. ; recommend you use them. They are on by default for compatibility reasons but
  2704. ; they are not recommended on production servers.
  2705. ; Default Value: On
  2706. ; Development Value: Off
  2707. ; Production Value: Off
  2708. ; http://php.net/register-long-arrays
  2709. register_long_arrays = Off
  2710.  
  2711. ; This directive determines whether PHP registers $argv & $argc each time it
  2712. ; runs. $argv contains an array of all the arguments passed to PHP when a script
  2713. ; is invoked. $argc contains an integer representing the number of arguments
  2714. ; that were passed when the script was invoked. These arrays are extremely
  2715. ; useful when running scripts from the command line. When this directive is
  2716. ; enabled, registering these variables consumes CPU cycles and memory each time
  2717. ; a script is executed. For performance reasons, this feature should be disabled
  2718. ; on production servers.
  2719. ; Note: This directive is hardcoded to On for the CLI SAPI
  2720. ; Default Value: On
  2721. ; Development Value: Off
  2722. ; Production Value: Off
  2723. ; http://php.net/register-argc-argv
  2724. register_argc_argv = Off
  2725.  
  2726. ; When enabled, the SERVER and ENV variables are created when they're first
  2727. ; used (Just In Time) instead of when the script starts. If these variables
  2728. ; are not used within a script, having this directive on will result in a
  2729. ; performance gain. The PHP directives register_globals, register_long_arrays,
  2730. ; and register_argc_argv must be disabled for this directive to have any affect.
  2731. ; http://php.net/auto-globals-jit
  2732. auto_globals_jit = On
  2733.  
  2734. ; Maximum size of POST data that PHP will accept.
  2735. ; http://php.net/post-max-size
  2736. post_max_size = 100M
  2737.  
  2738. ; Magic quotes are a preprocessing feature of PHP where PHP will attempt to
  2739. ; escape any character sequences in GET, POST, COOKIE and ENV data which might
  2740. ; otherwise corrupt data being placed in resources such as databases before
  2741. ; making that data available to you. Because of character encoding issues and
  2742. ; non-standard SQL implementations across many databases, it's not currently
  2743. ; possible for this feature to be 100% accurate. PHP's default behavior is to
  2744. ; enable the feature. We strongly recommend you use the escaping mechanisms
  2745. ; designed specifically for the database your using instead of relying on this
  2746. ; feature. Also note, this feature has been deprecated as of PHP 5.3.0 and is
  2747. ; removed in PHP 5.4.
  2748. ; Default Value: On
  2749. ; Development Value: Off
  2750. ; Production Value: Off
  2751. ; http://php.net/magic-quotes-gpc
  2752. magic_quotes_gpc = Off
  2753.  
  2754. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  2755. ; http://php.net/magic-quotes-runtime
  2756. magic_quotes_runtime = Off
  2757.  
  2758. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  2759. ; http://php.net/magic-quotes-sybase
  2760. magic_quotes_sybase = Off
  2761.  
  2762. ; Automatically add files before PHP document.
  2763. ; http://php.net/auto-prepend-file
  2764. auto_prepend_file =
  2765.  
  2766. ; Automatically add files after PHP document.
  2767. ; http://php.net/auto-append-file
  2768. auto_append_file =
  2769.  
  2770. ; By default, PHP will output a character encoding using
  2771. ; the Content-type: header.  To disable sending of the charset, simply
  2772. ; set it to be empty.
  2773. ;
  2774. ; PHP's built-in default is text/html
  2775. ; http://php.net/default-mimetype
  2776. default_mimetype = "text/html"
  2777.  
  2778. ; PHP's default character set is set to empty.
  2779. ; http://php.net/default-charset
  2780. ;default_charset = "iso-8859-1"
  2781.  
  2782. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
  2783. ; to disable this feature.
  2784. ; http://php.net/always-populate-raw-post-data
  2785. ;always_populate_raw_post_data = On
  2786.  
  2787. ;;;;;;;;;;;;;;;;;;;;;;;;;
  2788. ; Paths and Directories ;
  2789. ;;;;;;;;;;;;;;;;;;;;;;;;;
  2790.  
  2791. ; UNIX: "/path1:/path2"
  2792. ;include_path = ".:/php/includes"
  2793. ;
  2794. ; Windows: "\path1;\path2"
  2795. ;include_path = ".;c:\php\includes"
  2796. ;
  2797. ; PHP's default setting for include_path is ".;/path/to/php/pear"
  2798. ; http://php.net/include-path
  2799.  
  2800. ; The root of the PHP pages, used only if nonempty.
  2801. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  2802. ; if you are running php as a CGI under any web server (other than IIS)
  2803. ; see documentation for security issues.  The alternate is to use the
  2804. ; cgi.force_redirect configuration below
  2805. ; http://php.net/doc-root
  2806. doc_root =
  2807.  
  2808. ; The directory under which PHP opens the script using /~username used only
  2809. ; if nonempty.
  2810. ; http://php.net/user-dir
  2811. user_dir =
  2812.  
  2813. ; Directory in which the loadable extensions (modules) reside.
  2814. ; http://php.net/extension-dir
  2815. ; extension_dir = "./"
  2816. ; On windows:
  2817. extension_dir ="D:\phpProject_cn\core\PHP\ext"
  2818.  
  2819. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  2820. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  2821. ; disabled on them.
  2822. ; http://php.net/enable-dl
  2823. enable_dl = Off
  2824.  
  2825. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  2826. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  2827. ; turn it off here AT YOUR OWN RISK
  2828. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  2829. ; http://php.net/cgi.force-redirect
  2830. ;cgi.force_redirect = 1
  2831.  
  2832. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  2833. ; every request. PHP's default behavior is to disable this feature.
  2834. ;cgi.nph = 1
  2835.  
  2836. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  2837. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  2838. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  2839. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  2840. ; http://php.net/cgi.redirect-status-env
  2841. ;cgi.redirect_status_env =
  2842.  
  2843. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
  2844. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  2845. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
  2846. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
  2847. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
  2848. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  2849. ; http://php.net/cgi.fix-pathinfo
  2850. ;cgi.fix_pathinfo=1
  2851.  
  2852. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  2853. ; security tokens of the calling client.  This allows IIS to define the
  2854. ; security context that the request runs under.  mod_fastcgi under Apache
  2855. ; does not currently support this feature (03/17/2002)
  2856. ; Set to 1 if running under IIS.  Default is zero.
  2857. ; http://php.net/fastcgi.impersonate
  2858. ;fastcgi.impersonate = 1
  2859.  
  2860. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
  2861. ; this feature.
  2862. ;fastcgi.logging = 0
  2863.  
  2864. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  2865. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  2866. ; is supported by Apache. When this option is set to 1 PHP will send
  2867. ; RFC2616 compliant header.
  2868. ; Default is zero.
  2869. ; http://php.net/cgi.rfc2616-headers
  2870. ;cgi.rfc2616_headers = 0
  2871.  
  2872. ;;;;;;;;;;;;;;;;
  2873. ; File Uploads ;
  2874. ;;;;;;;;;;;;;;;;
  2875.  
  2876. ; Whether to allow HTTP file uploads.
  2877. ; http://php.net/file-uploads
  2878. file_uploads = On
  2879.  
  2880. ; Temporary directory for HTTP uploaded files (will use system default if not
  2881. ; specified).
  2882. ; http://php.net/upload-tmp-dir
  2883. ;upload_tmp_dir =
  2884.  
  2885. ; Maximum allowed size for uploaded files.
  2886. ; http://php.net/upload-max-filesize
  2887. upload_max_filesize = 100M
  2888.  
  2889. ; Maximum number of files that can be uploaded via a single request
  2890. max_file_uploads = 100
  2891.  
  2892. ;;;;;;;;;;;;;;;;;;
  2893. ; Fopen wrappers ;
  2894. ;;;;;;;;;;;;;;;;;;
  2895.  
  2896. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  2897. ; http://php.net/allow-url-fopen
  2898. allow_url_fopen = On
  2899.  
  2900. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
  2901. ; http://php.net/allow-url-include
  2902. allow_url_include = Off
  2903.  
  2904. ; Define the anonymous ftp password (your email address). PHP's default setting
  2905. ; for this is empty.
  2906. ; http://php.net/from
  2907. ;from="john@doe.com"
  2908.  
  2909. ; Define the User-Agent string. PHP's default setting for this is empty.
  2910. ; http://php.net/user-agent
  2911. ;user_agent="PHP"
  2912.  
  2913. ; Default timeout for socket based streams (seconds)
  2914. ; http://php.net/default-socket-timeout
  2915. default_socket_timeout = 60
  2916.  
  2917. ; If your scripts have to deal with files from Macintosh systems,
  2918. ; or you are running on a Mac and need to deal with files from
  2919. ; unix or win32 systems, setting this flag will cause PHP to
  2920. ; automatically detect the EOL character in those files so that
  2921. ; fgets() and file() will work regardless of the source of the file.
  2922. ; http://php.net/auto-detect-line-endings
  2923. ;auto_detect_line_endings = Off
  2924.  
  2925. ;;;;;;;;;;;;;;;;;;;;;;
  2926. ; Dynamic Extensions ;
  2927. ;;;;;;;;;;;;;;;;;;;;;;
  2928.  
  2929. ; If you wish to have an extension loaded automatically, use the following
  2930. ; syntax:
  2931. ;
  2932. ;   extension=modulename.extension
  2933. ;
  2934. ; For example, on Windows:
  2935. ;
  2936. ;   extension=msql.dll
  2937. ;
  2938. ; ... or under UNIX:
  2939. ;
  2940. ;   extension=msql.so
  2941. ;
  2942. ; ... or with a path:
  2943. ;
  2944. ;   extension=/path/to/extension/msql.so
  2945. ;
  2946. ; If you only provide the name of the extension, PHP will look for it in its
  2947. ; default extension directory.
  2948. ;
  2949. ; Windows Extensions
  2950. ; Note that ODBC support is built in, so no dll is needed for it.
  2951. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
  2952. ; extension folders as well as the separate PECL DLL download (PHP 5).
  2953. ; Be sure to appropriately set the extension_dir directive.
  2954. ;
  2955. extension=php_bz2.dll
  2956. extension=php_curl.dll
  2957. ;extension=php_fileinfo.dll
  2958. extension=php_gd2.dll
  2959. ;extension=php_gettext.dll
  2960. ;extension=php_gmp.dll
  2961. ;extension=php_intl.dll
  2962. ;extension=php_imap.dll
  2963. ;extension=php_interbase.dll
  2964. extension=php_ldap.dll
  2965. extension=php_mbstring.dll
  2966. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
  2967. extension=php_mysql.dll
  2968. extension=php_mysqli.dll
  2969. ;extension=php_oci8.dll      ; Use with Oracle 10gR2 Instant Client
  2970. ;extension=php_oci8_11g.dll  ; Use with Oracle 11gR2 Instant Client
  2971. extension=php_openssl.dll
  2972. ;extension=php_pdo_firebird.dll
  2973. ;extension=php_pdo_mssql.dll
  2974. extension=php_pdo_mysql.dll
  2975. ;extension=php_pdo_oci.dll
  2976. extension=php_pdo_odbc.dll
  2977. ;extension=php_pdo_pgsql.dll
  2978. extension=php_pdo_sqlite.dll
  2979. ;extension=php_pgsql.dll
  2980. ;extension=php_pspell.dll
  2981. ;extension=php_shmop.dll
  2982.  
  2983. ; The MIBS data available in the PHP distribution must be installed.
  2984. ; See http://www.php.net/manual/en/snmp.installation.php
  2985. ;extension=php_snmp.dll
  2986. ;extension=php_mongo.dl
  2987. extension=php_sqlsrv.dll
  2988. ;extension=php_pdo_sqlsrv.dll
  2989. ;extension=php_ibm_db2.dll
  2990.  
  2991. extension=php_soap.dll
  2992. extension=php_sockets.dll
  2993. extension=php_sqlite.dll
  2994. extension=php_sqlite3.dll
  2995. ;extension=php_sybase_ct.dll
  2996. ;extension=php_tidy.dll
  2997. extension=php_xmlrpc.dll
  2998. extension=php_xsl.dll
  2999. ;extension=php_zip.dll
  3000. extension=memcache.dll
  3001.  
  3002. ;;;;;;;;;;;;;;;;;;;
  3003. ; Module Settings ;
  3004. ;;;;;;;;;;;;;;;;;;;
  3005.  
  3006. [Date]
  3007. ; Defines the default timezone used by the date functions
  3008. ; http://php.net/date.timezone
  3009. date.timezone =PRC
  3010.  
  3011. ; http://php.net/date.default-latitude
  3012. ;date.default_latitude = 31.7667
  3013.  
  3014. ; http://php.net/date.default-longitude
  3015. ;date.default_longitude = 35.2333
  3016.  
  3017. ; http://php.net/date.sunrise-zenith
  3018. ;date.sunrise_zenith = 90.583333
  3019.  
  3020. ; http://php.net/date.sunset-zenith
  3021. ;date.sunset_zenith = 90.583333
  3022.  
  3023. [filter]
  3024. ; http://php.net/filter.default
  3025. ;filter.default = unsafe_raw
  3026.  
  3027. ; http://php.net/filter.default-flags
  3028. ;filter.default_flags =
  3029.  
  3030. [iconv]
  3031. ;iconv.input_encoding = ISO-8859-1
  3032. ;iconv.internal_encoding = ISO-8859-1
  3033. ;iconv.output_encoding = ISO-8859-1
  3034.  
  3035. [intl]
  3036. ;intl.default_locale =
  3037. ; This directive allows you to produce PHP errors when some error
  3038. ; happens within intl functions. The value is the level of the error produced.
  3039. ; Default is 0, which does not produce any errors.
  3040. ;intl.error_level = E_WARNING
  3041.  
  3042. [sqlite]
  3043. ; http://php.net/sqlite.assoc-case
  3044. ;sqlite.assoc_case = 0
  3045.  
  3046. [sqlite3]
  3047. ;sqlite3.extension_dir =
  3048.  
  3049. [Pcre]
  3050. ;PCRE library backtracking limit.
  3051. ; http://php.net/pcre.backtrack-limit
  3052. ;pcre.backtrack_limit=100000
  3053.  
  3054. ;PCRE library recursion limit.
  3055. ;Please note that if you set this value to a high number you may consume all
  3056. ;the available process stack and eventually crash PHP (due to reaching the
  3057. ;stack size limit imposed by the Operating System).
  3058. ; http://php.net/pcre.recursion-limit
  3059. ;pcre.recursion_limit=100000
  3060.  
  3061. [Pdo]
  3062. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
  3063. ; http://php.net/pdo-odbc.connection-pooling
  3064. ;pdo_odbc.connection_pooling=strict
  3065.  
  3066. ;pdo_odbc.db2_instance_name
  3067.  
  3068. [Pdo_mysql]
  3069. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  3070. ; http://php.net/pdo_mysql.cache_size
  3071. pdo_mysql.cache_size = 2000
  3072.  
  3073. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  3074. ; MySQL defaults.
  3075. ; http://php.net/pdo_mysql.default-socket
  3076. pdo_mysql.default_socket=
  3077.  
  3078. [Phar]
  3079. ; http://php.net/phar.readonly
  3080. ;phar.readonly = On
  3081.  
  3082. ; http://php.net/phar.require-hash
  3083. ;phar.require_hash = On
  3084.  
  3085. ;phar.cache_list =
  3086.  
  3087. [Syslog]
  3088. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  3089. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  3090. ; runtime, you can define these variables by calling define_syslog_variables().
  3091. ; http://php.net/define-syslog-variables
  3092. define_syslog_variables  = Off
  3093.  
  3094. [mail function]
  3095. ; For Win32 only.
  3096. ; http://php.net/smtp
  3097. SMTP = localhost
  3098. ; http://php.net/smtp-port
  3099. smtp_port = 25
  3100.  
  3101. ; For Win32 only.
  3102. ; http://php.net/sendmail-from
  3103. ;sendmail_from = me@example.com
  3104.  
  3105. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  3106. ; http://php.net/sendmail-path
  3107.  
  3108. ; Force the addition of the specified parameters to be passed as extra parameters
  3109. ; to the sendmail binary. These parameters will always replace the value of
  3110. ; the 5th parameter to mail(), even in safe mode.
  3111. ;mail.force_extra_parameters =
  3112.  
  3113. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
  3114. mail.add_x_header = On
  3115.  
  3116. ; The path to a log file that will log all mail() calls. Log entries include
  3117. ; the full path of the script, line number, To address and headers.
  3118. ;mail.log =
  3119.  
  3120. [SQL]
  3121. ; http://php.net/sql.safe-mode
  3122. sql.safe_mode = Off
  3123.  
  3124. [ODBC]
  3125. ; http://php.net/odbc.default-db
  3126. ;odbc.default_db    =  Not yet implemented
  3127.  
  3128. ; http://php.net/odbc.default-user
  3129. ;odbc.default_user  =  Not yet implemented
  3130.  
  3131. ; http://php.net/odbc.default-pw
  3132. ;odbc.default_pw    =  Not yet implemented
  3133.  
  3134. ; Controls the ODBC cursor model.
  3135. ; Default: SQL_CURSOR_STATIC (default).
  3136. ;odbc.default_cursortype
  3137.  
  3138. ; Allow or prevent persistent links.
  3139. ; http://php.net/odbc.allow-persistent
  3140. odbc.allow_persistent = On
  3141.  
  3142. ; Check that a connection is still valid before reuse.
  3143. ; http://php.net/odbc.check-persistent
  3144. odbc.check_persistent = On
  3145.  
  3146. ; Maximum number of persistent links.  -1 means no limit.
  3147. ; http://php.net/odbc.max-persistent
  3148. odbc.max_persistent = -1
  3149.  
  3150. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  3151. ; http://php.net/odbc.max-links
  3152. odbc.max_links = -1
  3153.  
  3154. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  3155. ; passthru.
  3156. ; http://php.net/odbc.defaultlrl
  3157. odbc.defaultlrl = 4096
  3158.  
  3159. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  3160. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  3161. ; of odbc.defaultlrl and odbc.defaultbinmode
  3162. ; http://php.net/odbc.defaultbinmode
  3163. odbc.defaultbinmode = 1
  3164.  
  3165. ;birdstep.max_links = -1
  3166.  
  3167. [Interbase]
  3168. ; Allow or prevent persistent links.
  3169. ibase.allow_persistent = 1
  3170.  
  3171. ; Maximum number of persistent links.  -1 means no limit.
  3172. ibase.max_persistent = -1
  3173.  
  3174. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  3175. ibase.max_links = -1
  3176.  
  3177. ; Default database name for ibase_connect().
  3178. ;ibase.default_db =
  3179.  
  3180. ; Default username for ibase_connect().
  3181. ;ibase.default_user =
  3182.  
  3183. ; Default password for ibase_connect().
  3184. ;ibase.default_password =
  3185.  
  3186. ; Default charset for ibase_connect().
  3187. ;ibase.default_charset =
  3188.  
  3189. ; Default timestamp format.
  3190. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
  3191.  
  3192. ; Default date format.
  3193. ibase.dateformat = "%Y-%m-%d"
  3194.  
  3195. ; Default time format.
  3196. ibase.timeformat = "%H:%M:%S"
  3197.  
  3198. [MySQL]
  3199. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
  3200. ; http://php.net/mysql.allow_local_infile
  3201. mysql.allow_local_infile = On
  3202.  
  3203. ; Allow or prevent persistent links.
  3204. ; http://php.net/mysql.allow-persistent
  3205. mysql.allow_persistent = On
  3206.  
  3207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  3208. ; http://php.net/mysql.cache_size
  3209. mysql.cache_size = 2000
  3210.  
  3211. ; Maximum number of persistent links.  -1 means no limit.
  3212. ; http://php.net/mysql.max-persistent
  3213. mysql.max_persistent = -1
  3214.  
  3215. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  3216. ; http://php.net/mysql.max-links
  3217. mysql.max_links = -1
  3218.  
  3219. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  3220. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  3221. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  3222. ; at MYSQL_PORT.
  3223. ; http://php.net/mysql.default-port
  3224. mysql.default_port =
  3225.  
  3226. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  3227. ; MySQL defaults.
  3228. ; http://php.net/mysql.default-socket
  3229. mysql.default_socket =
  3230.  
  3231. ; Default host for mysql_connect() (doesn't apply in safe mode).
  3232. ; http://php.net/mysql.default-host
  3233. mysql.default_host =
  3234.  
  3235. ; Default user for mysql_connect() (doesn't apply in safe mode).
  3236. ; http://php.net/mysql.default-user
  3237. mysql.default_user =
  3238.  
  3239. ; Default password for mysql_connect() (doesn't apply in safe mode).
  3240. ; Note that this is generally a *bad* idea to store passwords in this file.
  3241. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  3242. ; and reveal this password!  And of course, any users with read access to this
  3243. ; file will be able to reveal the password as well.
  3244. ; http://php.net/mysql.default-password
  3245. mysql.default_password =
  3246.  
  3247. ; Maximum time (in seconds) for connect timeout. -1 means no limit
  3248. ; http://php.net/mysql.connect-timeout
  3249. mysql.connect_timeout = 60
  3250.  
  3251. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  3252. ; SQL-Errors will be displayed.
  3253. ; http://php.net/mysql.trace-mode
  3254. mysql.trace_mode = Off
  3255.  
  3256. [MySQLi]
  3257.  
  3258. ; Maximum number of persistent links.  -1 means no limit.
  3259. ; http://php.net/mysqli.max-persistent
  3260. mysqli.max_persistent = -1
  3261.  
  3262. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
  3263. ; http://php.net/mysqli.allow_local_infile
  3264. ;mysqli.allow_local_infile = On
  3265.  
  3266. ; Allow or prevent persistent links.
  3267. ; http://php.net/mysqli.allow-persistent
  3268. mysqli.allow_persistent = On
  3269.  
  3270. ; Maximum number of links.  -1 means no limit.
  3271. ; http://php.net/mysqli.max-links
  3272. mysqli.max_links = -1
  3273.  
  3274. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  3275. ; http://php.net/mysqli.cache_size
  3276. mysqli.cache_size = 2000
  3277.  
  3278. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
  3279. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  3280. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  3281. ; at MYSQL_PORT.
  3282. ; http://php.net/mysqli.default-port
  3283. mysqli.default_port = 3306
  3284.  
  3285. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  3286. ; MySQL defaults.
  3287. ; http://php.net/mysqli.default-socket
  3288. mysqli.default_socket =
  3289.  
  3290. ; Default host for mysql_connect() (doesn't apply in safe mode).
  3291. ; http://php.net/mysqli.default-host
  3292. mysqli.default_host =
  3293.  
  3294. ; Default user for mysql_connect() (doesn't apply in safe mode).
  3295. ; http://php.net/mysqli.default-user
  3296. mysqli.default_user =
  3297.  
  3298. ; Default password for mysqli_connect() (doesn't apply in safe mode).
  3299. ; Note that this is generally a *bad* idea to store passwords in this file.
  3300. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
  3301. ; and reveal this password!  And of course, any users with read access to this
  3302. ; file will be able to reveal the password as well.
  3303. ; http://php.net/mysqli.default-pw
  3304. mysqli.default_pw =
  3305.  
  3306. ; Allow or prevent reconnect
  3307. mysqli.reconnect = Off
  3308.  
  3309. [mysqlnd]
  3310. ; Enable / Disable collection of general statistics by mysqlnd which can be
  3311. ; used to tune and monitor MySQL operations.
  3312. ; http://php.net/mysqlnd.collect_statistics
  3313. mysqlnd.collect_statistics = On
  3314.  
  3315. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
  3316. ; used to tune and monitor MySQL operations.
  3317. ; http://php.net/mysqlnd.collect_memory_statistics
  3318. mysqlnd.collect_memory_statistics = On
  3319.  
  3320. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
  3321. ; http://php.net/mysqlnd.net_cmd_buffer_size
  3322. ;mysqlnd.net_cmd_buffer_size = 2048
  3323.  
  3324. ; Size of a pre-allocated buffer used for reading data sent by the server in
  3325. ; bytes.
  3326. ; http://php.net/mysqlnd.net_read_buffer_size
  3327. ;mysqlnd.net_read_buffer_size = 32768
  3328.  
  3329. [OCI8]
  3330.  
  3331. ; Connection: Enables privileged connections using external
  3332. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
  3333. ; http://php.net/oci8.privileged-connect
  3334. ;oci8.privileged_connect = Off
  3335.  
  3336. ; Connection: The maximum number of persistent OCI8 connections per
  3337. ; process. Using -1 means no limit.
  3338. ; http://php.net/oci8.max-persistent
  3339. ;oci8.max_persistent = -1
  3340.  
  3341. ; Connection: The maximum number of seconds a process is allowed to
  3342. ; maintain an idle persistent connection. Using -1 means idle
  3343. ; persistent connections will be maintained forever.
  3344. ; http://php.net/oci8.persistent-timeout
  3345. ;oci8.persistent_timeout = -1
  3346.  
  3347. ; Connection: The number of seconds that must pass before issuing a
  3348. ; ping during oci_pconnect() to check the connection validity. When
  3349. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
  3350. ; pings completely.
  3351. ; http://php.net/oci8.ping-interval
  3352. ;oci8.ping_interval = 60
  3353.  
  3354. ; Connection: Set this to a user chosen connection class to be used
  3355. ; for all pooled server requests with Oracle 11g Database Resident
  3356. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
  3357. ; the same string for all web servers running the same application,
  3358. ; the database pool must be configured, and the connection string must
  3359. ; specify to use a pooled server.
  3360. ;oci8.connection_class =
  3361.  
  3362. ; High Availability: Using On lets PHP receive Fast Application
  3363. ; Notification (FAN) events generated when a database node fails. The
  3364. ; database must also be configured to post FAN events.
  3365. ;oci8.events = Off
  3366.  
  3367. ; Tuning: This option enables statement caching, and specifies how
  3368. ; many statements to cache. Using 0 disables statement caching.
  3369. ; http://php.net/oci8.statement-cache-size
  3370. ;oci8.statement_cache_size = 20
  3371.  
  3372. ; Tuning: Enables statement prefetching and sets the default number of
  3373. ; rows that will be fetched automatically after statement execution.
  3374. ; http://php.net/oci8.default-prefetch
  3375. ;oci8.default_prefetch = 100
  3376.  
  3377. ; Compatibility. Using On means oci_close() will not close
  3378. ; oci_connect() and oci_new_connect() connections.
  3379. ; http://php.net/oci8.old-oci-close-semantics
  3380. ;oci8.old_oci_close_semantics = Off
  3381.  
  3382. [PostgreSQL]
  3383. ; Allow or prevent persistent links.
  3384. ; http://php.net/pgsql.allow-persistent
  3385. pgsql.allow_persistent = On
  3386.  
  3387. ; Detect broken persistent links always with pg_pconnect().
  3388. ; Auto reset feature requires a little overheads.
  3389. ; http://php.net/pgsql.auto-reset-persistent
  3390. pgsql.auto_reset_persistent = Off
  3391.  
  3392. ; Maximum number of persistent links.  -1 means no limit.
  3393. ; http://php.net/pgsql.max-persistent
  3394. pgsql.max_persistent = -1
  3395.  
  3396. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  3397. ; http://php.net/pgsql.max-links
  3398. pgsql.max_links = -1
  3399.  
  3400. ; Ignore PostgreSQL backends Notice message or not.
  3401. ; Notice message logging require a little overheads.
  3402. ; http://php.net/pgsql.ignore-notice
  3403. pgsql.ignore_notice = 0
  3404.  
  3405. ; Log PostgreSQL backends Notice message or not.
  3406. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  3407. ; http://php.net/pgsql.log-notice
  3408. pgsql.log_notice = 0
  3409.  
  3410. [Sybase-CT]
  3411. ; Allow or prevent persistent links.
  3412. ; http://php.net/sybct.allow-persistent
  3413. sybct.allow_persistent = On
  3414.  
  3415. ; Maximum number of persistent links.  -1 means no limit.
  3416. ; http://php.net/sybct.max-persistent
  3417. sybct.max_persistent = -1
  3418.  
  3419. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  3420. ; http://php.net/sybct.max-links
  3421. sybct.max_links = -1
  3422.  
  3423. ; Minimum server message severity to display.
  3424. ; http://php.net/sybct.min-server-severity
  3425. sybct.min_server_severity = 10
  3426.  
  3427. ; Minimum client message severity to display.
  3428. ; http://php.net/sybct.min-client-severity
  3429. sybct.min_client_severity = 10
  3430.  
  3431. ; Set per-context timeout
  3432. ; http://php.net/sybct.timeout
  3433. ;sybct.timeout=
  3434.  
  3435. ;sybct.packet_size
  3436.  
  3437. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
  3438. ; Default: one minute
  3439. ;sybct.login_timeout=
  3440.  
  3441. ; The name of the host you claim to be connecting from, for display by sp_who.
  3442. ; Default: none
  3443. ;sybct.hostname=
  3444.  
  3445. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
  3446. ; Default: 0
  3447. ;sybct.deadlock_retry_count=
  3448.  
  3449. [bcmath]
  3450. ; Number of decimal digits for all bcmath functions.
  3451. ; http://php.net/bcmath.scale
  3452. bcmath.scale = 0
  3453.  
  3454. [browscap]
  3455. ; http://php.net/browscap
  3456. ;browscap = extra/browscap.ini
  3457.  
  3458. [Session]
  3459. ; Handler used to store/retrieve data.
  3460. ; http://php.net/session.save-handler
  3461. session.save_handler = files
  3462.  
  3463. ; Argument passed to save_handler.  In the case of files, this is the path
  3464. ; where data files are stored. Note: Windows users have to change this
  3465. ; variable in order to use PHP's session functions.
  3466. ;
  3467. ; The path can be defined as:
  3468. ;
  3469. ;     session.save_path = "N;/path"
  3470. ;
  3471. ; where N is an integer.  Instead of storing all the session files in
  3472. ; /path, what this will do is use subdirectories N-levels deep, and
  3473. ; store the session data in those directories.  This is useful if you
  3474. ; or your OS have problems with lots of files in one directory, and is
  3475. ; a more efficient layout for servers that handle lots of sessions.
  3476. ;
  3477. ; NOTE 1: PHP will not create this directory structure automatically.
  3478. ;         You can use the script in the ext/session dir for that purpose.
  3479. ; NOTE 2: See the section on garbage collection below if you choose to
  3480. ;         use subdirectories for session storage
  3481. ;
  3482. ; The file storage module creates files using mode 600 by default.
  3483. ; You can change that by using
  3484. ;
  3485. ;     session.save_path = "N;MODE;/path"
  3486. ;
  3487. ; where MODE is the octal representation of the mode. Note that this
  3488. ; does not overwrite the process's umask.
  3489. ; http://php.net/session.save-path
  3490. session.save_path = "/tmp"
  3491.  
  3492. ; Whether to use cookies.
  3493. ; http://php.net/session.use-cookies
  3494. session.use_cookies = 1
  3495.  
  3496. ; http://php.net/session.cookie-secure
  3497. ;session.cookie_secure =
  3498.  
  3499. ; This option forces PHP to fetch and use a cookie for storing and maintaining
  3500. ; the session id. We encourage this operation as it's very helpful in combating
  3501. ; session hijacking when not specifying and managing your own session id. It is
  3502. ; not the end all be all of session hijacking defense, but it's a good start.
  3503. ; http://php.net/session.use-only-cookies
  3504. session.use_only_cookies = 1
  3505.  
  3506. ; Name of the session (used as cookie name).
  3507. ; http://php.net/session.name
  3508. session.name = PHPSESSID
  3509.  
  3510. ; Initialize session on request startup.
  3511. ; http://php.net/session.auto-start
  3512. session.auto_start = 0
  3513.  
  3514. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  3515. ; http://php.net/session.cookie-lifetime
  3516. session.cookie_lifetime = 0
  3517.  
  3518. ; The path for which the cookie is valid.
  3519. ; http://php.net/session.cookie-path
  3520. session.cookie_path = /
  3521.  
  3522. ; The domain for which the cookie is valid.
  3523. ; http://php.net/session.cookie-domain
  3524. session.cookie_domain =
  3525.  
  3526. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
  3527. ; http://php.net/session.cookie-httponly
  3528. session.cookie_httponly =
  3529.  
  3530. ; Handler used to serialize data.  php is the standard serializer of PHP.
  3531. ; http://php.net/session.serialize-handler
  3532. session.serialize_handler = php
  3533.  
  3534. ; Defines the probability that the 'garbage collection' process is started
  3535. ; on every session initialization. The probability is calculated by using
  3536. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
  3537. ; and gc_divisor is the denominator in the equation. Setting this value to 1
  3538. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
  3539. ; the gc will run on any give request.
  3540. ; Default Value: 1
  3541. ; Development Value: 1
  3542. ; Production Value: 1
  3543. ; http://php.net/session.gc-probability
  3544. session.gc_probability = 1
  3545.  
  3546. ; Defines the probability that the 'garbage collection' process is started on every
  3547. ; session initialization. The probability is calculated by using the following equation:
  3548. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
  3549. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
  3550. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
  3551. ; the gc will run on any give request. Increasing this value to 1000 will give you
  3552. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
  3553. ; this is a more efficient approach.
  3554. ; Default Value: 100
  3555. ; Development Value: 1000
  3556. ; Production Value: 1000
  3557. ; http://php.net/session.gc-divisor
  3558. session.gc_divisor = 1000
  3559.  
  3560. ; After this number of seconds, stored data will be seen as 'garbage' and
  3561. ; cleaned up by the garbage collection process.
  3562. ; http://php.net/session.gc-maxlifetime
  3563. session.gc_maxlifetime = 3600
  3564.  
  3565. ; NOTE: If you are using the subdirectory option for storing session files
  3566. ;       (see session.save_path above), then garbage collection does *not*
  3567. ;       happen automatically.  You will need to do your own garbage
  3568. ;       collection through a shell script, cron entry, or some other method.
  3569. ;       For example, the following script would is the equivalent of
  3570. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  3571. ;          find /path/to/sessions -cmin +24 | xargs rm
  3572.  
  3573. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  3574. ; to initialize a session variable in the global scope, even when register_globals
  3575. ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
  3576. ; You can disable the feature and the warning separately. At this time,
  3577. ; the warning is only displayed, if bug_compat_42 is enabled. This feature
  3578. ; introduces some serious security problems if not handled correctly. It's
  3579. ; recommended that you do not use this feature on production servers. But you
  3580. ; should enable this on development servers and enable the warning as well. If you
  3581. ; do not enable the feature on development servers, you won't be warned when it's
  3582. ; used and debugging errors caused by this can be difficult to track down.
  3583. ; Default Value: On
  3584. ; Development Value: On
  3585. ; Production Value: Off
  3586. ; http://php.net/session.bug-compat-42
  3587. session.bug_compat_42 = On
  3588.  
  3589. ; This setting controls whether or not you are warned by PHP when initializing a
  3590. ; session value into the global space. session.bug_compat_42 must be enabled before
  3591. ; these warnings can be issued by PHP. See the directive above for more information.
  3592. ; Default Value: On
  3593. ; Development Value: On
  3594. ; Production Value: Off
  3595. ; http://php.net/session.bug-compat-warn
  3596. session.bug_compat_warn = On
  3597.  
  3598. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  3599. ; HTTP_REFERER has to contain this substring for the session to be
  3600. ; considered as valid.
  3601. ; http://php.net/session.referer-check
  3602. session.referer_check =
  3603.  
  3604. ; How many bytes to read from the file.
  3605. ; http://php.net/session.entropy-length
  3606. session.entropy_length = 0
  3607.  
  3608. ; Specified here to create the session id.
  3609. ; http://php.net/session.entropy-file
  3610. ; On systems that don't have /dev/urandom /dev/arandom can be used
  3611. ; On windows, setting the entropy_length setting will activate the
  3612. ; Windows random source (using the CryptoAPI)
  3613. ;session.entropy_file = /dev/urandom
  3614.  
  3615. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  3616. ; or leave this empty to avoid sending anti-caching headers.
  3617. ; http://php.net/session.cache-limiter
  3618. session.cache_limiter = nocache
  3619.  
  3620. ; Document expires after n minutes.
  3621. ; http://php.net/session.cache-expire
  3622. session.cache_expire = 180
  3623.  
  3624. ; trans sid support is disabled by default.
  3625. ; Use of trans sid may risk your users security.
  3626. ; Use this option with caution.
  3627. ; - User may send URL contains active session ID
  3628. ;   to other person via. email/irc/etc.
  3629. ; - URL that contains active session ID may be stored
  3630. ;   in publicly accessible computer.
  3631. ; - User may access your site with the same session ID
  3632. ;   always using URL stored in browser's history or bookmarks.
  3633. ; http://php.net/session.use-trans-sid
  3634. session.use_trans_sid = 1
  3635.  
  3636. ; Select a hash function for use in generating session ids.
  3637. ; Possible Values
  3638. ;   0  (MD5 128 bits)
  3639. ;   1  (SHA-1 160 bits)
  3640. ; This option may also be set to the name of any hash function supported by
  3641. ; the hash extension. A list of available hashes is returned by the hash_algos()
  3642. ; function.
  3643. ; http://php.net/session.hash-function
  3644. session.hash_function = 0
  3645.  
  3646. ; Define how many bits are stored in each character when converting
  3647. ; the binary hash data to something readable.
  3648. ; Possible values:
  3649. ;   4  (4 bits: 0-9, a-f)
  3650. ;   5  (5 bits: 0-9, a-v)
  3651. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
  3652. ; Default Value: 4
  3653. ; Development Value: 5
  3654. ; Production Value: 5
  3655. ; http://php.net/session.hash-bits-per-character
  3656. session.hash_bits_per_character = 5
  3657.  
  3658. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  3659. ; form/fieldset are special; if you include them here, the rewriter will
  3660. ; add a hidden <input> field with the info which is otherwise appended
  3661. ; to URLs.  If you want XHTML conformity, remove the form entry.
  3662. ; Note that all valid entries require a "=", even if no value follows.
  3663. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
  3664. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  3665. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  3666. ; http://php.net/url-rewriter.tags
  3667. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  3668. session.save_path=D:\phpProject_cn\core\tmp
  3669.  
  3670. [MSSQL]
  3671. ; Allow or prevent persistent links.
  3672. mssql.allow_persistent = On
  3673.  
  3674. ; Maximum number of persistent links.  -1 means no limit.
  3675. mssql.max_persistent = -1
  3676.  
  3677. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  3678. mssql.max_links = -1
  3679.  
  3680. ; Minimum error severity to display.
  3681. mssql.min_error_severity = 10
  3682.  
  3683. ; Minimum message severity to display.
  3684. mssql.min_message_severity = 10
  3685.  
  3686. ; Compatibility mode with old versions of PHP 3.0.
  3687. mssql.compatability_mode = Off
  3688.  
  3689. ; Connect timeout
  3690. ;mssql.connect_timeout = 5
  3691.  
  3692. ; Query timeout
  3693. ;mssql.timeout = 60
  3694.  
  3695. ; Valid range 0 - 2147483647.  Default = 4096.
  3696. ;mssql.textlimit = 4096
  3697.  
  3698. ; Valid range 0 - 2147483647.  Default = 4096.
  3699. ;mssql.textsize = 4096
  3700.  
  3701. ; Limits the number of records in each batch.  0 = all records in one batch.
  3702. ;mssql.batchsize = 0
  3703.  
  3704. ; Specify how datetime and datetim4 columns are returned
  3705. ; On => Returns data converted to SQL server settings
  3706. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  3707. ;mssql.datetimeconvert = On
  3708.  
  3709. ; Use NT authentication when connecting to the server
  3710. mssql.secure_connection = Off
  3711.  
  3712. ; Specify max number of processes. -1 = library default
  3713. ; msdlib defaults to 25
  3714. ; FreeTDS defaults to 4096
  3715. ;mssql.max_procs = -1
  3716.  
  3717. ; Specify client character set.
  3718. ; If empty or not set the client charset from freetds.conf is used
  3719. ; This is only used when compiled with FreeTDS
  3720. ;mssql.charset = "ISO-8859-1"
  3721.  
  3722. [Assertion]
  3723. ; Assert(expr); active by default.
  3724. ; http://php.net/assert.active
  3725. ;assert.active = On
  3726.  
  3727. ; Issue a PHP warning for each failed assertion.
  3728. ; http://php.net/assert.warning
  3729. ;assert.warning = On
  3730.  
  3731. ; Don't bail out by default.
  3732. ; http://php.net/assert.bail
  3733. ;assert.bail = Off
  3734.  
  3735. ; User-function to be called if an assertion fails.
  3736. ; http://php.net/assert.callback
  3737. ;assert.callback = 0
  3738.  
  3739. ; Eval the expression with current error_reporting().  Set to true if you want
  3740. ; error_reporting(0) around the eval().
  3741. ; http://php.net/assert.quiet-eval
  3742. ;assert.quiet_eval = 0
  3743.  
  3744. [COM]
  3745. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  3746. ; http://php.net/com.typelib-file
  3747. ;com.typelib_file =
  3748.  
  3749. ; allow Distributed-COM calls
  3750. ; http://php.net/com.allow-dcom
  3751. ;com.allow_dcom = true
  3752.  
  3753. ; autoregister constants of a components typlib on com_load()
  3754. ; http://php.net/com.autoregister-typelib
  3755. ;com.autoregister_typelib = true
  3756.  
  3757. ; register constants casesensitive
  3758. ; http://php.net/com.autoregister-casesensitive
  3759. ;com.autoregister_casesensitive = false
  3760.  
  3761. ; show warnings on duplicate constant registrations
  3762. ; http://php.net/com.autoregister-verbose
  3763. ;com.autoregister_verbose = true
  3764.  
  3765. ; The default character set code-page to use when passing strings to and from COM objects.
  3766. ; Default: system ANSI code page
  3767. ;com.code_page=
  3768.  
  3769. [mbstring]
  3770. ; language for internal character representation.
  3771. ; http://php.net/mbstring.language
  3772. ;mbstring.language = Japanese
  3773.  
  3774. ; internal/script encoding.
  3775. ; Some encoding cannot work as internal encoding.
  3776. ; (e.g. SJIS, BIG5, ISO-2022-*)
  3777. ; http://php.net/mbstring.internal-encoding
  3778. ;mbstring.internal_encoding = EUC-JP
  3779.  
  3780. ; http input encoding.
  3781. ; http://php.net/mbstring.http-input
  3782. ;mbstring.http_input = auto
  3783.  
  3784. ; http output encoding. mb_output_handler must be
  3785. ; registered as output buffer to function
  3786. ; http://php.net/mbstring.http-output
  3787. ;mbstring.http_output = SJIS
  3788.  
  3789. ; enable automatic encoding translation according to
  3790. ; mbstring.internal_encoding setting. Input chars are
  3791. ; converted to internal encoding by setting this to On.
  3792. ; Note: Do _not_ use automatic encoding translation for
  3793. ;       portable libs/applications.
  3794. ; http://php.net/mbstring.encoding-translation
  3795. ;mbstring.encoding_translation = Off
  3796.  
  3797. ; automatic encoding detection order.
  3798. ; auto means
  3799. ; http://php.net/mbstring.detect-order
  3800. ;mbstring.detect_order = auto
  3801.  
  3802. ; substitute_character used when character cannot be converted
  3803. ; one from another
  3804. ; http://php.net/mbstring.substitute-character
  3805. ;mbstring.substitute_character = none;
  3806.  
  3807. ; overload(replace) single byte functions by mbstring functions.
  3808. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  3809. ; etc. Possible values are 0,1,2,4 or combination of them.
  3810. ; For example, 7 for overload everything.
  3811. ; 0: No overload
  3812. ; 1: Overload mail() function
  3813. ; 2: Overload str*() functions
  3814. ; 4: Overload ereg*() functions
  3815. ; http://php.net/mbstring.func-overload
  3816. ;mbstring.func_overload = 0
  3817.  
  3818. ; enable strict encoding detection.
  3819. ;mbstring.strict_detection = Off
  3820.  
  3821. ; This directive specifies the regex pattern of content types for which mb_output_handler()
  3822. ; is activated.
  3823. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
  3824. ;mbstring.http_output_conv_mimetype=
  3825.  
  3826. ; Allows to set script encoding. Only affects if PHP is compiled with --enable-zend-multibyte
  3827. ; Default: ""
  3828. ;mbstring.script_encoding=
  3829.  
  3830. [gd]
  3831. ; Tell the jpeg decode to ignore warnings and try to create
  3832. ; a gd image. The warning will then be displayed as notices
  3833. ; disabled by default
  3834. ; http://php.net/gd.jpeg-ignore-warning
  3835. ;gd.jpeg_ignore_warning = 0
  3836.  
  3837. [exif]
  3838. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  3839. ; With mbstring support this will automatically be converted into the encoding
  3840. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  3841. ; is used. For the decode settings you can distinguish between motorola and
  3842. ; intel byte order. A decode setting cannot be empty.
  3843. ; http://php.net/exif.encode-unicode
  3844. ;exif.encode_unicode = ISO-8859-15
  3845.  
  3846. ; http://php.net/exif.decode-unicode-motorola
  3847. ;exif.decode_unicode_motorola = UCS-2BE
  3848.  
  3849. ; http://php.net/exif.decode-unicode-intel
  3850. ;exif.decode_unicode_intel    = UCS-2LE
  3851.  
  3852. ; http://php.net/exif.encode-jis
  3853. ;exif.encode_jis =
  3854.  
  3855. ; http://php.net/exif.decode-jis-motorola
  3856. ;exif.decode_jis_motorola = JIS
  3857.  
  3858. ; http://php.net/exif.decode-jis-intel
  3859. ;exif.decode_jis_intel    = JIS
  3860.  
  3861. [Tidy]
  3862. ; The path to a default tidy configuration file to use when using tidy
  3863. ; http://php.net/tidy.default-config
  3864. ;tidy.default_config = /usr/local/lib/php/default.tcfg
  3865.  
  3866. ; Should tidy clean and repair output automatically?
  3867. ; WARNING: Do not use this option if you are generating non-html content
  3868. ; such as dynamic images
  3869. ; http://php.net/tidy.clean-output
  3870. tidy.clean_output = Off
  3871.  
  3872. [soap]
  3873. ; Enables or disables WSDL caching feature.
  3874. ; http://php.net/soap.wsdl-cache-enabled
  3875. soap.wsdl_cache_enabled=1
  3876.  
  3877. ; Sets the directory name where SOAP extension will put cache files.
  3878. ; http://php.net/soap.wsdl-cache-dir
  3879. soap.wsdl_cache_dir="/tmp"
  3880.  
  3881. ; (time to live) Sets the number of second while cached file will be used
  3882. ; instead of original one.
  3883. ; http://php.net/soap.wsdl-cache-ttl
  3884. soap.wsdl_cache_ttl=86400
  3885.  
  3886. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
  3887. soap.wsdl_cache_limit = 5
  3888.  
  3889. [sysvshm]
  3890. ; A default size of the shared memory segment
  3891. ;sysvshm.init_mem = 10000
  3892.  
  3893. [ldap]
  3894. ; Sets the maximum number of open links or -1 for unlimited.
  3895. ldap.max_links = -1
  3896.  
  3897. [mcrypt]
  3898. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
  3899.  
  3900. ; Directory where to load mcrypt algorithms
  3901. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
  3902. ;mcrypt.algorithms_dir=
  3903.  
  3904. ; Directory where to load mcrypt modes
  3905. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
  3906. ;mcrypt.modes_dir=
  3907.  
  3908. [dba]
  3909. ;dba.default_handler=
  3910.  
  3911. [xsl]
  3912. ; Write operations from within XSLT are disabled by default.
  3913. ; XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK | XSL_SECPREF_WRITE_FILE = 44
  3914. ; Set it to 0 to allow all operations
  3915. ;xsl.security_prefs = 44
  3916.  
  3917. ; Local Variables:
  3918. ; tab-width: 4
  3919. ; End:
  3920.  
  3921.  
  3922. [opcache]
  3923. opcache.memory_consumption=128
  3924. opcache.interned_strings_buffer=8
  3925. opcache.max_accelerated_files=4000
  3926. opcache.revalidate_freq=60
  3927. opcache.fast_shutdown=1
  3928. opcache.enable_cli=1
  3929. zend_extension="D:\phpProject_cn\core\PHP\ext\opcache.dll"
  3930.  
  3931. [xcache-common]
  3932. extension="D:\phpProject_cn\core\PHP\ext\xcache.dll"
  3933.  
  3934. [xcache.admin]
  3935. xcache.admin.enable_auth = On
  3936. xcache.admin.user = "mOo"
  3937. ; xcache.admin.pass = md5($您的密码)
  3938. ; 登录使用 $your_password
  3939. xcache.admin.pass = ""
  3940.  
  3941. [xcache]
  3942. xcache.shm_scheme =        "mmap"
  3943. xcache.size  =               120M
  3944. xcache.count =                 1
  3945. xcache.slots =                8K
  3946. xcache.ttl   =                 0
  3947. xcache.gc_interval =           0
  3948. xcache.var_size  =            4M
  3949. xcache.var_count =             1
  3950. xcache.var_slots =            8K
  3951. xcache.var_ttl   =             0
  3952. xcache.var_maxttl   =          0
  3953. xcache.var_gc_interval =     300
  3954. xcache.readonly_protection = Off
  3955. xcache.mmap_path ="XCachephp53"
  3956. xcache.coredump_directory =   ""
  3957. xcache.coredump_type =         0
  3958. xcache.disable_on_crash =    Off
  3959. xcache.experimental =        Off
  3960. xcache.cacher =               On
  3961. xcache.stat   =               On
  3962. xcache.optimizer =           Off
  3963.  
  3964. [xcache.coverager]
  3965. xcache.coverager =           Off
  3966. xcache.coverager_autostart =  On
  3967. xcache.coveragedump_directory = ""
  3968.  
  3969. [apc]
  3970. ;extension=php_apc.dll
  3971. apc.enabled=1
  3972. apc.shm_size=128M
  3973. apc.ttl=7200
  3974. apc.user_ttl=7200
  3975. apc.enable_cli=1
  3976.  
  3977. [eaccelerator]
  3978. ;extension="D:\phpProject_cn\core\PHP\ext\eAccelerator.dll"
  3979. eaccelerator.shm_size="16"
  3980. eaccelerator.cache_dir="..\php535\temp"
  3981. eaccelerator.enable="1"
  3982. eaccelerator.optimizer="1"
  3983. eaccelerator.check_mtime="1"
  3984. eaccelerator.debug="0"
  3985. eaccelerator.log_file = "D:\phpProject_cn\core\tmp\eAccelerator"
  3986. eaccelerator.filter=""
  3987. eaccelerator.shm_max="0"
  3988. eaccelerator.shm_ttl="0"
  3989. eaccelerator.shm_prune_period="0"
  3990. eaccelerator.shm_only="0"
  3991. eaccelerator.compress="1"
  3992. eaccelerator.compress_level="9"
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