Under the php-5.2 php. ini Chinese version configuration instructions page 1/3 _ PHP Tutorial
Source: Internet
Author: User
Under the php-5.2 php. ini Chinese version configuration description 13th page .;;;;;;;;;;;;;; Syntax; the syntax of this file is very simple. Blank characters and rows starting with semicolons are ignored .; The chapter title (for example, [php]) is also ignored, even in the future ;;;;;;;;;;;;
; Syntax ;;
; The syntax of this file is very simple. Blank characters and rows starting with semicolons are ignored.
Chapter titles (for example, [php]) are also ignored, even if they may make some sense in the future.
Set the command format as follows:
; Directive = value
; Directive name (direve VE) is case sensitive! Therefore, "foo = bar" is different from "FOO = bar ".
; Value can be:
; 1. a string defined by quotation marks (for example, "foo ")
; 2. a Number (integer or floating point number, such as: 0, 1, 34,-1, 33.55)
3. a PHP constant (for example, E_ALL, M_PI)
4. an INI constant (On, Off, none)
; 5. an expression (for example, E_ALL &~ E_NOTICE)
The expression in the INI file only uses the bitwise operator, non-logical, and parentheses:
; | Bit or
; & Bit and
;~ Bitwise
;! Non-logical
; Boolean indicates opening with On and Off with Off.
An empty string can be used after the equal sign without any representation, or with the none keyword:
; Foo =; set foo as an empty string
; Foo = none; set foo as an empty string
; Foo = "none"; set foo as the string 'none'
If you use constants in the command value dynamic extension (PHP extension or Zend extension,
You can only use these constants after loading these dynamically scalable command lines.
; Httpd. conf ;;
You can also overwrite the php. ini value in httpd. conf for more flexible configuration:
; Php_value name value; specifies a non-bool instruction. if the value is set to none, the previous setting is cleared.
; Php_flag name on | off; only used to set bool commands
PHP constants (such as E_ALL) can only be used in php. ini. the corresponding mask value must be used in httpd. conf.
; Commands with the "SYS" flag can only be used in the global configuration section of httpd. conf.
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.