极限首页 业界焦点 软件工程师之路 系统工程师之路 网络工程师之路 软件下载 技术社区
 RPM 打包软件技术详解(1)
 配置MySQL+PHP+Apahce
 安装 XAMPP 进行方便集成开
 用于 Python 的高级 GUI 库
 RPM 打包软件技术详解(2)
 php.ini的简单配置(一)
 RPM 打包软件技术详解(3)
 Python IDE 测评
 解决PHP存取MySQL 4.1乱码
 php.ini的简单配置(四)
 RPM 打包软件技术详解(1)
 配置MySQL+PHP+Apahce
 安装 XAMPP 进行方便集成开
 用于 Python 的高级 GUI 库
 RPM 打包软件技术详解(2)
 php.ini的简单配置(一)
 RPM 打包软件技术详解(3)
 Python IDE 测评
 解决PHP存取MySQL 4.1乱码
 php.ini的简单配置(四)

Shell 中文手册

Python 2.3 中文手册

Python 2.4 中文手册

Mysql 4.x 中文手册

PHP 4.x 中文手册

Apache 2.x 中文手册
更多手册

站内搜索:
当前位置:首页>>软件工程师之路>>编程基础>>正文
php.ini的简单配置(三)
时间:2005-02-26 作者:不详 来源:不详

  log_errors = On

; Store the last error/warning message in $php_errormsg (boolean).
;
;
; 保存最后的错误/警告信息在 $php_errormsg(boolean)里面。
;
;
track_errors = Off

; Disable the inclusion of HTML tags in error messages.
;
;
; 屏蔽掉错误信息里面内含的HTML标记
;
;
;html_errors = Off

; String to output before an error message.
;
;
; 错误信息前输出的字符串
;
;
;error_prepend_string = ""

; String to output after an error message.
;
;
; 错误信息后输出的字符串。
;
;
;error_append_string = ""

; Log errors to specified file.
;
;
; 错误写进指定的文件
;
;
;error_log = filename

; Log errors to syslog (Event Log on NT, not valid in Windows 95).
;error_log = syslog

; Warn if the + operator is used with strings.
;
;
; 在对字符串用 + 操作符时给出警告
;
;
warn_plus_overloading = Off


;;;;;;;;;;;;;;;;;
; Data Handling ;
;
;
; 数据处理
;
;
;;;;;;;;;;;;;;;;;
;
; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
;
; 注意,在 PHP 4.0.3 里面, track_vars 总是打开的。
;

; The separator used in PHP generated URLs to separate arguments.
; Default is "&".
;
;
; PHP在产生URLs时用于分割参数的分割符。默认是 "&"
;
;
;arg_separator.output = "&"

; List of separator(s) used by PHP to parse input URLs into variables.
; Default is "&".
; NOTE: Every character in this directive is considered as separator!
;
;
; PHP用于把输入的 URLs 解析为变量的分割符列表,默认是 "&";
; 注意:这个指示的每个字符都被认为是分割符
;
;
;arg_separator.input = ";&"

; This directive describes the order in which PHP registers GET, POST, Cookie,
; Environment and Built-in variables (G, P, C, E & S respectively, often
; referred to as EGPCS or GPC). Registration is done from left to right, newer
; values override older values.
;
;
; 这个指示描述PHP注册 GET,POST,Cookes,环境变量和内部变量的顺序(分别对应于 G,P,C,E 和 S,
; 经常为 EGPCS 或者 GPC).注册从左到右,新的值覆盖旧的值。
;
;
variables_order = "GPCS"

; Whether or not to register the EGPCS variables as global variables. You may
; want to turn this off if you don't want to clutter your scripts' global scope
; with user data. This makes most sense when coupled with track_vars - in which
; case you can access all of the GPC variables through the $HTTP_*_VARS[],
; variables.
;
;
; 是否注册 EGPCS 变量为全局变量。如果你不想和用户数据混淆脚本全局范围,你可能想关闭他。
; 结合 track_vars 可以更加理性。它可以让你通过 $HTTP_*_VARS[] 访问所有的GPC变量。
;
;
; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
;
;
; 你可以尽力书写不需要 register_globals 打开时的脚本。如果代码没有非常好的考虑是
; 使用来源于全局变量的表单数据很容易引起安全问题。
;
;
register_globals = Off

; This directive tells PHP whether to declare the argv&argc variables (that
; would contain the GET information). If you don't use these variables, you
; should turn it off for increased performance.
;
;
; 这个指示通知 PHP 是否声明 argv 和 argc 变量(他们可能包含 GET 信息)。
; 如果你不使用他们,你应该关闭他来提高性能。
;
;
register_argc_argv = Off

; Maximum size of POST data that PHP will accept.
;
;
; PHP接受的最大的 POST 数据尺寸
;
;
post_max_size = 8M

; This directive is deprecated. Use variables_order instead.
;
;
; 这个指示不赞成使用,使用 variables_order 代替
;
;
gpc_order = "GPC"

; Magic quotes
;

; Magic quotes for incoming GET/POST/Cookie data.
;
;
; 转换进入的 GET/POST/Cookie 数据
;
;
magic_quotes_gpc = Off

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
;
;
; 转换运行期间产生的数据,例如来自于 SQL, exec()等等
;
;
magic_quotes_runtime = Off

; Use Sybase-style magic quotes (escape ' with '' instead of ').
;
;
; 使用 Sybase 样式的转换(对于 ' 使用 '' 代替 ')
;
;
magic_quotes_sybase = Off

; Automatically add files before or after any PHP document.
;
;
; 在PHP文档前后自动加入的文件名字。
;
;
auto_prepend_file =
auto_append_file =

; As of 4.0b4, PHP always outputs a character encoding by default in
; the Content-type: header. To disable sending of the charset, simply
; set it to be empty.
;
; PHP's built-in default is text/html
;
;
; 在 4.0b4, PHP 总是在 Content-type:头里面发送默认的字符编码。要禁止发送字符设置
; 简单的把他设置为空就可以。
; PHP 内置的默认值是 text/html
;
;
default_mimetype = "text/html"
;default_charset = "iso-8859-1"


;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;
;
; 路径和目录
;
;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
;
;
; UNIX: 使用 /path1:path2 样式
;
;
;include_path = ".:/php/includes"
;
; Windows: "path1;path2"
;
; Window: 使用 path1;path2 样式
;
;include_path = ".;c:phpincludes"

; The root of the PHP pages, used only if nonempty.
;
;
; PHP 页面的根位置,仅在非空时使用
;
;
doc_root =

; The directory under which PHP opens the script using /~usernamem used only
; if nonempty.
;
;
; 使用 /~username 打开 PHP 脚本时的目录,非空时使用。
;
;
推荐】【 】【关闭


关于极限 | 站内地图 | 意见反馈 | 广告服务 | 数据服务 | 联系我们
本站所刊登的文章,技术资料,软件均整理于网络资源或本站原创,转载请务必联系原作者或本站。
Copyright ? 2001-2004 UPLinux.com All Rights Reserved.
本站唯一联系信箱:
京ICP备05010519