PHP]
PHP is still a constantly developing tool, its function is still constantly being reduced
And the setting changes for php.ini reflect considerable changes.
Before using the new PHP version, study PHP.ini will be beneficial.
;;;;;;;;;;;;;;;;;;;
About this document;
;;;;;;;;;;;;;;;;;;;
This file controls many views of PHP. In order to let PHP read this file, it must be named
'PHP.INI'. PHP will look for this file in these places: current work catalog; environment variable phprc
The path specified by the specified path;
Under Windows, the path to compile is a Windows installation directory.
In command line mode, the PHP.INI's lookup path can be replaced with the -c parameter.
The syntax of the file is very simple. Blank characters and semicolons ';' starting lines are simply ignored (just like you may
Gu. The chapter title (for example: [foo]) is also simply ignored, even if they may
There is a certain meaning.
;
Indicates that the following syntax is specified:
Indicator identifier = value
Directive = Value
The indication 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), ini
A (ON, OFF, TRUE, FALSE, YES, NO AND NONE), or an expression
(, Such as: e_all & ~ e_notice), or the string ("foo") enclosed with quotation marks.
;
The expression of the INI file is limited to position operators and parentheses.
| | Bitwise OR
& bitwise and
~ Bitwise Not
;! Boolean NOT
;
The Boolean flag can be placed in the state of 1, ON, True or Yes.
They can be placed in the relationship with 0, OFF, FALSE OR NO.
;
An empty string can be used to use anything after the equal sign, or use a None keyword:
;
; foo =; set foo to empty strings
Foo = none; set foo to empty string
Foo = "none"; set the FOO to string 'none'
;
If you use constants in your value setting, these constants belong to the dynamically transferred extension library (not PHP expansion,
; Zend's extension), you can only transfer these extended rows * * Use these constants.
;
All the values set in the php.ini-dist file are the same as the built-in default value (this is said if pHP.ini
Did not be used or you deleted these rows, the default value is the same as it).
;;;;;;;;;;;;;;;;;;;;;
Language options;
;;;;;;;;;;;;;;;;;;;;;
Engine = on
Make PHP Scripting Language Engine (PHP Scripting Language Engine) is valid under Apache.
Short_open_tag = on
; Allow Identity (this simple representation). Otherwise, only Php and