Chinaunix

标题: php5 新增加的参数设置 [打印本页]

作者: ah520    时间: 2007-04-22 15:58
标题: php5 新增加的参数设置
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
http://www.52ec.org
企业电子商务指南
http://www.sxian.net
数字寿州寿县门户
http://www.myjinxin.cn/
金信输送设备 输送机金信
http://www.jinxin8.com
、 工业流水线自动化流水线电动车流水线
http://www.jinxinec.com
  金信输送线输送流水线
http://www.wltuoye.com
  拓野流水线
http://www.liushuixian.com
中国流水线行业网
http://www.wltuoye.cn
  拓野生产线
http://www.myjinxin.com
  金信装配线、装配流水线
http://www.myjinxin.cn
  输送设备、输送机
http://www.51jinxin.com
金信生产线生产流水线
http://www.wlyalong.com
雅龙流水线
http://www.elyalong.com
雅龙生产线
http://www.wljinxin.com
金信流水线
http://www.wllianchuang.cn/
  自动化装配线输送线流水线生产线
http://www.zslsx.com
   增盛流水线
http://www.hekaitong.com
  和凯通电动门道闸岗亭
http://www.tzyalong.com/
  雅龙装配线,装配流水线
http://www.36oo.com
  台州水泵网
http://www.toplsx.com
  装配线,装配流水线,流水线配件
http://www.zjcmlsx.cn/
生产线、组装流水线、自动化流水线
http://www.tzcmlsx.cn/
输送线、输送流水线、皮带输送线
http://www.ecmlsx.cn/
板链线、流水线设备、皮带流水线
http://www.cncmlsx.cn/
流水线、工业流水线、自动化流水线
http://www.wlcmlsx.cn/
流水线、装配线、装配流水线、涂装流水线
http://www.51jinxin.com
生产流水线
http://www.wlyalong.com
流水线
http://www.elyalong.com
生产线
http://www.yalongec.com
输送设备
http://www.ecyalong.com
生产流水线
http://www.yalong8.com
" 输送机
http://www.yalong9.com
输送线
http://www.tzyalong.com
装配线,装配流水线
http://www.wlaoqi.cn
装配线,装配流水线


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/36870/showart_283742.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2