Advertisement
zapcode

php.ini for wordpress

Mar 27th, 2017
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.13 KB | None | 0 0
  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://www.php.net/manual/en/configuration.file.php
  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://www.php.net/manual/en/ini.sections.php
  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. ; This 2 files are provided, by RPM, in /usr/share/doc/php-common-*/
  87. ; File used by RPM (the /etc/php.ini) is mainly the php.ini-production
  88.  
  89. ;;;;;;;;;;;;;;;;;;;
  90. ; Quick Reference ;
  91. ;;;;;;;;;;;;;;;;;;;
  92. ; The following are all the settings which are different in either the production
  93. ; or development versions of the INIs with respect to PHP's default behavior.
  94. ; Please see the actual settings later in the document for more details as to why
  95. ; we recommend these changes in PHP's behavior.
  96.  
  97. ; allow_call_time_pass_reference
  98. ; Default Value: On
  99. ; Development Value: Off
  100. ; Production Value: Off
  101.  
  102. ; display_errors
  103. ; Default Value: On
  104. ; Development Value: On
  105. ; Production Value: Off
  106.  
  107. ; display_startup_errors
  108. ; Default Value: Off
  109. ; Development Value: On
  110. ; Production Value: Off
  111.  
  112. ; error_reporting
  113. ; Default Value: E_ALL & ~E_NOTICE
  114. ; Development Value: E_ALL | E_STRICT
  115. ; Production Value: E_ALL & ~E_DEPRECATED
  116.  
  117. ; html_errors
  118. ; Default Value: On
  119. ; Development Value: On
  120. ; Production value: Off
  121.  
  122. ; log_errors
  123. ; Default Value: Off
  124. ; Development Value: On
  125. ; Production Value: On
  126.  
  127. ; magic_quotes_gpc
  128. ; Default Value: On
  129. ; Development Value: Off
  130. ; Production Value: Off
  131.  
  132. ; max_input_time
  133. ; Default Value: -1 (Unlimited)
  134. ; Development Value: 60 (60 seconds)
  135. ; Production Value: 60 (60 seconds)
  136.  
  137. ; output_buffering
  138. ; Default Value: Off
  139. ; Development Value: 4096
  140. ; Production Value: 4096
  141.  
  142. ; register_argc_argv
  143. ; Default Value: On
  144. ; Development Value: Off
  145. ; Production Value: Off
  146.  
  147. ; register_long_arrays
  148. ; Default Value: On
  149. ; Development Value: Off
  150. ; Production Value: Off
  151.  
  152. ; request_order
  153. ; Default Value: None
  154. ; Development Value: "GP"
  155. ; Production Value: "GP"
  156.  
  157. ; session.bug_compat_42
  158. ; Default Value: On
  159. ; Development Value: On
  160. ; Production Value: Off
  161.  
  162. ; session.bug_compat_warn
  163. ; Default Value: On
  164. ; Development Value: On
  165. ; Production Value: Off
  166.  
  167. ; session.gc_divisor
  168. ; Default Value: 100
  169. ; Development Value: 1000
  170. ; Production Value: 1000
  171.  
  172. ; session.hash_bits_per_character
  173. ; Default Value: 4
  174. ; Development Value: 5
  175. ; Production Value: 5
  176.  
  177. ; short_open_tag
  178. ; Default Value: On
  179. ; Development Value: Off
  180. ; Production Value: Off
  181.  
  182. ; track_errors
  183. ; Default Value: Off
  184. ; Development Value: On
  185. ; Production Value: Off
  186.  
  187. ; url_rewriter.tags
  188. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
  189. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  190. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  191.  
  192. ; variables_order
  193. ; Default Value: "EGPCS"
  194. ; Development Value: "GPCS"
  195. ; Production Value: "GPCS"
  196.  
  197. ;;;;;;;;;;;;;;;;;;;;
  198. ; php.ini Options ;
  199. ;;;;;;;;;;;;;;;;;;;;
  200. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
  201. ;user_ini.filename = ".user.ini"
  202.  
  203. ; To disable this feature set this option to empty value
  204. ;user_ini.filename =
  205.  
  206. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
  207. ;user_ini.cache_ttl = 300
  208.  
  209. ;;;;;;;;;;;;;;;;;;;;
  210. ; Language Options ;
  211. ;;;;;;;;;;;;;;;;;;;;
  212.  
  213.  
  214.  
  215. ; Enable the PHP scripting language engine under Apache.
  216. ; http://www.php.net/manual/en/apache.configuration.php#ini.engine
  217. engine = On
  218.  
  219. ; This directive determines whether or not PHP will recognize code between
  220. ; <? and ?> tags as PHP source which should be processed as such. It's been
  221. ; recommended for several years that you not use the short tag "short cut" and
  222. ; instead to use the full <?php and ?> tag combination. With the wide spread use
  223. ; of XML and use of these tags by other languages, the server can become easily
  224. ; confused and end up parsing the wrong code in the wrong context. But because
  225. ; this short cut has been a feature for such a long time, it's currently still
  226. ; supported for backwards compatibility, but we recommend you don't use them.
  227. ; Default Value: On
  228. ; Development Value: Off
  229. ; Production Value: Off
  230. ; http://www.php.net/manual/en/ini.core.php#ini.short-open-tag
  231. short_open_tag = Off
  232.  
  233. ; Allow ASP-style <% %> tags.
  234. ; http://www.php.net/manual/en/ini.core.php#ini.asp-tags
  235. asp_tags = Off
  236.  
  237. ; The number of significant digits displayed in floating point numbers.
  238. ; http://www.php.net/manual/en/ini.core.php#ini.precision
  239. precision = 14
  240.  
  241. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  242. ; http://www.php.net/manual/en/ini.core.php#ini.y2k-compliance
  243. y2k_compliance = On
  244.  
  245. ; Output buffering is a mechanism for controlling how much output data
  246. ; (excluding headers and cookies) PHP should keep internally before pushing that
  247. ; data to the client. If your application's output exceeds this setting, PHP
  248. ; will send that data in chunks of roughly the size you specify.
  249. ; Turning on this setting and managing its maximum buffer size can yield some
  250. ; interesting side-effects depending on your application and web server.
  251. ; You may be able to send headers and cookies after you've already sent output
  252. ; through print or echo. You also may see performance benefits if your server is
  253. ; emitting less packets due to buffered output versus PHP streaming the output
  254. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
  255. ; reasons.
  256. ; Note: Output buffering can also be controlled via Output Buffering Control
  257. ; functions.
  258. ; Possible Values:
  259. ; On = Enabled and buffer is unlimited. (Use with caution)
  260. ; Off = Disabled
  261. ; Integer = Enables the buffer and sets its maximum size in bytes.
  262. ; Default Value: Off
  263. ; Development Value: 4096
  264. ; Production Value: 4096
  265. ; http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-buffering
  266. output_buffering = 4096
  267.  
  268. ; You can redirect all of the output of your scripts to a function. For
  269. ; example, if you set output_handler to "mb_output_handler", character
  270. ; encoding will be transparently converted to the specified encoding.
  271. ; Setting any output handler automatically turns on output buffering.
  272. ; Note: People who wrote portable scripts should not depend on this ini
  273. ; directive. Instead, explicitly set the output handler using ob_start().
  274. ; Using this ini directive may cause problems unless you know what script
  275. ; is doing.
  276. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  277. ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
  278. ; Note: output_handler must be empty if this is set 'On' !!!!
  279. ; Instead you must use zlib.output_handler.
  280. ; http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-handler
  281. ;output_handler =
  282.  
  283. ; Transparent output compression using the zlib library
  284. ; Valid values for this option are 'off', 'on', or a specific buffer size
  285. ; to be used for compression (default is 4KB)
  286. ; Note: Resulting chunk size may vary due to nature of compression. PHP
  287. ; outputs chunks that are few hundreds bytes each as a result of
  288. ; compression. If you prefer a larger chunk size for better
  289. ; performance, enable output_buffering in addition.
  290. ; Note: You need to use zlib.output_handler instead of the standard
  291. ; output_handler, or otherwise the output will be corrupted.
  292. ; http://www.php.net/manual/en/zlib.configuration.php#ini.zlib.output-compression
  293. zlib.output_compression = Off
  294.  
  295. ; http://www.php.net/manual/en/zlib.configuration.php#ini.zlib.output-compression-level
  296. ;zlib.output_compression_level = -1
  297.  
  298. ; You cannot specify additional output handlers if zlib.output_compression
  299. ; is activated here. This setting does the same as output_handler but in
  300. ; a different order.
  301. ; http://www.php.net/manual/en/zlib.configuration.php#ini.zlib.output-handler
  302. ;zlib.output_handler =
  303.  
  304. ; Implicit flush tells PHP to tell the output layer to flush itself
  305. ; automatically after every output block. This is equivalent to calling the
  306. ; PHP function flush() after each and every call to print() or echo() and each
  307. ; and every HTML block. Turning this option on has serious performance
  308. ; implications and is generally recommended for debugging purposes only.
  309. ; http://www.php.net/manual/en/outcontrol.configuration.php#ini.implicit-flush
  310. implicit_flush = Off
  311.  
  312. ; The unserialize callback function will be called (with the undefined class'
  313. ; name as parameter), if the unserializer finds an undefined class
  314. ; which should be instantiated. A warning appears if the specified function is
  315. ; not defined, or if the function doesn't include/implement the missing class.
  316. ; So only set this entry, if you really want to implement such a
  317. ; callback-function.
  318. unserialize_callback_func =
  319.  
  320. ; When floats & doubles are serialized store serialize_precision significant
  321. ; digits after the floating point. The default value ensures that when floats
  322. ; are decoded with unserialize, the data will remain the same.
  323. serialize_precision = 100
  324.  
  325. ; This directive allows you to enable and disable warnings which PHP will issue
  326. ; if you pass a value by reference at function call time. Passing values by
  327. ; reference at function call time is a deprecated feature which will be removed
  328. ; from PHP at some point in the near future. The acceptable method for passing a
  329. ; value by reference to a function is by declaring the reference in the functions
  330. ; definition, not at call time. This directive does not disable this feature, it
  331. ; only determines whether PHP will warn you about it or not. These warnings
  332. ; should enabled in development environments only.
  333. ; Default Value: On (Suppress warnings)
  334. ; Development Value: Off (Issue warnings)
  335. ; Production Value: Off (Issue warnings)
  336. ; http://www.php.net/manual/en/ini.core.php#ini.allow-call-time-pass-reference
  337. allow_call_time_pass_reference = Off
  338.  
  339. ; Safe Mode
  340. ; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.safe-mode
  341. safe_mode = Off
  342.  
  343. ; By default, Safe Mode does a UID compare check when
  344. ; opening files. If you want to relax this to a GID compare,
  345. ; then turn on safe_mode_gid.
  346. ; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.safe-mode-gid
  347. safe_mode_gid = Off
  348.  
  349. ; When safe_mode is on, UID/GID checks are bypassed when
  350. ; including files from this directory and its subdirectories.
  351. ; (directory must also be in include_path or full path must
  352. ; be used when including)
  353. ; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.safe-mode-include-dir
  354. safe_mode_include_dir =
  355.  
  356. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  357. ; will be allowed to be executed via the exec family of functions.
  358. ; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.safe-mode-exec-dir
  359. safe_mode_exec_dir =
  360.  
  361. ; Setting certain environment variables may be a potential security breach.
  362. ; This directive contains a comma-delimited list of prefixes. In Safe Mode,
  363. ; the user may only alter environment variables whose names begin with the
  364. ; prefixes supplied here. By default, users will only be able to set
  365. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  366. ; Note: If this directive is empty, PHP will let the user modify ANY
  367. ; environment variable!
  368. ; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.safe-mode-allowed-env-vars
  369. safe_mode_allowed_env_vars = PHP_
  370.  
  371. ; This directive contains a comma-delimited list of environment variables that
  372. ; the end user won't be able to change using putenv(). These variables will be
  373. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  374. ; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.safe-mode-protected-env-vars
  375. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  376.  
  377. ; open_basedir, if set, limits all file operations to the defined directory
  378. ; and below. This directive makes most sense if used in a per-directory
  379. ; or per-virtualhost web server configuration file. This directive is
  380. ; *NOT* affected by whether Safe Mode is turned On or Off.
  381. ; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.open-basedir
  382. ;open_basedir =
  383.  
  384. ; This directive allows you to disable certain functions for security reasons.
  385. ; It receives a comma-delimited list of function names. This directive is
  386. ; *NOT* affected by whether Safe Mode is turned On or Off.
  387. ; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.disable-functions
  388. disable_functions =
  389.  
  390. ; This directive allows you to disable certain classes for security reasons.
  391. ; It receives a comma-delimited list of class names. This directive is
  392. ; *NOT* affected by whether Safe Mode is turned On or Off.
  393. ; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.disable-classes
  394. disable_classes =
  395.  
  396. ; Colors for Syntax Highlighting mode. Anything that's acceptable in
  397. ; <span style="color: ???????"> would work.
  398. ; http://www.php.net/manual/en/misc.configuration.php#ini.syntax-highlighting
  399. ;highlight.string = #DD0000
  400. ;highlight.comment = #FF9900
  401. ;highlight.keyword = #007700
  402. ;highlight.bg = #FFFFFF
  403. ;highlight.default = #0000BB
  404. ;highlight.html = #000000
  405.  
  406. ; If enabled, the request will be allowed to complete even if the user aborts
  407. ; the request. Consider enabling it if executing long requests, which may end up
  408. ; being interrupted by the user or a browser timing out. PHP's default behavior
  409. ; is to disable this feature.
  410. ; http://www.php.net/manual/en/misc.configuration.php#ini.ignore-user-abort
  411. ;ignore_user_abort = On
  412.  
  413. ; Determines the size of the realpath cache to be used by PHP. This value should
  414. ; be increased on systems where PHP opens many files to reflect the quantity of
  415. ; the file operations performed.
  416. ; http://www.php.net/manual/en/ini.core.php#ini.realpath-cache-size
  417. ;realpath_cache_size = 16k
  418.  
  419. ; Duration of time, in seconds for which to cache realpath information for a given
  420. ; file or directory. For systems with rarely changing files, consider increasing this
  421. ; value.
  422. ; http://www.php.net/manual/en/ini.core.php#ini.realpath-cache-ttl
  423. ;realpath_cache_ttl = 120
  424.  
  425. ;;;;;;;;;;;;;;;;;
  426. ; Miscellaneous ;
  427. ;;;;;;;;;;;;;;;;;
  428.  
  429. ; Decides whether PHP may expose the fact that it is installed on the server
  430. ; (e.g. by adding its signature to the Web server header). It is no security
  431. ; threat in any way, but it makes it possible to determine whether you use PHP
  432. ; on your server or not.
  433. ; http://www.php.net/manual/en/ini.core.php#ini.expose-php
  434. expose_php = On
  435.  
  436. ;;;;;;;;;;;;;;;;;;;
  437. ; Resource Limits ;
  438. ;;;;;;;;;;;;;;;;;;;
  439.  
  440. ; Maximum execution time of each script, in seconds
  441. ; http://www.php.net/manual/en/info.configuration.php#ini.max-execution-time
  442. max_execution_time = 8000
  443.  
  444. ; Maximum amount of time each script may spend parsing request data. It's a good
  445. ; idea to limit this time on productions servers in order to eliminate unexpectedly
  446. ; long running scripts.
  447. ; Default Value: -1 (Unlimited)
  448. ; Development Value: 60 (60 seconds)
  449. ; Production Value: 60 (60 seconds)
  450. ; http://www.php.net/manual/en/info.configuration.php#ini.max-input-time
  451. max_input_time = 4000
  452.  
  453. ; Maximum input variable nesting level
  454. ; http://www.php.net/manual/en/info.configuration.php#ini.max-input-nesting-level
  455. ;max_input_nesting_level = 64
  456.  
  457. ; Maximum amount of memory a script may consume (128MB)
  458. ; http://www.php.net/manual/en/ini.core.php#ini.memory-limit
  459. memory_limit = 256M
  460.  
  461. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  462. ; Error handling and logging ;
  463. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  464.  
  465. ; This directive informs PHP of which errors, warnings and notices you would like
  466. ; it to take action for. The recommended way of setting values for this
  467. ; directive is through the use of the error level constants and bitwise
  468. ; operators. The error level constants are below here for convenience as well as
  469. ; some common settings and their meanings.
  470. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
  471. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
  472. ; recommended coding standards in PHP. For performance reasons, this is the
  473. ; recommend error reporting setting. Your production server shouldn't be wasting
  474. ; resources complaining about best practices and coding standards. That's what
  475. ; development servers and development settings are for.
  476. ; Note: The php.ini-development file has this setting as E_ALL | E_STRICT. This
  477. ; means it pretty much reports everything which is exactly what you want during
  478. ; development and early testing.
  479. ;
  480. ; Error Level Constants:
  481. ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
  482. ; E_ERROR - fatal run-time errors
  483. ; E_RECOVERABLE_ERROR - almost fatal run-time errors
  484. ; E_WARNING - run-time warnings (non-fatal errors)
  485. ; E_PARSE - compile-time parse errors
  486. ; E_NOTICE - run-time notices (these are warnings which often result
  487. ; from a bug in your code, but it's possible that it was
  488. ; intentional (e.g., using an uninitialized variable and
  489. ; relying on the fact it's automatically initialized to an
  490. ; empty string)
  491. ; E_STRICT - run-time notices, enable to have PHP suggest changes
  492. ; to your code which will ensure the best interoperability
  493. ; and forward compatibility of your code
  494. ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
  495. ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
  496. ; initial startup
  497. ; E_COMPILE_ERROR - fatal compile-time errors
  498. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  499. ; E_USER_ERROR - user-generated error message
  500. ; E_USER_WARNING - user-generated warning message
  501. ; E_USER_NOTICE - user-generated notice message
  502. ; E_DEPRECATED - warn about code that will not work in future versions
  503. ; of PHP
  504. ; E_USER_DEPRECATED - user-generated deprecation warnings
  505. ;
  506. ; Common Values:
  507. ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
  508. ; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
  509. ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
  510. ; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
  511. ; Default Value: E_ALL & ~E_NOTICE
  512. ; Development Value: E_ALL | E_STRICT
  513. ; Production Value: E_ALL & ~E_DEPRECATED
  514. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
  515. error_reporting = E_ALL & ~E_DEPRECATED
  516.  
  517. ; This directive controls whether or not and where PHP will output errors,
  518. ; notices and warnings too. Error output is very useful during development, but
  519. ; it could be very dangerous in production environments. Depending on the code
  520. ; which is triggering the error, sensitive information could potentially leak
  521. ; out of your application such as database usernames and passwords or worse.
  522. ; It's recommended that errors be logged on production servers rather than
  523. ; having the errors sent to STDOUT.
  524. ; Possible Values:
  525. ; Off = Do not display any errors
  526. ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
  527. ; On or stdout = Display errors to STDOUT
  528. ; Default Value: On
  529. ; Development Value: On
  530. ; Production Value: Off
  531. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors
  532. display_errors = Off
  533.  
  534. ; The display of errors which occur during PHP's startup sequence are handled
  535. ; separately from display_errors. PHP's default behavior is to suppress those
  536. ; errors from clients. Turning the display of startup errors on can be useful in
  537. ; debugging configuration problems. But, it's strongly recommended that you
  538. ; leave this setting off on production servers.
  539. ; Default Value: Off
  540. ; Development Value: On
  541. ; Production Value: Off
  542. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-startup-errors
  543. display_startup_errors = Off
  544.  
  545. ; Besides displaying errors, PHP can also log errors to locations such as a
  546. ; server-specific log, STDERR, or a location specified by the error_log
  547. ; directive found below. While errors should not be displayed on productions
  548. ; servers they should still be monitored and logging is a great way to do that.
  549. ; Default Value: Off
  550. ; Development Value: On
  551. ; Production Value: On
  552. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.log-errors
  553. log_errors = On
  554.  
  555. ; Set maximum length of log_errors. In error_log information about the source is
  556. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  557. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.log-errors-max-len
  558. log_errors_max_len = 1024
  559.  
  560. ; Do not log repeated messages. Repeated errors must occur in same file on same
  561. ; line unless ignore_repeated_source is set true.
  562. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.ignore-repeated-errors
  563. ignore_repeated_errors = Off
  564.  
  565. ; Ignore source of message when ignoring repeated messages. When this setting
  566. ; is On you will not log errors with repeated messages from different files or
  567. ; source lines.
  568. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.ignore-repeated-source
  569. ignore_repeated_source = Off
  570.  
  571. ; If this parameter is set to Off, then memory leaks will not be shown (on
  572. ; stdout or in the log). This has only effect in a debug compile, and if
  573. ; error reporting includes E_WARNING in the allowed list
  574. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.report-memleaks
  575. report_memleaks = On
  576.  
  577. ; This setting is on by default.
  578. ;report_zend_debug = 0
  579.  
  580. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
  581. ; to On can assist in debugging and is appropriate for development servers. It should
  582. ; however be disabled on production servers.
  583. ; Default Value: Off
  584. ; Development Value: On
  585. ; Production Value: Off
  586. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.track-errors
  587. track_errors = Off
  588.  
  589. ; Turn off normal error reporting and emit XML-RPC error XML
  590. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.xmlrpc-errors
  591. ;xmlrpc_errors = 0
  592.  
  593. ; An XML-RPC faultCode
  594. ;xmlrpc_error_number = 0
  595.  
  596. ; When PHP displays or logs an error, it has the capability of inserting html
  597. ; links to documentation related to that error. This directive controls whether
  598. ; those HTML links appear in error messages or not. For performance and security
  599. ; reasons, it's recommended you disable this on production servers.
  600. ; Default Value: On
  601. ; Development Value: On
  602. ; Production value: Off
  603. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.html-errors
  604. html_errors = Off
  605.  
  606. ; If html_errors is set On PHP produces clickable error messages that direct
  607. ; to a page describing the error or function causing the error in detail.
  608. ; You can download a copy of the PHP manual from http://www.php.net/docs.php
  609. ; and change docref_root to the base URL of your local copy including the
  610. ; leading '/'. You must also specify the file extension being used including
  611. ; the dot. PHP's default behavior is to leave these settings empty.
  612. ; Note: Never use this feature for production boxes.
  613. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.docref-root
  614. ; Examples
  615. ;docref_root = "/phpmanual/"
  616.  
  617. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.docref-ext
  618. ;docref_ext = .html
  619.  
  620. ; String to output before an error message. PHP's default behavior is to leave
  621. ; this setting blank.
  622. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-prepend-string
  623. ; Example:
  624. ;error_prepend_string = "<font color=#ff0000>"
  625.  
  626. ; String to output after an error message. PHP's default behavior is to leave
  627. ; this setting blank.
  628. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-append-string
  629. ; Example:
  630. ;error_append_string = "</font>"
  631.  
  632. ; Log errors to specified file. PHP's default behavior is to leave this value
  633. ; empty.
  634. ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-log
  635. ; Example:
  636. error_log = ../php_errors.log
  637. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  638. ;error_log = syslog
  639.  
  640. ;;;;;;;;;;;;;;;;;
  641. ; Data Handling ;
  642. ;;;;;;;;;;;;;;;;;
  643.  
  644. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  645.  
  646. ; The separator used in PHP generated URLs to separate arguments.
  647. ; PHP's default setting is "&".
  648. ; http://www.php.net/manual/en/ini.core.php#ini.arg-separator.output
  649. ; Example:
  650. ;arg_separator.output = "&amp;"
  651.  
  652. ; List of separator(s) used by PHP to parse input URLs into variables.
  653. ; PHP's default setting is "&".
  654. ; NOTE: Every character in this directive is considered as separator!
  655. ; http://www.php.net/manual/en/ini.core.php#ini.arg-separator.input
  656. ; Example:
  657. ;arg_separator.input = ";&"
  658.  
  659. ; This directive determines which super global arrays are registered when PHP
  660. ; starts up. If the register_globals directive is enabled, it also determines
  661. ; what order variables are populated into the global space. G,P,C,E & S are
  662. ; abbreviations for the following respective super globals: GET, POST, COOKIE,
  663. ; ENV and SERVER. There is a performance penalty paid for the registration of
  664. ; these arrays and because ENV is not as commonly used as the others, ENV is
  665. ; is not recommended on productions servers. You can still get access to
  666. ; the environment variables through getenv() should you need to.
  667. ; Default Value: "EGPCS"
  668. ; Development Value: "GPCS"
  669. ; Production Value: "GPCS";
  670. ; http://www.php.net/manual/en/ini.core.php#ini.variables-order
  671. variables_order = "GPCS"
  672.  
  673. ; This directive determines which super global data (G,P,C,E & S) should
  674. ; be registered into the super global array REQUEST. If so, it also determines
  675. ; the order in which that data is registered. The values for this directive are
  676. ; specified in the same manner as the variables_order directive, EXCEPT one.
  677. ; Leaving this value empty will cause PHP to use the value set in the
  678. ; variables_order directive. It does not mean it will leave the super globals
  679. ; array REQUEST empty.
  680. ; Default Value: None
  681. ; Development Value: "GP"
  682. ; Production Value: "GP"
  683. ; http://www.php.net/manual/en/ini.core.php#ini.request-order
  684. request_order = "GP"
  685.  
  686. ; Whether or not to register the EGPCS variables as global variables. You may
  687. ; want to turn this off if you don't want to clutter your scripts' global scope
  688. ; with user data. This makes most sense when coupled with track_vars - in which
  689. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  690. ; variables.
  691. ; You should do your best to write your scripts so that they do not require
  692. ; register_globals to be on; Using form variables as globals can easily lead
  693. ; to possible security problems, if the code is not very well thought of.
  694. ; http://www.php.net/manual/en/ini.core.php#ini.register-globals
  695. register_globals = Off
  696.  
  697. ; Determines whether the deprecated long $HTTP_*_VARS type predefined variables
  698. ; are registered by PHP or not. As they are deprecated, we obviously don't
  699. ; recommend you use them. They are on by default for compatibility reasons but
  700. ; they are not recommended on production servers.
  701. ; Default Value: On
  702. ; Development Value: Off
  703. ; Production Value: Off
  704. ; http://www.php.net/manual/en/ini.core.php#ini.register-long-arrays
  705. register_long_arrays = Off
  706.  
  707. ; This directive determines whether PHP registers $argv & $argc each time it
  708. ; runs. $argv contains an array of all the arguments passed to PHP when a script
  709. ; is invoked. $argc contains an integer representing the number of arguments
  710. ; that were passed when the script was invoked. These arrays are extremely
  711. ; useful when running scripts from the command line. When this directive is
  712. ; enabled, registering these variables consumes CPU cycles and memory each time
  713. ; a script is executed. For performance reasons, this feature should be disabled
  714. ; on production servers.
  715. ; Default Value: On
  716. ; Development Value: Off
  717. ; Production Value: Off
  718. ; http://www.php.net/manual/en/ini.core.php#ini.register-argc-argv
  719. register_argc_argv = Off
  720.  
  721. ; When enabled, the SERVER and ENV variables are created when they're first
  722. ; used (Just In Time) instead of when the script starts. If these variables
  723. ; are not used within a script, having this directive on will result in a
  724. ; performance gain. The PHP directives register_globals, register_long_arrays,
  725. ; and register_argc_argv must be disabled for this directive to have any affect.
  726. ; http://www.php.net/manual/en/ini.core.php#ini.auto-globals-jit
  727. auto_globals_jit = On
  728.  
  729. ; Maximum size of POST data that PHP will accept.
  730. ; http://www.php.net/manual/en/ini.core.php#ini.post-max-size
  731. post_max_size = 80M
  732.  
  733. ; Magic quotes are a preprocessing feature of PHP where PHP will attempt to
  734. ; escape any character sequences in GET, POST, COOKIE and ENV data which might
  735. ; otherwise corrupt data being placed in resources such as databases before
  736. ; making that data available to you. Because of character encoding issues and
  737. ; non-standard SQL implementations across many databases, it's not currently
  738. ; possible for this feature to be 100% accurate. PHP's default behavior is to
  739. ; enable the feature. We strongly recommend you use the escaping mechanisms
  740. ; designed specifically for the database your using instead of relying on this
  741. ; feature. Also note, this feature has been deprecated as of PHP 5.3.0 and is
  742. ; scheduled for removal in PHP 6.
  743. ; Default Value: On
  744. ; Development Value: Off
  745. ; Production Value: Off
  746. ; http://www.php.net/manual/en/info.configuration.php#ini.magic-quotes-gpc
  747. magic_quotes_gpc = Off
  748.  
  749. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  750. ; http://www.php.net/manual/en/info.configuration.php#ini.magic-quotes-runtime
  751. magic_quotes_runtime = Off
  752.  
  753. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  754. ; http://www.php.net/manual/en/sybase.configuration.php#ini.magic-quotes-sybase
  755. magic_quotes_sybase = Off
  756.  
  757. ; Automatically add files before PHP document.
  758. ; http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file
  759. auto_prepend_file =
  760.  
  761. ; Automatically add files after PHP document.
  762. ; http://www.php.net/manual/en/ini.core.php#ini.auto-append-file
  763. auto_append_file =
  764.  
  765. ; As of 4.0b4, PHP always outputs a character encoding by default in
  766. ; the Content-type: header. To disable sending of the charset, simply
  767. ; set it to be empty.
  768. ;
  769. ; PHP's built-in default is text/html
  770. ; http://www.php.net/manual/en/ini.core.php#ini.default-mimetype
  771. default_mimetype = "text/html"
  772.  
  773. ; PHP's default character set is set to empty.
  774. ; http://www.php.net/manual/en/ini.core.php#ini.default-charset
  775. ;default_charset = "iso-8859-1"
  776.  
  777. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
  778. ; to disable this feature.
  779. ; http://www.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data
  780. ;always_populate_raw_post_data = On
  781.  
  782. ;;;;;;;;;;;;;;;;;;;;;;;;;
  783. ; Paths and Directories ;
  784. ;;;;;;;;;;;;;;;;;;;;;;;;;
  785.  
  786. ; UNIX: "/path1:/path2"
  787. ;include_path = ".:/php/includes"
  788. ;
  789. ; Windows: "\path1;\path2"
  790. ;include_path = ".;c:\php\includes"
  791. ;
  792. ; PHP's default setting for include_path is ".;/path/to/php/pear"
  793. ; http://www.php.net/manual/en/ini.core.php#ini.include-path
  794.  
  795. ; The root of the PHP pages, used only if nonempty.
  796. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  797. ; if you are running php as a CGI under any web server (other than IIS)
  798. ; see documentation for security issues. The alternate is to use the
  799. ; cgi.force_redirect configuration below
  800. ; http://www.php.net/manual/en/ini.core.php#ini.doc-root
  801. doc_root =
  802.  
  803. ; The directory under which PHP opens the script using /~username used only
  804. ; if nonempty.
  805. ; http://www.php.net/manual/en/ini.core.php#ini.user-dir
  806. user_dir =
  807.  
  808. ; Directory in which the loadable extensions (modules) reside.
  809. ; http://www.php.net/manual/en/ini.core.php#ini.extension-dir
  810. ; extension_dir = "./"
  811.  
  812. ; Whether or not to enable the dl() function. The dl() function does NOT work
  813. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  814. ; disabled on them.
  815. ; http://www.php.net/manual/en/info.configuration.php#ini.enable-dl
  816. enable_dl = Off
  817.  
  818. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  819. ; most web servers. Left undefined, PHP turns this on by default. You can
  820. ; turn it off here AT YOUR OWN RISK
  821. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  822. ; http://www.php.net/manual/en/ini.core.php#ini.cgi.force-redirect
  823. ;cgi.force_redirect = 1
  824.  
  825. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  826. ; every request. PHP's default behavior is to disable this feature.
  827. ;cgi.nph = 1
  828.  
  829. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  830. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  831. ; will look for to know it is OK to continue execution. Setting this variable MAY
  832. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  833. ; http://www.php.net/manual/en/ini.core.php#ini.cgi.redirect-status-env
  834. ;cgi.redirect_status_env = ;
  835.  
  836. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
  837. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  838. ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
  839. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
  840. ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
  841. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  842. ; http://www.php.net/manual/en/ini.core.php#ini.cgi.fix-pathinfo
  843. ;cgi.fix_pathinfo=1
  844.  
  845. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  846. ; security tokens of the calling client. This allows IIS to define the
  847. ; security context that the request runs under. mod_fastcgi under Apache
  848. ; does not currently support this feature (03/17/2002)
  849. ; Set to 1 if running under IIS. Default is zero.
  850. ; http://www.php.net/manual/en/ini.core.php#ini.fastcgi.impersonate
  851. ;fastcgi.impersonate = 1;
  852.  
  853. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
  854. ; this feature.
  855. ;fastcgi.logging = 0
  856.  
  857. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  858. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  859. ; is supported by Apache. When this option is set to 1 PHP will send
  860. ; RFC2616 compliant header.
  861. ; Default is zero.
  862. ; http://www.php.net/manual/en/ini.core.php#ini.cgi.rfc2616-headers
  863. ;cgi.rfc2616_headers = 0
  864.  
  865. ;;;;;;;;;;;;;;;;
  866. ; File Uploads ;
  867. ;;;;;;;;;;;;;;;;
  868.  
  869. ; Whether to allow HTTP file uploads.
  870. ; http://www.php.net/manual/en/ini.core.php#ini.file-uploads
  871. file_uploads = On
  872.  
  873. ; Temporary directory for HTTP uploaded files (will use system default if not
  874. ; specified).
  875. ; http://www.php.net/manual/en/ini.core.php#ini.upload-tmp-dir
  876. ;upload_tmp_dir =
  877.  
  878. ; Maximum allowed size for uploaded files.
  879. ; http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize
  880. upload_max_filesize = 60M
  881.  
  882. ;;;;;;;;;;;;;;;;;;
  883. ; Fopen wrappers ;
  884. ;;;;;;;;;;;;;;;;;;
  885.  
  886. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  887. ; http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen
  888. allow_url_fopen = On
  889.  
  890. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
  891. ; http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-include
  892. allow_url_include = Off
  893.  
  894. ; Define the anonymous ftp password (your email address). PHP's default setting
  895. ; for this is empty.
  896. ; http://www.php.net/manual/en/filesystem.configuration.php#ini.from
  897. ;from="john@doe.com"
  898.  
  899. ; Define the User-Agent string. PHP's default setting for this is empty.
  900. ; http://www.php.net/manual/en/filesystem.configuration.php#ini.user-agent
  901. ;user_agent="PHP"
  902.  
  903. ; Default timeout for socket based streams (seconds)
  904. ; http://www.php.net/manual/en/filesystem.configuration.php#ini.default-socket-timeout
  905. default_socket_timeout = 60
  906.  
  907. ; If your scripts have to deal with files from Macintosh systems,
  908. ; or you are running on a Mac and need to deal with files from
  909. ; unix or win32 systems, setting this flag will cause PHP to
  910. ; automatically detect the EOL character in those files so that
  911. ; fgets() and file() will work regardless of the source of the file.
  912. ; http://www.php.net/manual/en/filesystem.configuration.php#ini.auto-detect-line-endings
  913. ;auto_detect_line_endings = Off
  914.  
  915. ;;;;;;;;;;;;;;;;;;;;;;
  916. ; Dynamic Extensions ;
  917. ;;;;;;;;;;;;;;;;;;;;;;
  918.  
  919. ; If you wish to have an extension loaded automatically, use the following
  920. ; syntax:
  921. ;
  922. ; extension=modulename.extension
  923. ;
  924. ; For example
  925. ;
  926. ; extension=msql.so
  927. ;
  928. ; ... or with a path:
  929. ;
  930. ; extension=/path/to/extension/msql.so
  931. ;
  932. ; If you only provide the name of the extension, PHP will look for it in its
  933. ; default extension directory.
  934.  
  935. ;;;;
  936. ; Note: packaged extension modules are now loaded via the .ini files
  937. ; found in the directory /etc/php.d; these are loaded by default.
  938. ;;;;
  939.  
  940.  
  941. ;;;;;;;;;;;;;;;;;;;
  942. ; Module Settings ;
  943. ;;;;;;;;;;;;;;;;;;;
  944.  
  945. [Date]
  946. ; Defines the default timezone used by the date functions
  947. ; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
  948. ;date.timezone =
  949.  
  950. ; http://www.php.net/manual/en/datetime.configuration.php#ini.date.default-latitude
  951. ;date.default_latitude = 31.7667
  952.  
  953. ; http://www.php.net/manual/en/datetime.configuration.php#ini.date.default-longitude
  954. ;date.default_longitude = 35.2333
  955.  
  956. ; http://www.php.net/manual/en/datetime.configuration.php#ini.date.sunrise-zenith
  957. ;date.sunrise_zenith = 90.583333
  958.  
  959. ; http://www.php.net/manual/en/datetime.configuration.php#ini.date.sunset-zenith
  960. ;date.sunset_zenith = 90.583333
  961.  
  962. [filter]
  963. ; http://www.php.net/manual/en/filter.configuration.php#ini.filter.default
  964. ;filter.default = unsafe_raw
  965.  
  966. ; http://www.php.net/manual/en/filter.configuration.php#ini.filter.default-flags
  967. ;filter.default_flags =
  968.  
  969. [iconv]
  970. ;iconv.input_encoding = ISO-8859-1
  971. ;iconv.internal_encoding = ISO-8859-1
  972. ;iconv.output_encoding = ISO-8859-1
  973.  
  974. [intl]
  975. ;intl.default_locale =
  976.  
  977. [sqlite]
  978. ; http://www.php.net/manual/en/sqlite.configuration.php#ini.sqlite.assoc-case
  979. ;sqlite.assoc_case = 0
  980.  
  981. [sqlite3]
  982. ;sqlite3.extension_dir =
  983.  
  984. [Pcre]
  985. ;PCRE library backtracking limit.
  986. ; http://www.php.net/manual/en/pcre.configuration.php#ini.pcre.backtrack-limit
  987. ;pcre.backtrack_limit=100000
  988.  
  989. ;PCRE library recursion limit.
  990. ;Please note that if you set this value to a high number you may consume all
  991. ;the available process stack and eventually crash PHP (due to reaching the
  992. ;stack size limit imposed by the Operating System).
  993. ; http://www.php.net/manual/en/pcre.configuration.php#ini.pcre.recursion-limit
  994. ;pcre.recursion_limit=100000
  995.  
  996. [Pdo]
  997. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
  998. ; http://www.php.net/manual/en/ref.pdo-odbc.php#ini.pdo-odbc.connection-pooling
  999. ;pdo_odbc.connection_pooling=strict
  1000.  
  1001. [Phar]
  1002. ; http://www.php.net/manual/en/phar.configuration.php#ini.phar.readonly
  1003. ;phar.readonly = On
  1004.  
  1005. ; http://www.php.net/manual/en/phar.configuration.php#ini.phar.require-hash
  1006. ;phar.require_hash = On
  1007.  
  1008. ;phar.cache_list =
  1009.  
  1010. [Syslog]
  1011. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  1012. ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
  1013. ; runtime, you can define these variables by calling define_syslog_variables().
  1014. ; http://www.php.net/manual/en/network.configuration.php#ini.define-syslog-variables
  1015. define_syslog_variables = Off
  1016.  
  1017. [mail function]
  1018. ; For Win32 only.
  1019. ; http://www.php.net/manual/en/mail.configuration.php#ini.smtp
  1020. SMTP = localhost
  1021. ; http://www.php.net/manual/en/mail.configuration.php#ini.smtp-port
  1022. smtp_port = 25
  1023.  
  1024. ; For Win32 only.
  1025. ; http://www.php.net/manual/en/mail.configuration.php#ini.sendmail-from
  1026. ;sendmail_from = me@example.com
  1027.  
  1028. ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
  1029. ; http://www.php.net/manual/en/mail.configuration.php#ini.sendmail-path
  1030. sendmail_path = /usr/sbin/sendmail -t -i
  1031.  
  1032. ; Force the addition of the specified parameters to be passed as extra parameters
  1033. ; to the sendmail binary. These parameters will always replace the value of
  1034. ; the 5th parameter to mail(), even in safe mode.
  1035. ;mail.force_extra_parameters =
  1036.  
  1037. ; Add X-PHP-Originaiting-Script: that will include uid of the script followed by the filename
  1038. mail.add_x_header = On
  1039.  
  1040. ; Log all mail() calls including the full path of the script, line #, to address and headers
  1041. ;mail.log =
  1042.  
  1043. [SQL]
  1044. ; http://www.php.net/manual/en/ini.core.php#ini.sql.safe-mode
  1045. sql.safe_mode = Off
  1046.  
  1047. [ODBC]
  1048. ; http://www.php.net/manual/en/odbc.configuration.php#ini.uodbc.default-db
  1049. ;odbc.default_db = Not yet implemented
  1050.  
  1051. ; http://www.php.net/manual/en/odbc.configuration.php#ini.uodbc.default-user
  1052. ;odbc.default_user = Not yet implemented
  1053.  
  1054. ; http://www.php.net/manual/en/odbc.configuration.php#ini.uodbc.default-pw
  1055. ;odbc.default_pw = Not yet implemented
  1056.  
  1057. ; Allow or prevent persistent links.
  1058. ; http://www.php.net/manual/en/odbc.configuration.php#ini.uodbc.allow-persistent
  1059. odbc.allow_persistent = On
  1060.  
  1061. ; Check that a connection is still valid before reuse.
  1062. ; http://www.php.net/manual/en/odbc.configuration.php#ini.uodbc.check-persistent
  1063. odbc.check_persistent = On
  1064.  
  1065. ; Maximum number of persistent links. -1 means no limit.
  1066. ; http://www.php.net/manual/en/odbc.configuration.php#ini.uodbc.max-persistent
  1067. odbc.max_persistent = -1
  1068.  
  1069. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  1070. ; http://www.php.net/manual/en/odbc.configuration.php#ini.uodbc.max-links
  1071. odbc.max_links = -1
  1072.  
  1073. ; Handling of LONG fields. Returns number of bytes to variables. 0 means
  1074. ; passthru.
  1075. ; http://www.php.net/manual/en/odbc.configuration.php#ini.uodbc.defaultlrl
  1076. odbc.defaultlrl = 4096
  1077.  
  1078. ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
  1079. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  1080. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  1081. ; http://www.php.net/manual/en/odbc.configuration.php#ini.uodbc.defaultbinmode
  1082. odbc.defaultbinmode = 1
  1083.  
  1084. ;birdstep.max_links = -1
  1085.  
  1086. [MySQL]
  1087. ; Allow or prevent persistent links.
  1088. ; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.allow-persistent
  1089. mysql.allow_persistent = On
  1090.  
  1091. ; Maximum number of persistent links. -1 means no limit.
  1092. ; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.max-persistent
  1093. mysql.max_persistent = -1
  1094.  
  1095. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  1096. ; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.max-links
  1097. mysql.max_links = -1
  1098.  
  1099. ; Default port number for mysql_connect(). If unset, mysql_connect() will use
  1100. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  1101. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  1102. ; at MYSQL_PORT.
  1103. ; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.default-port
  1104. mysql.default_port =
  1105.  
  1106. ; Default socket name for local MySQL connects. If empty, uses the built-in
  1107. ; MySQL defaults.
  1108. ; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.default-socket
  1109. mysql.default_socket =
  1110.  
  1111. ; Default host for mysql_connect() (doesn't apply in safe mode).
  1112. ; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.default-host
  1113. mysql.default_host =
  1114.  
  1115. ; Default user for mysql_connect() (doesn't apply in safe mode).
  1116. ; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.default-user
  1117. mysql.default_user =
  1118.  
  1119. ; Default password for mysql_connect() (doesn't apply in safe mode).
  1120. ; Note that this is generally a *bad* idea to store passwords in this file.
  1121. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  1122. ; and reveal this password! And of course, any users with read access to this
  1123. ; file will be able to reveal the password as well.
  1124. ; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.default-password
  1125. mysql.default_password =
  1126.  
  1127. ; Maximum time (in seconds) for connect timeout. -1 means no limit
  1128. ; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.connect-timeout
  1129. mysql.connect_timeout = 60
  1130.  
  1131. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  1132. ; SQL-Errors will be displayed.
  1133. ; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.trace-mode
  1134. mysql.trace_mode = Off
  1135.  
  1136. [MySQLi]
  1137.  
  1138. ; Maximum number of links. -1 means no limit.
  1139. ; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.max-links
  1140. mysqli.max_links = -1
  1141.  
  1142. ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
  1143. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  1144. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  1145. ; at MYSQL_PORT.
  1146. ; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-port
  1147. mysqli.default_port = 3306
  1148.  
  1149. ; Default socket name for local MySQL connects. If empty, uses the built-in
  1150. ; MySQL defaults.
  1151. ; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-socket
  1152. mysqli.default_socket =
  1153.  
  1154. ; Default host for mysql_connect() (doesn't apply in safe mode).
  1155. ; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-host
  1156. mysqli.default_host =
  1157.  
  1158. ; Default user for mysql_connect() (doesn't apply in safe mode).
  1159. ; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-user
  1160. mysqli.default_user =
  1161.  
  1162. ; Default password for mysqli_connect() (doesn't apply in safe mode).
  1163. ; Note that this is generally a *bad* idea to store passwords in this file.
  1164. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
  1165. ; and reveal this password! And of course, any users with read access to this
  1166. ; file will be able to reveal the password as well.
  1167. ; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-pw
  1168. mysqli.default_pw =
  1169.  
  1170. ; Allow or prevent reconnect
  1171. mysqli.reconnect = Off
  1172.  
  1173. [PostgresSQL]
  1174. ; Allow or prevent persistent links.
  1175. ; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.allow-persistent
  1176. pgsql.allow_persistent = On
  1177.  
  1178. ; Detect broken persistent links always with pg_pconnect().
  1179. ; Auto reset feature requires a little overheads.
  1180. ; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.auto-reset-persistent
  1181. pgsql.auto_reset_persistent = Off
  1182.  
  1183. ; Maximum number of persistent links. -1 means no limit.
  1184. ; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.max-persistent
  1185. pgsql.max_persistent = -1
  1186.  
  1187. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  1188. ; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.max-links
  1189. pgsql.max_links = -1
  1190.  
  1191. ; Ignore PostgreSQL backends Notice message or not.
  1192. ; Notice message logging require a little overheads.
  1193. ; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.ignore-notice
  1194. pgsql.ignore_notice = 0
  1195.  
  1196. ; Log PostgreSQL backends Noitce message or not.
  1197. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  1198. ; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.log-notice
  1199. pgsql.log_notice = 0
  1200.  
  1201. [Sybase-CT]
  1202. ; Allow or prevent persistent links.
  1203. ; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.allow-persistent
  1204. sybct.allow_persistent = On
  1205.  
  1206. ; Maximum number of persistent links. -1 means no limit.
  1207. ; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.max-persistent
  1208. sybct.max_persistent = -1
  1209.  
  1210. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  1211. ; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.max-links
  1212. sybct.max_links = -1
  1213.  
  1214. ; Minimum server message severity to display.
  1215. ; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.min-server-severity
  1216. sybct.min_server_severity = 10
  1217.  
  1218. ; Minimum client message severity to display.
  1219. ; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.min-client-severity
  1220. sybct.min_client_severity = 10
  1221.  
  1222. ; Set per-context timeout
  1223. ; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.timeout
  1224. ;sybct.timeout=
  1225.  
  1226. ;sybct.packet_size
  1227.  
  1228. [bcmath]
  1229. ; Number of decimal digits for all bcmath functions.
  1230. ; http://www.php.net/manual/en/bc.configuration.php#ini.bcmath.scale
  1231. bcmath.scale = 0
  1232.  
  1233. [browscap]
  1234. ; http://www.php.net/manual/en/misc.configuration.php#ini.browscap
  1235. ;browscap = extra/browscap.ini
  1236.  
  1237. [Session]
  1238. ; Handler used to store/retrieve data.
  1239. ; http://www.php.net/manual/en/session.configuration.php#ini.session.save-handler
  1240. session.save_handler = files
  1241.  
  1242. ; Argument passed to save_handler. In the case of files, this is the path
  1243. ; where data files are stored. Note: Windows users have to change this
  1244. ; variable in order to use PHP's session functions.
  1245. ;
  1246. ; As of PHP 4.0.1, you can define the path as:
  1247. ;
  1248. ; session.save_path = "N;/path"
  1249. ;
  1250. ; where N is an integer. Instead of storing all the session files in
  1251. ; /path, what this will do is use subdirectories N-levels deep, and
  1252. ; store the session data in those directories. This is useful if you
  1253. ; or your OS have problems with lots of files in one directory, and is
  1254. ; a more efficient layout for servers that handle lots of sessions.
  1255. ;
  1256. ; NOTE 1: PHP will not create this directory structure automatically.
  1257. ; You can use the script in the ext/session dir for that purpose.
  1258. ; NOTE 2: See the section on garbage collection below if you choose to
  1259. ; use subdirectories for session storage
  1260. ;
  1261. ; The file storage module creates files using mode 600 by default.
  1262. ; You can change that by using
  1263. ;
  1264. ; session.save_path = "N;MODE;/path"
  1265. ;
  1266. ; where MODE is the octal representation of the mode. Note that this
  1267. ; does not overwrite the process's umask.
  1268. ; http://www.php.net/manual/en/session.configuration.php#ini.session.save-path
  1269. ; session.save_path = "../sessions"
  1270.  
  1271. ; Whether to use cookies.
  1272. ; http://www.php.net/manual/en/session.configuration.php#ini.session.use-cookies
  1273. session.use_cookies = 1
  1274.  
  1275. ; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-secure
  1276. ;session.cookie_secure =
  1277.  
  1278. ; This option forces PHP to fetch and use a cookie for storing and maintaining
  1279. ; the session id. We encourage this operation as it's very helpful in combatting
  1280. ; session hijacking when not specifying and managing your own session id. It is
  1281. ; not the end all be all of session hijacking defense, but it's a good start.
  1282. ; http://www.php.net/manual/en/session.configuration.php#ini.session.use-only-cookies
  1283. session.use_only_cookies = 1
  1284.  
  1285. ; Name of the session (used as cookie name).
  1286. ; http://www.php.net/manual/en/session.configuration.php#ini.session.name
  1287. session.name = PHPSESSID
  1288.  
  1289. ; Initialize session on request startup.
  1290. ; http://www.php.net/manual/en/session.configuration.php#ini.session.auto-start
  1291. session.auto_start = 0
  1292.  
  1293. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  1294. ; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime
  1295. session.cookie_lifetime = 0
  1296.  
  1297. ; The path for which the cookie is valid.
  1298. ; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-path
  1299. session.cookie_path = /
  1300.  
  1301. ; The domain for which the cookie is valid.
  1302. ; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-domain
  1303. session.cookie_domain =
  1304.  
  1305. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
  1306. ; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-httponly
  1307. session.cookie_httponly =
  1308.  
  1309. ; Handler used to serialize data. php is the standard serializer of PHP.
  1310. ; http://www.php.net/manual/en/session.configuration.php#ini.session.serialize-handler
  1311. session.serialize_handler = php
  1312.  
  1313. ; Defines the probability that the 'garbage collection' process is started
  1314. ; on every session initialization. The probability is calculated by using
  1315. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
  1316. ; and gc_divisor is the denominator in the equation. Setting this value to 1
  1317. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
  1318. ; the gc will run on any give request.
  1319. ; Default Value: 1
  1320. ; Development Value: 1
  1321. ; Production Value: 1
  1322. ; http://www.php.net/manual/en/session.configuration.php#ini.session.gc-probability
  1323. session.gc_probability = 1
  1324.  
  1325. ; Defines the probability that the 'garbage collection' process is started on every
  1326. ; session initialization. The probability is calculated by using the following equation:
  1327. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
  1328. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
  1329. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
  1330. ; the gc will run on any give request. Increasing this value to 1000 will give you
  1331. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
  1332. ; this is a more efficient approach.
  1333. ; Default Value: 100
  1334. ; Development Value: 1000
  1335. ; Production Value: 1000
  1336. ; http://www.php.net/manual/en/session.configuration.php#ini.session.gc-divisor
  1337. session.gc_divisor = 1000
  1338.  
  1339. ; After this number of seconds, stored data will be seen as 'garbage' and
  1340. ; cleaned up by the garbage collection process.
  1341. ; http://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime
  1342. session.gc_maxlifetime = 1440
  1343.  
  1344. ; NOTE: If you are using the subdirectory option for storing session files
  1345. ; (see session.save_path above), then garbage collection does *not*
  1346. ; happen automatically. You will need to do your own garbage
  1347. ; collection through a shell script, cron entry, or some other method.
  1348. ; For example, the following script would is the equivalent of
  1349. ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  1350. ; cd /path/to/sessions; find -cmin +24 | xargs rm
  1351.  
  1352. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  1353. ; to initialize a session variable in the global scope, even when register_globals
  1354. ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
  1355. ; You can disable the feature and the warning separately. At this time,
  1356. ; the warning is only displayed, if bug_compat_42 is enabled. This feature
  1357. ; introduces some serious security problems if not handled correctly. It's
  1358. ; recommended that you do not use this feature on production servers. But you
  1359. ; should enable this on development servers and enable the warning as well. If you
  1360. ; do not enable the feature on development servers, you won't be warned when it's
  1361. ; used and debugging errors caused by this can be difficult to track down.
  1362. ; Default Value: On
  1363. ; Development Value: On
  1364. ; Production Value: Off
  1365. ; http://www.php.net/manual/en/session.configuration.php#ini.session.bug-compat-42
  1366. session.bug_compat_42 = Off
  1367.  
  1368. ; This setting controls whether or not you are warned by PHP when initializing a
  1369. ; session value into the global space. session.bug_compat_42 must be enabled before
  1370. ; these warnings can be issued by PHP. See the directive above for more information.
  1371. ; Default Value: On
  1372. ; Development Value: On
  1373. ; Production Value: Off
  1374. ; http://www.php.net/manual/en/session.configuration.php#ini.session.bug-compat-warn
  1375. session.bug_compat_warn = Off
  1376.  
  1377. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  1378. ; HTTP_REFERER has to contain this substring for the session to be
  1379. ; considered as valid.
  1380. ; http://www.php.net/manual/en/session.configuration.php#ini.session.referer-check
  1381. session.referer_check =
  1382.  
  1383. ; How many bytes to read from the file.
  1384. ; http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-length
  1385. session.entropy_length = 0
  1386.  
  1387. ; Specified here to create the session id.
  1388. ; http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-file
  1389. ;session.entropy_file = /dev/urandom
  1390. session.entropy_file =
  1391.  
  1392. ; http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-length
  1393. ;session.entropy_length = 16
  1394.  
  1395. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  1396. ; or leave this empty to avoid sending anti-caching headers.
  1397. ; http://www.php.net/manual/en/session.configuration.php#ini.session.cache-limiter
  1398. session.cache_limiter = nocache
  1399.  
  1400. ; Document expires after n minutes.
  1401. ; http://www.php.net/manual/en/session.configuration.php#ini.session.cache-expire
  1402. session.cache_expire = 180
  1403.  
  1404. ; trans sid support is disabled by default.
  1405. ; Use of trans sid may risk your users security.
  1406. ; Use this option with caution.
  1407. ; - User may send URL contains active session ID
  1408. ; to other person via. email/irc/etc.
  1409. ; - URL that contains active session ID may be stored
  1410. ; in publically accessible computer.
  1411. ; - User may access your site with the same session ID
  1412. ; always using URL stored in browser's history or bookmarks.
  1413. ; http://www.php.net/manual/en/session.configuration.php#ini.session.use-trans-sid
  1414. session.use_trans_sid = 0
  1415.  
  1416. ; Select a hash function for use in generating session ids.
  1417. ; Possible Values
  1418. ; 0 (MD5 128 bits)
  1419. ; 1 (SHA-1 160 bits)
  1420. ; http://www.php.net/manual/en/session.configuration.php#ini.session.hash-function
  1421. session.hash_function = 0
  1422.  
  1423. ; Define how many bits are stored in each character when converting
  1424. ; the binary hash data to something readable.
  1425. ; Possible values:
  1426. ; 4 (4 bits: 0-9, a-f)
  1427. ; 5 (5 bits: 0-9, a-v)
  1428. ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
  1429. ; Default Value: 4
  1430. ; Development Value: 5
  1431. ; Production Value: 5
  1432. ; http://www.php.net/manual/en/session.configuration.php#ini.session.hash-bits-per-character
  1433. session.hash_bits_per_character = 5
  1434.  
  1435. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  1436. ; form/fieldset are special; if you include them here, the rewriter will
  1437. ; add a hidden <input> field with the info which is otherwise appended
  1438. ; to URLs. If you want XHTML conformity, remove the form entry.
  1439. ; Note that all valid entries require a "=", even if no value follows.
  1440. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
  1441. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  1442. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  1443. ; http://www.php.net/manual/en/session.configuration.php#ini.url-rewriter.tags
  1444. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  1445.  
  1446. [MSSQL]
  1447. ; Allow or prevent persistent links.
  1448. mssql.allow_persistent = On
  1449.  
  1450. ; Maximum number of persistent links. -1 means no limit.
  1451. mssql.max_persistent = -1
  1452.  
  1453. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  1454. mssql.max_links = -1
  1455.  
  1456. ; Minimum error severity to display.
  1457. mssql.min_error_severity = 10
  1458.  
  1459. ; Minimum message severity to display.
  1460. mssql.min_message_severity = 10
  1461.  
  1462. ; Compatibility mode with old versions of PHP 3.0.
  1463. mssql.compatability_mode = Off
  1464.  
  1465. ; Connect timeout
  1466. ;mssql.connect_timeout = 5
  1467.  
  1468. ; Query timeout
  1469. ;mssql.timeout = 60
  1470.  
  1471. ; Valid range 0 - 2147483647. Default = 4096.
  1472. ;mssql.textlimit = 4096
  1473.  
  1474. ; Valid range 0 - 2147483647. Default = 4096.
  1475. ;mssql.textsize = 4096
  1476.  
  1477. ; Limits the number of records in each batch. 0 = all records in one batch.
  1478. ;mssql.batchsize = 0
  1479.  
  1480. ; Specify how datetime and datetim4 columns are returned
  1481. ; On => Returns data converted to SQL server settings
  1482. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  1483. ;mssql.datetimeconvert = On
  1484.  
  1485. ; Use NT authentication when connecting to the server
  1486. mssql.secure_connection = Off
  1487.  
  1488. ; Specify max number of processes. -1 = library default
  1489. ; msdlib defaults to 25
  1490. ; FreeTDS defaults to 4096
  1491. ;mssql.max_procs = -1
  1492.  
  1493. ; Specify client character set.
  1494. ; If empty or not set the client charset from freetds.comf is used
  1495. ; This is only used when compiled with FreeTDS
  1496. ;mssql.charset = "ISO-8859-1"
  1497.  
  1498. [Assertion]
  1499. ; Assert(expr); active by default.
  1500. ; http://www.php.net/manual/en/info.configuration.php#ini.assert.active
  1501. ;assert.active = On
  1502.  
  1503. ; Issue a PHP warning for each failed assertion.
  1504. ; http://www.php.net/manual/en/info.configuration.php#ini.assert.warning
  1505. ;assert.warning = On
  1506.  
  1507. ; Don't bail out by default.
  1508. ; http://www.php.net/manual/en/info.configuration.php#ini.assert.bail
  1509. ;assert.bail = Off
  1510.  
  1511. ; User-function to be called if an assertion fails.
  1512. ; http://www.php.net/manual/en/info.configuration.php#ini.assert.callback
  1513. ;assert.callback = 0
  1514.  
  1515. ; Eval the expression with current error_reporting(). Set to true if you want
  1516. ; error_reporting(0) around the eval().
  1517. ; http://www.php.net/manual/en/info.configuration.php#ini.assert.quiet-eval
  1518. ;assert.quiet_eval = 0
  1519.  
  1520. [COM]
  1521. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  1522. ; http://www.php.net/manual/en/com.configuration.php#ini.com.typelib-file
  1523. ;com.typelib_file =
  1524.  
  1525. ; allow Distributed-COM calls
  1526. ; http://www.php.net/manual/en/com.configuration.php#ini.com.allow-dcom
  1527. ;com.allow_dcom = true
  1528.  
  1529. ; autoregister constants of a components typlib on com_load()
  1530. ; http://www.php.net/manual/en/com.configuration.php#ini.com.autoregister-typelib
  1531. ;com.autoregister_typelib = true
  1532.  
  1533. ; register constants casesensitive
  1534. ; http://www.php.net/manual/en/com.configuration.php#ini.com.autoregister-casesensitive
  1535. ;com.autoregister_casesensitive = false
  1536.  
  1537. ; show warnings on duplicate constant registrations
  1538. ; http://www.php.net/manual/en/com.configuration.php#ini.com.autoregister-verbose
  1539. ;com.autoregister_verbose = true
  1540.  
  1541. [mbstring]
  1542. ; language for internal character representation.
  1543. ; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.language
  1544. ;mbstring.language = Japanese
  1545.  
  1546. ; internal/script encoding.
  1547. ; Some encoding cannot work as internal encoding.
  1548. ; (e.g. SJIS, BIG5, ISO-2022-*)
  1549. ; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding
  1550. ;mbstring.internal_encoding = EUC-JP
  1551.  
  1552. ; http input encoding.
  1553. ; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-input
  1554. ;mbstring.http_input = auto
  1555.  
  1556. ; http output encoding. mb_output_handler must be
  1557. ; registered as output buffer to function
  1558. ; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-output
  1559. ;mbstring.http_output = SJIS
  1560.  
  1561. ; enable automatic encoding translation according to
  1562. ; mbstring.internal_encoding setting. Input chars are
  1563. ; converted to internal encoding by setting this to On.
  1564. ; Note: Do _not_ use automatic encoding translation for
  1565. ; portable libs/applications.
  1566. ; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.encoding-translation
  1567. ;mbstring.encoding_translation = Off
  1568.  
  1569. ; automatic encoding detection order.
  1570. ; auto means
  1571. ; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.detect-order
  1572. ;mbstring.detect_order = auto
  1573.  
  1574. ; substitute_character used when character cannot be converted
  1575. ; one from another
  1576. ; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.substitute-character
  1577. ;mbstring.substitute_character = none;
  1578.  
  1579. ; overload(replace) single byte functions by mbstring functions.
  1580. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  1581. ; etc. Possible values are 0,1,2,4 or combination of them.
  1582. ; For example, 7 for overload everything.
  1583. ; 0: No overload
  1584. ; 1: Overload mail() function
  1585. ; 2: Overload str*() functions
  1586. ; 4: Overload ereg*() functions
  1587. ; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.func-overload
  1588. ;mbstring.func_overload = 0
  1589.  
  1590. ; enable strict encoding detection.
  1591. ;mbstring.strict_detection = Off
  1592.  
  1593. ; This directive specifies the regex pattern of content types for which mb_output_handler()
  1594. ; is activated.
  1595. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
  1596. ;mbstring.http_output_conv_mimetype=
  1597.  
  1598. [gd]
  1599. ; Tell the jpeg decode to ignore warnings and try to create
  1600. ; a gd image. The warning will then be displayed as notices
  1601. ; disabled by default
  1602. ; http://www.php.net/manual/en/image.configuration.php#ini.image.jpeg-ignore-warning
  1603. ;gd.jpeg_ignore_warning = 0
  1604.  
  1605. [exif]
  1606. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  1607. ; With mbstring support this will automatically be converted into the encoding
  1608. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  1609. ; is used. For the decode settings you can distinguish between motorola and
  1610. ; intel byte order. A decode setting cannot be empty.
  1611. ; http://www.php.net/manual/en/exif.configuration.php#ini.exif.encode-unicode
  1612. ;exif.encode_unicode = ISO-8859-15
  1613.  
  1614. ; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-unicode-motorola
  1615. ;exif.decode_unicode_motorola = UCS-2BE
  1616.  
  1617. ; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-unicode-intel
  1618. ;exif.decode_unicode_intel = UCS-2LE
  1619.  
  1620. ; http://www.php.net/manual/en/exif.configuration.php#ini.exif.encode-jis
  1621. ;exif.encode_jis =
  1622.  
  1623. ; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-jis-motorola
  1624. ;exif.decode_jis_motorola = JIS
  1625.  
  1626. ; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-jis-intel
  1627. ;exif.decode_jis_intel = JIS
  1628.  
  1629. [Tidy]
  1630. ; The path to a default tidy configuration file to use when using tidy
  1631. ; http://www.php.net/manual/en/tidy.configuration.php#ini.tidy.default-config
  1632. ;tidy.default_config = /usr/local/lib/php/default.tcfg
  1633.  
  1634. ; Should tidy clean and repair output automatically?
  1635. ; WARNING: Do not use this option if you are generating non-html content
  1636. ; such as dynamic images
  1637. ; http://www.php.net/manual/en/tidy.configuration.php#ini.tidy.clean-output
  1638. tidy.clean_output = Off
  1639.  
  1640. [soap]
  1641. ; Enables or disables WSDL caching feature.
  1642. ; http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-enabled
  1643. soap.wsdl_cache_enabled=1
  1644.  
  1645. ; Sets the directory name where SOAP extension will put cache files.
  1646. ; http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-dir
  1647. soap.wsdl_cache_dir="/tmp"
  1648.  
  1649. ; (time to live) Sets the number of second while cached file will be used
  1650. ; instead of original one.
  1651. ; http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-ttl
  1652. soap.wsdl_cache_ttl=86400
  1653.  
  1654. [sysvshm]
  1655. ; A default size of the shared memory segment
  1656. ;sysvshm.init_mem = 10000
  1657.  
  1658.  
  1659. max_input_vars = 5000
  1660.  
  1661.  
  1662. ; Local Variables:
  1663. ; tab-width: 4
  1664. ; End:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement