Php. ini for php-5.2 Chinese version-PHP source code

Source: Internet
Author: User
Ec (2); php for php-5.2. ini Chinese version; & nbsp; Overview & nbsp; & nbsp ;;;;;;;;;;;;;;;;;;;; this document is not for the English version of php. the simple translation of ini, but with reference to a lot of materials, combined with their own understanding, added a lot of content, including in the original php. some practical module configuration instructions are added based on ini, and the file content is "script" ec (2); "script"

Php. ini for php-5.2

;;;;;;;;;;;;;;
; Introduction ;;
;;;;;;;;;;;;;;
This article is not a simple translation of the English version of php. ini, but a lot of content has been added after referring to many documents and your own understanding,
Some practical module configuration instructions are added based on the original php. ini, and the file content is adjusted.
Because the author does not like "no-free", the configuration options of other database modules except MySQL and PostgreSQL are deleted.

;;;;;;;;;;;;;;;;;
; About php. ini ;;
;;;;;;;;;;;;;;;;;
The file must be named ''php. ini ''and placed in the directory specified by the PHPIniDir command in httpd. conf.
The latest php. ini version can be viewed in the following two locations:
; [Url] http://cvs.php.net/viewvc.cgi/php-src/php.ini-recommended? View = co [/url]
; [Url] http://cvs.php.net/viewvc.cgi/php-src/php.ini-dist? View = co [/url]


;;;;;;;;;;;;
; 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,
Commands with the "ini" flag cannot be used in httpd. conf. They can only be used in php. ini.


; ========================================================== ========================================================== ============
;; ================================================================ Detailed explanation of configuration instructions ==========================================================
; ========================================================== ========================================================== ============

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.