[PHP]
; PHP is still an evolving tool, and its functionality is constantly being pruned
; and PHP.ini's setting changes can reflect quite a change,
; Before using the new PHP version, it would be helpful to look at the php.ini.
;;;;;;;;;;;;;;;;;;;
; about this document;
;;;;;;;;;;;;;;;;;;;
; This file controls many aspects of PHP's perspective. In order for PHP to read this file, it must be named
; ' PHP.ini '. PHP will locate the file in turn: current working directory; environment variable PHPRC
; The specified path, the path specified at compile time.
; Under Windows, the path at compile time is the Windows installation directory.
; In command line mode, the php.ini lookup path can be replaced with the-c parameter.
; The syntax of the file is very simple. Blank character and semicolon '; ' The starting line is simply ignored (as you might
; guessed). Chapter headings (For example: [Foo]) are also simply ignored, even though they may be in the future;
; there is some meaning. &NBSP
;
; indicates that the following syntax is specified:
; indicates that the identifier = value
; directive = value
; indicates that the identifier is * case sensitive *-F Oo=bar is different from FOO = bar. &NBSP
;
; value can be a string, a number, a PHP constant (such as: E_all or M_PI), in the INI constant,
; one (on, off, True, False, Yes, No and None), or an expression of
; (such as: E_all & ~e_notice), or a string enclosed in quotes ("foo").
;
; INI file is limited to bitwise operators and parentheses. &NBSP
; | bitwise OR&NBSP
; & bitwise and
; ~ bitwise NOT 
;! boolean not
; &nb Sp
; Boolean flags can be placed in the open state with 1, on, True or Yes. &NBSP
; they can be placed on state with 0, off, False, or No. &NBSP
;
; an empty string can be expressed by not writing anything after the equals sign, or with the None keyword:
;
; foo =; place foo as an empty string
Foo = none; Place Foo as an empty string
; foo = "None"; add foo to the string ' None '
; If you use constants in your value settings, these constants belong to the extended library that is dynamically transferred (not the extension of PHP, the &N Bsp
; Zend extension), you can onlyUse these constants after you have transferred these extended rows *. &NBSP
;
; all values set in the Php.ini-dist file are the same as the built-in defaults (this is to say, if php.ini
; is not used or you delete the rows, the default is the same).
;;;;;;;;;;;;;;;;;;;;
; Language Options;
;;;;;;;;;;;;;;;;;;;;
Engine = On
; Make PHP scripting language engine (PHP scripting language Engine) valid under Apache.
Short_open_tag = On
; Allow tags to be identified.
Asp_tags = Off
; Allow Asp-style tags
Precision = 14
; Number of significant digits when the number of floating-point types is displayed
Y2k_compliance = Off
; Whether to open the 2000 adaptation (may cause problems in a Y2K-adapted browser)
Output_buffering = Off
; Output caching allows you to even send headers (headers, including cookies) after the body content is exported.
; The cost is that the output layer slows down a little bit. You can use the output cache to open the output cache at run time,
; or set the indication here to on so that the output cache for all files is open.
Output_handler =; You can redirect all the output of your script to a function,
; Doing so may be useful for processing or logging it.
; For example, if you set this output_handler as "Ob_gzhandler",
; The output is transparently compressed for browsers that support gzip or deflate encoding.
; Set an output processor to automatically open the output buffer.
Implicit_flush = Off
; Force flush (refresh) Let PHP tell the output layer to automatically refresh its own data after each output block.
; This is equivalent to calling the flush () function after each print () or echo () call and each HTML block.
; Opening this setting can cause serious run-time conflicts and is recommended for opening only during Debug.
Allow_call_time_pass_reference = On
; Whether to pass arguments by reference when forcing a function call. This approach has been protested,
; and may no longer be supported in future versions of Php/zend.
; The method that is encouraged to specify which parameters are passed by reference is in the function declaration.
; You are encouraged to try to close this option and confirm that your script is still working to ensure that in future versions of the language
; They can still work. (You will get a warning each time you use this feature, and the parameters will be by value instead of by reference
; Delivery).
; Safe Mode
Safe_mode = Off
Safe_mode_exec_dir =
Safe_mode_allowed_env_vars = Php_
; ? Setting Certain environment variables
; ? May is a potential security breach.
; The indication contains a comma-delimited list of prefixes. In Safe mode, users can only replace
; The value of the environment variable that starts with the prefix listed here.
; By default, users will only be able to set environment variables that start with PHP_, (such as: Php_foo=bar).
; Note: If this indicator is empty, PHP will let the user change any environment variable!
Safe_mode_protected_env_vars = Ld_library_path
; This instruction contains a comma-delimited list of environment variables that the end user will not be able to change with putenv ().
; These variables are even protected when the Safe_mode_allowed_env_vars is set to allow.
Disable_functions =
; This instruction allows you to invalidate a particular function for security reasons.
; It accepts a comma-delimited list of function names.
; This indication * is not affected by whether the Safe mode is open.
; Syntax highlighting mode of color.
; Anything that can be accepted can work.
highlight.string = #DD0000
Highlight.comment = #FF8000
Highlight.keyword = #007700
highlight.bg = #FFFFFF
Highlight.default = #0000BB
highlight.html = #000000
; Misc Miscellaneous
expose_php = Off
; Decide whether PHP will indicate the fact that it's installed on the server (for example: add it to the-php-Web service
; sent on the signal).
; (My personal opinion, in the presence of what power-by header, turn this off.) )
; It doesn't have a security threat, but it makes it possible to check if PHP is installed on your server.
;;;;;;;;;;;;;;;;;;;
; Resource Limits;
;;;;;;;;;;;;;;;;;;;
-
Max_execution_time = 30; Maximum execution time for each script, in seconds
Memory_limit = 8388608; The maximum amount of memory a script can use (here is 8MB)
-
-
-
-
-
[Assertion]
; ?????
; assert.active = on;? ASSERT (expr); Active by default
; assert.warning = on; Issue a PHP warning for each failed assertion.
; assert.bail = off; Don ' t bail out by default.
; assert.callback = 0; User-function to is called if an assertion fails.
; assert.quiet_eval = 0; Eval the expression with current error_reporting (). Set to True if you want Error_reporting (0) around the eval ().
[Ingres II]
Ii.allow_persistent = on; Allow or disable persistent connections
Ii.max_persistent =-1; The maximum number of persistent connections. -1 means no limit
Ii.max_links =-1; Maximum number of connections (persistent and non-persistent). -1 means no limit
Ii.default_database =; Default database (format: [Node_id::]dbname[/srv_class]
Ii.default_user =; Default User
Ii.default_password =; Default password
[Verisign Payflow Pro]
Pfpro.defaulthost = "test.signio.com"; The default Signio server
Pfpro.defaultport = 443; Default port for connection
Pfpro.defaulttimeout = 30; Default timeout time in seconds
; Pfpro.proxyaddress =; The default agent's IP address (if required)
; Pfpro.proxyport =; The default proxy port
; Pfpro.proxylogon =; Default proxy login (logon username)
; Pfpro.proxypassword =; Password for the default agent
[Sockets]
Sockets.use_system_read = on; Use the system's read () function instead of php_read () encapsulation
; Local Variables: (locally variable)
; Tab-width:4
; End