PHP configuration file php.ini Chinese annotated version _php tutorial

Source: Internet
Author: User
Tags bitwise operators
A file that controls many aspects of PHP's perspective. In order for PHP to read this file, it must be named
; ´php.ini´. PHP will look for the file in these places: current working directory; environment variable PHPRC
; 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 substituted with the-c parameter.


; The syntax of the file is very simple. Blank characters and lines beginning with a semicolon ´;´ are simply ignored (as you might
; guessed the same). Chapter headings (For example: [Foo]) are also simply ignored, even though they may in the future
; There is a sense of some kind.
;
; The instruction is specified using the following syntax:
; Indicates identifier = value
; directive = value
; Indicates that the identifier is case-sensitive *-Foo=bar differs from foo = bar.
;
; The value can be a string, a number, a PHP constant (such as: E_all or M_PI), the INI constant in the
; One (on, Off, True, False, Yes, No and None), or an expression
; (such as: E_all & ~e_notice), or a string enclosed in quotation marks ("foo").
;
; INI file is limited to bitwise operators and parentheses.
; | Bitwise OR
; & Bitwise AND
; ~ Bitwise NOT
; ! Boolean not
;
; The Boolean flag can be used 1, on, True or Yes to put these values in the open state.
; They are available in 0, off, False or No These values are turned off.
;
; An empty string can be used after the equal sign to not write 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, and these constants belong to the extended library of dynamic push-in (not the extension of PHP, it is
; Zend extension), you can only use these constants after you have transferred the lines of these extensions * *.
;
; All values set in the Php.ini-dist file are the same as the built-in default values (this is to say, if php.ini
; is not used or you delete these lines, the default value is the same).


;;;;;;;;;;;;;;;;;;;;
; Language Options;
;;;;;;;;;;;;;;;;;;;;


Engine = On
; Makes PHP scripting language engine (PHP scripting language Engine) valid under Apache.
Short_open_tag = On
; Allow? Identification (this simple representation). Otherwise only <?php and <script> tags will be recognized.
Asp_tags = Off
; Allow Asp-style <%%> tags
Precision = 14
; Number of significant digits when floating-point type is displayed


Y2k_compliance = Off
; Whether to open 2000 adaptation (may cause problems in non-Y2K adapted browsers)


output_buffering = Off
; The output cache allows you to send headers (headers, including cookies) even after the output body content.
; The cost is that the output layer slows down a little bit. You can use output caching to open the output cache at run time.
; Alternatively, set the indicator to on to make the output cache for all files open.


Implicit_flush = Off
; Forcing flush (refresh) allows PHP to tell the output layer to automatically refresh its 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 causes serious runtime conflicts and is recommended to be opened only during the debug process.


Allow_call_time_pass_reference = On
; Whether to allow arguments to be passed by reference when forcing a function call. This approach has been protested,
; and may no longer be supported in future versions of Php/zend.
; Encouraged to specify which parameters are passed by reference in the function declaration.
; You are encouraged to try to close this option and confirm that your script still works to ensure that in future versions of the language
    • Total 7 Pages:
    • Previous page
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • Next page

http://www.bkjia.com/PHPjc/364033.html www.bkjia.com true http://www.bkjia.com/PHPjc/364033.html techarticle a file that controls many aspects of PHP's perspective. In order for PHP to read this file, it must be named; Acute;php.iniacute;. PHP will look for the file in these places: current work ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.