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 for this file is very simple. White-space characters and lines starting with a semicolon ´;´ are simply ignored (as you might
; guessed). Chapter headings (For example: [Foo]) are also simply ignored, even though they may
; Have some kind of meaning.
;
; Indicates that the following syntax is specified:
; Indicates an identifier = value
; directive = value
; Indicates that the identifier is * case sensitive *-Foo=bar is different from foo = bar.
;
; The value can be a string, a number, a PHP constant (such as: E_all or M_PI), and the INI constant
; One (on, off, True, False, Yes, No and None), or an expression
; (such as: E_all & ~e_notice), or a string enclosed in quotes ("foo").
;
; INI file is limited to bitwise operators and parentheses.
; Bitwise OR
; & Bitwise AND
; ~ Bitwise NOT
; ! Boolean not
;
; Boolean flags can be placed in the open state with 1, on, True or Yes.
; They can be placed on a state that has a value of 0, off, False, or No.
;
; An empty string can be represented by an equal sign without writing anything, or with the None keyword:
;
; Foo =; Place Foo as an empty string
; foo = none; Place Foo as an empty string
; Foo = "None"; Place Foo as a string ´none´
;
; If you use constants in your value settings, these constants belong to the extended libraries that are dynamically transferred (not PHP extensions, or
; Zend extension), you can only transfer these extended rows * and use these constants.
;
; All the values set in the Php.ini-dist file are the same as the built-in defaults (which is to say that if the php.ini
; is not used or you have deleted these lines, the default value is the same.
;;;;;;;;;;;;;;;;;;;;
; Language Options;
;;;;;;;;;;;;;;;;;;;;
Engine = On
; Make PHP scripting language engine (PHP scripting language Engine) valid under Apache.
Short_open_tag = On
; Allowed? Identification (this simple representation). Otherwise only
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.
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.
; As long as you can be
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.
1 2 3 4 5 Next > Full text reading tips: Try the "←→" button, turn the page more convenient Oh!