Chinaunix首页 | 论坛 | 博客
  • 博客访问: 18931301
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类:

2008-04-12 20:10:27

[MYSQL部分]

; Maximum time (in secondes) for connect timeout. -1 means no limimt
; MYSQL数据库连接超时时间,设置为-1则不限制
mysql.connect_timeout = 60

; Trace mode. When trace_mode is active (=On), warnings for table/index scans and SQL-Erros will be displayed
; 跟踪模式,当跟踪模式开启时(设置为ON),数据库表和标签索引扫描时会出现提示,出现的错误也会显示

mysql.trace_mode = Off

[session部分]
;按比率进行的'garbage collection(碎片整理)'进程,session.gc_divisor是PHP5里新增加的参数,用于设置进程的比率.比如说gc_probability = 1,gc_divisor     = 1000,意思就是按照千分之一的比率进行'garbage collection(碎片整理)'进程

session.gc_probability = 1
session.gc_divisor     = 1000

; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope, albeit register_globals
; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning seperately. At this time,
; the warning is only displayed, if bug_compat_42 is enabled.

; PHP 4.2和以前的版本都有个BUG,即使你禁止了"允许注册全局变量".仍然可以让你在全局变量范围中初始化一个SESSION的值,PHP 4.3 和以后的版本会发出相应的警告,你可以禁止警告.PHP5中,只有你打开了bug_compat_42(=ON),警告才会显示.

session.bug_compat_42 = 0
session.bug_compat_warn = 1

; Select a hash function
; 0: MD5   (128 bits)
; 1: SHA-1 (160 bits)
;选择一个HASH函数,0为MD5(128比特强度),1为SHA-1(160比特强度)

session.hash_function = 0

; Define how many bits are stored in each character when converting
; the binary hash data to something readable.
; 定义当转换2进制hash数据为一些可读的数据时,每个字符存储多少个比特.
; 4 比特: 0-9, a-f
; 5 比特: 0-9, a-v
; 6 比特: 0-9, a-z, A-Z, "-", ","

session.hash_bits_per_character = 5

[mbstring]
; language for internal character representation.
;内码语言类型

;mbstring.language = Japanese

; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
; 内码编码设置,如果有乱码可以设置为GB2312

;mbstring.internal_encoding = EUC-J

; http input encoding.
; HTTP头输入编码,auto为自动

;mbstring.http_input = auto

; Transparent output compression using the zlib library
; Valid values for this option are 'off', 'on', or a specific buffer size
; to be used for compression (default is 4KB)
; Note: Resulting chunk size may vary due to nature of compression. PHP
;       outputs chunks that are few handreds bytes each as a result of compression.
;       If you want larger chunk size for better performence, enable output_buffering
;       also.
; Note: output_handler must be empty if this is set 'On' !!!!
;       Instead you must use zlib.output_handler.

;使用ZLIB连接库输出压缩过程,默认的压缩缓冲大小4KB.如果你把这个选项设置
为空了,那么output_handler选项必须设置为空或者用;注释掉.否则就要开启zl
ib.output_handler为ON

zlib.output_compression = Off



; Do not log repeated messages. Repeated errors must occur in same file on same
; line until ignore_repeated_source is set true.
; 不记录错误报告信息.

ignore_repeated_errors = Off

阅读(307) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~