您的位置:首页 > 编程语言 > PHP开发

php.ini 中文版第一部分(关于PHP.ini)

2009-12-30 18:00 330 查看
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 译者 : 松风(silvester) ;
; Email : sf.beyond@Gmail.com ;
; Home : http://hi.baidu.com/ccex ;
; Info : php.ini-recommended(5.2.8) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[PHP]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; About php.ini 关于PHP.ini ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; This file controls many aspects of PHP's behavior. In order for PHP to
; read it, it must be named 'php.ini'. PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory. The
; path in which the php.ini file is looked for can be overridden using
; the -c argument in command line mode.
; php通过这个文件进行内置特性的配制,php按顺序读取此文件,另外此配制文件名
; 必须命名为'php.ini',php查找此文件的方法为以下几种:
; 1.php的工作目录, 也就是其安装目录。
; 2.环境变量'PHPRC'指定的目录。
; 3.编译时定义的配制文件路径(--with-config-file-path='路径')
; 4.在windows系统,编译时定义的路径是windows的工作目录(如C:\WINNT)
; 5.命令行模式时可以通过 -c 进行指定(如php -c '路径')
;
;
; The syntax of the file is extremely simple. Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
; 这个文件的语法是极简单的,空白加分号开始的语句行将被忽略,[]包含的字符也会被
; 忽略,尽管将来它们可能代表某种意思.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
; 配制项设定时使用以下语法:
; 配制项名称 = 配制的值
; 配制项的名称是区分大小写的, 如 foo=bar 和 FOO=BAR 是不同的.
; 配制的值可以是字符串, 数字, PHP常量(例如:E_ALL 或 M_PI), 或者是INI常量之一(如On,
; Off, True, False, Yes, No, None) 或者是一个表达式(例如:E_ALL & ~E_NOTICE) 或者是
; 双引号中的字符串(例如:"foo")
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; 此配制文件中的表达式限制是"位运算符"和圆括号.
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
; boolean标志启用时为1, On, True, Yes均可, 关闭时为0, Off, False, No均可.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
; 空字符串可以用"空白"作为代替, 或者使用None作为代替.
;
; foo = ; sets foo to an empty string
; ; 设置foo为空字符串
; foo = none ; sets foo to an empty string
; ; 设置foo为空字符串
; foo = "none" ; sets foo to the string 'none'
; ; 设置foo为字符串none
;
; If you use constants in your value, and these constants belong to a
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
; 如果你使用常量作为值, 并且这些值属于动态扩展库(PHP扩展或Zend扩展之一),这时
; 你必须在这些扩展库配制选项之后使用它们.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: