;;;;;;;;;;;;;;;;;
;; ?充?php.ini ;;
;;;;;;;;;;;;;;;;;
; 杩?涓???浠跺?椤诲?藉??涓?php.ini'骞舵?剧疆??ttpd.conf涓?PHPINIDir??浠ゆ??瀹?????褰?涓???
; ???扮??????php.ini??浠ュ?ㄤ???袱涓?浣?缃??ョ??锛?
; http://cvs.php.net/viewvc.cgi/php-src/php.ini-recommended?view=co
; http://cvs.php.net/viewvc.cgi/php-src/php.ini-dist?view=co
;;;;;;;;;;;;
;;? 璇?娉?? ;;
;;;;;;;;;;;;
; 璇ユ??浠剁??璇?娉???甯哥??????绌虹?藉??绗???浠ュ???峰?濮???琛?琚?绠????板拷?ャ??
; 绔?????棰?(渚?濡?: [php])涔?琚?绠????板拷?ワ??充娇灏??ュ??浠????芥????绉???涔???
;
; 璁剧疆??浠ょ???煎?濡?涓?锛?
; directive = value
; ??浠ゅ??(directive)??澶у?????????锛???浠?foo=bar"涓???浜?"FOO=bar"??
; ??value)??浠ユ??锛?
; 1. ?ㄥ??风??瀹???瀛?绗?覆(濡?锛?"foo")
; 2. 涓?涓??板??(?存?版??娴??规?帮?濡?锛?0, 1, 34, -1, 33.55)
; 3. 涓?涓?PHP甯搁??(濡?锛?E_ALL, M_PI)
; 4. 涓?涓?INI甯搁??(On, Off, none)
; 5. 涓?涓?琛ㄨ揪寮?(濡?锛?E_ALL & ~E_NOTICE)
;
; INI??浠朵腑??琛ㄨ揪寮?浠?浣跨???浣?杩?绠?绗????昏??????????凤?
; | 浣???
; & 浣?涓?
; ~ 浣???
; ! ?昏???
;
; 甯?灏???蹇???On 琛ㄧず??寮?锛???Off 琛ㄧず?抽????
;
; 涓?涓?绌哄??绗?覆??浠ョ?ㄥ?ㄧ???峰??涓???浠讳?涓?瑗胯〃绀猴???????none ?抽??瀛?锛?
; foo =? ? ? ? ?; 灏?foo璁句负绌哄??绗?覆
; foo = none? ? ; 灏?foo璁句负绌哄??绗?覆
; foo = "none"? ; 灏?foo璁句负瀛?绗?覆'none'
;
; 濡???浣??ㄦ??浠ゅ?间腑浣跨?ㄥ?ㄦ???╁?(PHP?╁???Zend?╁?)涓???甯搁??锛?
; ?d?浣????藉?ㄥ??杞借?浜??ㄦ???╁?????浠よ?涔???浣跨?ㄨ?浜?甯搁????
;;;;;;;;;;;;;;;;;;
;;? httpd.conf? ;;
;;;;;;;;;;;;;;;;;;
; ??浠ュ??ttpd.conf涓???瀵圭?瑰??????涓绘?烘????褰?瑕???php.ini???硷?浠ヨ?琛??寸?垫椿????缃?锛?
; php_admin_value name value? ;璁剧疆??bool??????浠わ?灏?value璁句负none??娓??ゅ??????璁惧??
; php_admin_flag? name on|off ;浠??ㄤ?璁剧疆bool??????浠? ; [??绀???涓哄?澶???浠や???璁镐娇??hp_value/php_flag杩?琛?璁剧疆锛???姝や?寤鸿??浣跨?ㄨ?涓や釜??
;
; PHP甯搁??(濡?E_ALL)浠??藉??hp.ini涓?浣跨?????ttpd.conf涓?蹇?椤讳娇?ㄧ?稿????╃???笺??
;[2008-3-2?ユ?存??
;==========================================================================================
;;=====================================??缃???浠よ??В========================================
;==========================================================================================
; 浠ヤ?姣?涓???浠ょ??璁惧???奸?戒? PHP-5.2.5 ??寤虹??榛?璁ゅ?肩?稿????
; 涔?灏辨??璇达?濡???'php.ini'涓?瀛????????浣?????浜???浜?琛?锛?榛?璁ゅ?间?涔??稿????
;;;;;;;;;;;;;;
;;? Apache? ;;
;;;;;;;;;;;;;;
[Apache]
; 浠??ㄥ?PHP浣?涓?pache妯″???舵????????
child_terminate = Off
; PHP?????ㄨ?锋?缁???????????璁镐娇??pache_child_terminate()?芥?扮?姝㈠??杩?绋???
; 璇ユ??浠や???NIX骞冲?颁?灏?PHP瀹?瑁?涓?pache1.3??妯″???跺???ㄣ???朵????典???涓?瀛??ㄣ??
engine = On
; ????????HP瑙f??寮?????
; ??绀猴???浠ュ??ttpd.conf涓??轰???褰?????????涓绘?烘?ユ??寮??????抽??PHP瑙f??寮?????
last_modified = Off
; ??????ast-Modified搴?绛?澶翠腑?剧疆璇?HP??????????淇??规?堕?淬??
xbithack = Off
; ?????绠℃??浠剁?灏炬??浠?涔?锛??戒?涓?HP???ц?浣?缁??ヨВ????
;;;;;;;;;;;;;;;
;;? PHP?稿?? ;;
;;;;;;;;;;;;;;;
[PHP-Core-DateTime]
; ????涓???缃???椤圭????浠??ㄤ?date_sunrise()??date_sunset()?芥?般??
date.default_latitude = 31.7667
; 榛?璁ょ含搴?
date.default_longitude = 35.2333
; 榛?璁ょ?搴?
date.sunrise_zenith = 90.583333
; 榛?璁ゆ?ュ?哄ぉ椤?
date.sunset_zenith = 90.583333
; 榛?璁ゆ?ヨ?藉ぉ椤?
date.timezone =
; ??璁惧??TZ??澧??????剁?ㄤ??????ユ?????堕?村?芥?扮??榛?璁ゆ?跺?恒??
; 涓??藉ぇ??搴?褰?浣跨??PRC"
; 搴??ㄦ?跺?虹??浼???椤哄?涓猴?
; 1. ??ate_default_timezone_set()?芥?拌?惧?????跺??濡???璁惧??浜???璇?)
; 2. TZ ??澧?????(濡?????绌虹??璇?)
; 3. 璇ユ??浠ょ????濡???璁惧??浜???璇?)
; 4. PHP??宸辨?ㄦ?(濡?????浣?绯荤?????)
; 5. 濡???浠ヤ??戒?????锛???浣跨??"UTC"
[PHP-Core-Assert]
assert.active = On
; ????????ssert()??瑷?璇?浼?
assert.bail = Off
; ?????ㄥ????澶辫触??瑷??朵腑姝㈣???????ц?
assert.callback =
; ????澶辫触??瑷??舵?ц?????璋??芥??
assert.quiet_eval = Off
; ????娇?ㄥ????璇?浼?涓??剧ず浠讳???璇?淇℃??锛??稿?浜?error_reporting=0)??
; ?ュ?抽?????ㄨ??浼版??瑷?琛ㄨ揪寮????跺??浣跨?ㄥ?????error_reporting??浠ゅ?笺??
assert.warning = On
; ?????规??涓?澶辫触??瑷??藉???鸿????
[PHP-Core-SafeMode]
; 瀹??ㄦā寮???涓轰?瑙e?冲?变韩???″?ㄧ??瀹??ㄩ??棰???璁剧??????
; 浣?璇??惧??HP灞?瑙e?宠?涓???棰??ㄧ???涓???涓???????锛?
; 姝g‘????娉?搴?褰???淇???eb???″?ㄥ?????浣?绯荤?灞???
; ??姝ゅ??HP6涓?搴??や?瀹??ㄦā寮?锛?骞朵娇?ㄥ?轰?open_basedir??瀹??ㄩ?叉?ゃ??
; 姝ら?ㄥ????浠ゅ??HP6涓?宸茬??ㄩ?ㄨ????ゃ??
safe_mode = Off
; ???????ㄥ???ㄦā寮???
; ??寮??讹?PHP灏?妫??ュ??????????ユ??????????琚???浣?????浠剁???ユ?????稿??锛?
; ?稿??????璁告??浣?锛?涓???????缁???浣???
safe_mode_gid = Off
; ?ㄥ???ㄦā寮?涓?锛?榛?璁ゅ?ㄨ?块????浠舵?朵???UID姣?杈?妫??ャ??
; 浣???浜????典?涓ユ?肩??UID妫??ュ??????涓???????锛?瀹芥?剧??GID妫??ュ凡缁?瓒冲???
; 濡???浣??冲??舵?惧?藉?颁???GID姣?杈?锛???浠ユ??寮?杩?涓????般??
safe_mode_allowed_env_vars = "PHP_"
; ?ㄥ???ㄦā寮?涓?锛??ㄦ?蜂???浠ユ?存?圭????澧?????????缂???琛????峰????)??
; ??璁哥?ㄦ?疯?剧疆??浜???澧?????锛????戒?瀵艰?存??ㄧ??瀹??ㄦ?娲???
; 娉ㄦ??: 濡???杩?涓????板?间负绌猴?PHP灏???璁哥?ㄦ?锋?存?逛换????澧?????锛?
safe_mode_protected_env_vars = "LD_LIBRARY_PATH"
; ?ㄥ???ㄦā寮?涓?锛??ㄦ?蜂??芥?存?圭????澧???????琛????峰????)??
; 杩?浜??????充娇??afe_mode_allowed_env_vars??浠よ?剧疆涓哄??璁哥?????典?涔?浼?寰??颁??ゃ??
safe_mode_exec_dir = "/usr/local/php/bin"
; ?ㄥ???ㄦā寮?涓?锛?????璇ョ??褰?涓??????ц?绋?搴?????璁歌??ц?绯荤?绋?搴????芥?版?ц???
; 杩?浜??芥?版??锛?system, escapeshellarg, escapeshellcmd, exec, passthru,
; proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec
safe_mode_include_dir =
; ?ㄥ???ㄦā寮?涓?锛?璇ョ???褰????跺????褰?涓?????浠惰??????讹?灏?璺宠?UID/GID妫??ャ??
; ?㈠?ヨ??璇达?濡???姝ゅ????间负绌猴?浠讳?UID/GID涓?绗???????浠堕?戒???璁歌???????
; 杩???璁剧疆????褰?蹇?椤诲凡缁?瀛??ㄤ?include_path??浠や腑?????ㄥ???磋矾寰??ュ??????
; 澶?涓???褰?涔??寸?ㄥ????Win涓?涓哄??????寮???
; ??瀹??????跺????涓???涓?涓???缂?锛?????涓?涓???褰???锛?
; 涔?灏辨??璇?/dir/incl"灏???璁歌?块??"/dir/include"??"/dir/incls"
; 濡????ㄥ???灏?璁块???у?跺?ㄤ?涓???瀹?????褰?锛??d?璇峰?ㄧ?灏惧??涓???绾裤??
[PHP-Core-Safe]
allow_url_fopen = On
; ??????璁告??寮?杩?绋???浠?
allow_url_include = Off
; ??????璁?nclude/require杩?绋???浠躲??
disable_classes =
; 璇ユ??浠ゆ?ュ??涓?涓??ㄩ???峰??????绫诲????琛??浠ョ??ㄧ?瑰????绫汇??
disable_functions =
; 璇ユ??浠ゆ?ュ??涓?涓??ㄩ???峰???????芥?板????琛??浠ョ??ㄧ?瑰?????芥?般??
enable_dl = On
; ??????璁镐娇??l()?芥?般??dl()?芥?颁??ㄥ?PHP浣?涓?pache妯″??瀹?瑁??舵????????
; 绂???l()?芥?颁富瑕????轰?瀹??ㄨ????锛???涓哄????浠ョ?杩?open_basedir??浠ょ?????躲??
; ?ㄥ???ㄦā寮?涓?濮?缁?绂???l()?芥?帮???涓?绠℃?ゅ?濡?浣?璁剧疆??
; PHP6涓????や?璇ユ??浠わ??稿?浜?璁句负Off??
expose_php = On
; ?????撮??HP琚?瀹?瑁??ㄦ???″?ㄤ???浜?瀹?(??ttp澶翠腑??涓??剁?惧??)??
; 瀹?涓?浼???瀹??ㄤ????存?ュ???锛?浣?瀹?浣垮?瀹㈡?风???ラ?????″?ㄤ?瀹?瑁?浜?PHP??
open_basedir =
; 灏?PHP??璁告??浣?????????浠???????浠惰??韬?)?介???跺?ㄦ?ょ???褰???琛ㄤ???
; 褰?涓?涓?????璇??炬??寮?涓?涓???瀹???褰???涔?澶?????浠舵?讹?灏????版??缁???
; ??????绗??疯??ラ?戒?琚?瑙f??锛???浠ヤ????介??杩?绗??疯??ユ?ラ?垮?姝ら???躲??
; ?规????.'??瀹?浜?瀛??捐?ヨ????????褰?灏?琚?褰????哄????褰?锛?
; 浣?杩???浜??遍?╋???涓鸿??????宸ヤ???褰???浠ヨ交??琚?chdir()?瑰????
; 瀵逛??变韩???″?????ttpd.conf涓???瀵逛?????????涓绘?烘????褰??垫椿璁剧疆璇ユ??浠ゅ???寰???甯告???ㄣ??
; ??indows涓??ㄥ???峰??????褰?锛?UNIX绯荤?涓??ㄥ???峰??????褰???
; 浣?涓?pache妯″???讹??剁??褰?涓???open_basedir璺?寰?灏????ㄨ?缁ф?裤??
; ??瀹??????跺????涓???涓?涓???缂?锛?????涓?涓???褰???锛?
; 涔?灏辨??璇?/dir/incl"灏???璁歌?块??"/dir/include"??"/dir/incls"锛?
; 濡????ㄥ???灏?璁块???у?跺?ㄤ?涓???瀹?????褰?锛??d?璇峰?ㄧ?灏惧??涓?涓?涓???绾裤??
; 榛?璁ゆ????璁告??寮???????浠躲??
sql.safe_mode = Off
; ????娇??QL瀹??ㄦā寮???
; 濡?????寮?锛???瀹?榛?璁ゅ?肩???版??搴?杩??ュ?芥?板?浼?浣跨?ㄨ?浜?榛?璁ゅ?间唬?挎?????????般??
; 瀵逛?姣?涓?涓????版??搴???杩??ュ?芥?帮??堕?璁ゅ?艰?峰?????稿???????椤甸????
[PHP-Core-Error]
error_reporting = E_ALL & ~E_NOTICE
; ??璇??ュ??绾у????浣?瀛?娈电??????锛??ㄨ??浣跨??E_ALL | E_STRICT
;? ? 1? E_ERROR? ? ? ? ? ? ??村?界??杩?琛??堕??璇?
;? ? 2? E_WARNING? ? ? ? ? ?杩?琛??惰????(???村?芥?ч??璇?)
;? ? 4? E_PARSE? ? ? ? ? ? ?缂?璇??惰В????璇?
;? ? 8? E_NOTICE? ? ? ? ? ? 杩?琛??舵????(缁?甯告??bug锛?涔????芥????????)
;? ?16? E_CORE_ERROR? ? ? ? PHP???ㄦ?跺??濮???杩?绋?涓????村?介??璇?
;? ?32? E_CORE_WARNING? ? ? PHP???ㄦ?跺??濮???杩?绋?涓???璀???(???村?芥?ч??)
;? ?64? E_COMPILE_ERROR? ? ?缂?璇??惰?村?芥?ч??
;? 128? E_COMPILE_WARNING? ?缂?璇??惰????(???村?芥?ч??)
;? 256? E_USER_ERROR? ? ? ? ?ㄦ?疯??瀹?涔????村?介??璇?
;? 512? E_USER_WARNING? ? ? ?ㄦ?疯??瀹?涔???璀???(???村?芥?ч??璇?)
; 1024? E_USER_NOTICE? ? ? ??ㄦ?疯??瀹?涔???????(缁?甯告??bug锛?涔????芥????????)
; 2048? E_STRICT? ? ? ? ? ? 缂?????????璀???(寤鸿??濡?浣?淇??逛互?????煎??
; 4096? E_RECOVERABLE_ERROR ?ヨ??村?界??杩?琛??堕??璇?锛??ユ??琚????峰??瑙???E_ERROR
; 6143? E_ALL? ? ? ? ? ? ? ???_STRICT澶?????????璇?(PHP6涓?涓?191,?冲????????)
; 涔???浠ョ??147483647(????浜?杩??朵??ㄤ负1)??寮??板?ㄦ??灏??ュ???藉?虹?扮????绉???璇?
track_errors = Off
; ?????ㄥ????$php_errormsg涓?淇?瀛???杩?涓?涓???璇???璀???娑?????
display_errors = On
; ???????璇?淇℃??浣?涓鸿??虹??涓??ㄥ???剧ず??
; ?ㄦ??缁???甯???web绔??逛?锛?寮虹??寤鸿??浣??虫??杩?涓??规?э?骞朵娇?ㄩ??璇??ュ?浠f??????涓?????
; ?ㄦ??缁???甯???web绔??规??寮?杩?涓??规?у???芥?撮?蹭?浜?瀹??ㄤ俊??锛?
; 渚?濡?浣???web???′?????浠惰矾寰????版??搴?瑙?????????淇℃????
display_startup_errors = Off
; ?????剧ずPHP???ㄦ?剁????璇???
; ?充娇display_errors??浠よ???寮?锛??抽??姝ゅ???颁?灏?涓??剧ずPHP???ㄦ?剁????璇???
; 寤鸿??浣??虫??杩?涓??规?э??ら??浣?蹇?椤昏??ㄤ?璋?璇?涓???
report_memleaks = On
; ?????ュ????瀛?娉?婕???杩?涓????板???ㄤ互璋?璇??瑰?缂?璇???PHP涓?璧蜂????
; 骞朵?蹇?椤诲??rror_reporting??浠や腑???? E_WARNING
report_zend_debug = On
; 灏???璇存????妗?
html_errors = On
; ?????ㄥ?洪??淇℃??涓?浣跨??TML??璁般??
; 娉ㄦ??: 涓?瑕??ㄥ??甯???绔??逛?浣跨?ㄨ?涓??规?э?
docref_root =? ;"http://localhost/phpmanual/"
docref_ext =? ?;".html"
; 濡?????寮?浜?html_errors??浠わ?PHP灏?浼??ㄥ?洪??淇℃??涓??剧ず瓒?杩??ワ?
; ?存?ラ?炬?ュ?颁?涓?璇存??杩?涓???璇?????瀵艰?磋?涓???璇????芥?扮??椤甸????
; 浣???浠ヤ?http://www.php.net/docs.php涓?杞?hp????锛?
; 骞跺?docref_root??浠ゆ????浣????扮?????????ㄧ??URL??褰???
; 浣?杩?蹇?椤昏?剧疆docref_ext??浠ゆ?ユ??瀹???浠剁???╁???(蹇?椤诲????'.')??
; 娉ㄦ??: 涓?瑕??ㄥ??甯???绔??逛?浣跨?ㄨ?涓??规?с??
error_prepend_string =? ;"<font color=#f00>"
; ?ㄤ???璇?淇℃????杈??虹??瀛?绗?覆
error_append_string =? ?;"</font>"
; ?ㄤ???璇?淇℃????杈??虹??瀛?绗?覆
xmlrpc_errors = Off
xmlrpc_error_number = 0
; 灏?????妗?
[PHP-Core-Logging]
define_syslog_variables = Off
; ??????涔???绉?绯荤??ュ?????锛?濡?锛?$LOG_PID, $LOG_CRON 绛?绛???
; ?虫??瀹?浠ユ??楂???????濂戒富????
; 浣???浠ュ?ㄨ?琛??惰???efine_syslog_variables()?芥?版?ュ??涔?杩?浜???????
error_log =
; 灏???璇??ュ?璁板??板??涓???浠朵腑??璇ユ??浠跺?椤诲??eb???″?ㄧ?ㄦ?峰??????
; syslog 琛ㄧず璁板??扮郴缁??ュ?涓?(NT涓???浜?浠舵?ュ?, Unix涓???syslog(3))
; 濡???姝ゅ???璁剧疆浠讳??硷?????璇?灏?琚?璁板???eb???″?ㄧ????璇??ュ?涓???
log_errors = Off
; ?????ㄦ?ュ???浠堕??璁板???璇?锛??蜂??ㄥ????璁板????充?error_log??浠ゃ??
; 寮虹??寤鸿??浣??ㄦ??缁???甯???web绔??规?朵娇?ㄦ?ュ?璁板???璇???涓????存?ヨ??猴?
; 杩??峰??浠ヨ?╀??㈢?ラ???i???轰???棰?锛???涓?浼??撮?叉????淇℃????
log_errors_max_len = 1024
; 璁剧疆??璇??ュ?涓???????涓???璇?淇℃???稿?宠??????璇?婧?????澶ч?垮害??
; 杩???璁剧疆???煎?规?剧ず????璁板?????璇?浠ュ??$php_errormsg?芥??????
; 璁句负 0 ??浠ュ??璁告?????垮害??
ignore_repeated_errors = Off
; 璁板???璇??ュ??舵????拷?ラ??澶?????璇?淇℃????
; ??璇?淇℃??蹇?椤诲?虹?板?ㄥ??涓???浠剁????涓?琛???琚?琚?瑙?涓洪??澶???
ignore_repeated_source = Off
; ?????ㄥ拷?ラ??澶?????璇?淇℃???跺拷?ラ??澶?????璇?婧???
[PHP-Core-Mail]
; 瑕?浣块??浠跺?芥?板?????PHP蹇?椤诲?ㄧ?璇??惰?藉?璁块??sendmail绋?搴???
; 濡???浣跨?ㄥ?跺??????浠剁?搴?锛?濡?qmail??postfix锛?纭?淇?浣跨?ㄤ??稿???sendmail??瑁???
; PHP棣???浼??ㄧ郴缁???PATH??澧?????涓???绱?endmail锛??ョ????浠ヤ?椤哄???绱??
; /usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
; 寮虹??寤鸿????ATH涓??藉??惧??endmail??
; ???锛?缂?璇?PHP???ㄦ?峰?椤昏?藉?璁块??sendmail绋?搴???
SMTP = "localhost"
; mail()?芥?颁腑?ㄦ?ュ??????浠剁??SMTP???″?ㄧ??涓绘?哄??绉版????IP?板????浠??ㄤ?win32??
smtp_port = 25
; SMTP???″?ㄧ??绔??e?枫??浠??ㄤ?win32??
sendmail_from =
; ??????浠舵?朵娇?ㄧ??"From:"澶翠腑????浠跺?板????浠??ㄤ?win32
; 璇ラ??椤硅????惰?剧疆浜?"Return-Path:"澶淬??
sendmail_path = "-t -i"
; 浠??ㄤ?unix锛?涔???????????榛?璁ょ????'sendmail -t -i')
; sendmail绋?搴???璺?寰?锛???甯镐负"/usr/sbin/sendmail??/usr/lib/sendmail"??
; configure????浼?灏?璇??惧?拌?ョ?搴?骞惰?惧??涓洪?璁ゅ?硷?浣???濡???澶辫触??璇?锛???浠ュ?ㄨ???璁惧????
; 涓?浣跨??endmail??绯荤?搴?灏?姝ゆ??浠よ?惧??涓?endmail?夸唬绋?搴?(濡???????璇?)??
; 渚?濡?锛?Qmail?ㄦ?烽??甯稿??浠ヨ?句负"/var/qmail/bin/sendmail"??"/var/qmail/bin/qmail-inject"??
; qmail-inject 涓???瑕?浠讳???椤瑰氨?芥?g‘澶?????浠躲??
mail.force_extra_parameters =
; 浣?涓洪?澶??????颁???缁?sendmail搴???寮哄?舵??瀹??????伴?????笺??
; 杩?浜????版?绘??浼??挎?㈡??mail()??绗?5涓????帮??充娇?ㄥ???ㄦā寮?涓?涔???濡?姝ゃ??
[PHP-Core-ResourceLimit]
default_socket_timeout = 60
; 榛?璁?ocket瓒???绉?)
max_execution_time = 30
; 姣?涓???????澶у??璁告?ц??堕??绉?)锛?0 琛ㄧず娌℃?????躲??
; 杩?涓????版???╀??绘?㈠?h川??????浼?姝㈢?????ㄦ???″?ㄨ?婧???
; 璇ユ??浠や?褰卞????????韬???杩?琛??堕?达?浠讳??跺???辫垂?ㄨ????杩?琛?涔?澶????堕?达?
; 濡???ystem()/sleep()?芥?扮??浣跨?ㄣ???版??搴??ヨ??????浠朵?浼?绛?锛??戒??????ㄥ????
; ?ㄥ???ㄦā寮?涓?锛?浣?涓??界??ni_set()?ㄨ?琛??舵?瑰??杩?涓?璁剧疆??
memory_limit = 128M
; 涓?涓????????藉??宠?峰?扮????澶у??瀛?瀛???????浠ヤ娇????M浣?涓哄??浣?)??
; 杩????╀??叉?㈠?h川????娑???瀹????″?ㄤ?????????瀛???
; 瑕??藉?浣跨?ㄨ?ユ??浠ゅ?椤诲?ㄧ?璇??朵娇??--enable-memory-limit"??缃???椤广??
; 濡???瑕???娑???瀛????讹???蹇?椤诲??惰?句负 -1 ??
; 璁剧疆浜?璇ユ??浠ゅ??锛?memory_get_usage()?芥?板???涓哄???ㄣ??
max_input_time = -1
; 姣?涓?????瑙f??杈??ユ?版??(POST, GET, upload)????澶у??璁告?堕??绉?)??
; -1 琛ㄧず涓????躲??
max_input_nesting_level = 64
; 杈??ュ????????澶у?濂?娣卞害(灏????村?瑙i????妗?
post_max_size = 8M
; ??璁哥??POST?版????澶у?????垮害??姝よ?惧??涔?褰卞???版??浠朵?浼???
; 濡???POST?版??瓒??洪???讹??d?$_POST??$_FILES灏?浼?涓虹┖??
; 瑕?涓?浼?澶ф??浠讹?璇ュ?煎?椤诲ぇ浜?upload_max_filesize??浠ょ???笺??
; 濡??????ㄤ???瀛????讹??d?璇ュ?煎?褰?灏?浜?memory_limit??浠ょ???笺??
realpath_cache_size = 16K
; ??瀹?PHP浣跨?ㄧ??realpath(瑙???????缁?瀵硅矾寰???)缂??插?哄ぇ灏???
; ??HP??寮?澶ч????浠剁??绯荤?涓?搴?褰?澧?澶ц?ュ?间互??楂??ц?姐??
realpath_cache_ttl = 120
; realpath缂??插?轰腑淇℃??????????(绉?)??
; 瀵规??浠跺?灏????ㄧ??绯荤?锛???浠ュ?澶ц?ュ?间互??楂??ц?姐??
[PHP-Core-FileUpLoad]
file_uploads = On
; ??????璁?TTP??浠朵?浼???
; ??瑙?upload_max_filesize, upload_tmp_dir, post_max_size??浠?
upload_max_filesize = 2M
; ??璁镐?浼?????浠剁????澶у昂瀵搞??
upload_tmp_dir =
; ??浠朵?浼??跺???炬??浠剁??涓存?剁??褰?(蹇?椤绘??PHP杩?绋??ㄦ?峰????????褰?)??
; 濡???????瀹???PHP浣跨?ㄧ郴缁?榛?璁ょ??涓存?剁??褰???
[PHP-Core-MagicQuotes]
; PHP6???や?涓?????浠わ??稿?浜??ㄩ?ㄤ负 Off
magic_quotes_gpc = Off
; ?????硅??ョ??GET/POST/Cookie?版??浣跨?ㄨ???ㄥ??绗?覆杞?涔?( '? "? /? NULL )??
; 杩?????璁剧疆灏????ㄥ奖?? $_GEST $_POST $_COOKIE ?扮????笺??
; ?ュ?????浠や?magic_quotes_sybase??浠ゅ???舵??寮?锛???浠?灏???寮???')杞?涔?涓?'')锛?
; ?跺???规??瀛?绗??涓?琚?杞?涔?锛??? "? /? NULL )灏?淇??????凤?锛?
; 寤鸿???抽??姝ょ?规?э?骞朵娇?ㄨ??瀹?涔???杩?婊ゅ?芥?般??
magic_quotes_runtime = Off
; ?????硅?琛??朵?澶??ㄨ?婧?浜х?????版??浣跨?ㄨ???ㄥ??绗?覆杞?涔?( '? "? /? NULL )??
; ?ユ??寮?????浠わ???澶у??板?芥?颁?澶??ㄨ?婧?(?版??搴?,??????浠剁??)杩????版???藉?琚?杞?涔???
; 渚?濡?锛???QL?ヨ?㈠??扮???版??锛???xec()?芥?板??扮???版??锛?绛?绛?
; ?ュ?????浠や?magic_quotes_sybase??浠ゅ???舵??寮?锛???浠?灏???寮???')杞?涔?涓?'')锛?
; ?跺???规??瀛?绗??涓?琚?杞?涔?锛??? "? /? NULL )灏?淇??????凤?锛?
; 寤鸿???抽??姝ょ?规?э?骞惰??蜂????典娇?ㄨ??瀹?涔???杩?婊ゅ?芥?般??
magic_quotes_sybase = Off
; ????????ybase褰㈠??????ㄥ??绗?覆杞?涔?(??'' 琛ㄧず ')
[PHP-Core-HighLight]
highlight.bg = "#FFFFFF"
highlight.comment = "#FF8000"
highlight.default = "#0000BB"
highlight.html = "#000000"
highlight.keyword = "#007700"
highlight.string = "#DD0000"
; 璇?娉?楂?浜?妯″????插僵(??甯哥?ㄤ??剧ず .phps ??浠???
; ??瑕??借?<font color=xxx>?ュ????涓?瑗垮氨?芥?e父宸ヤ???
[PHP-Core-Langue]
short_open_tag = On
; ??????璁镐娇??<? ?>"????璇???????蹇?椤讳娇??<?php ?>"?挎??璇???
; ?ら??浣???php绋?搴?浠??ㄥ???х??澧?涓?杩?琛?锛?涓???渚???宸变娇???????璇蜂?瑕?浣跨?ㄧ????璁般??
; 濡???瑕???XML缁???浣跨??HP锛???浠ラ???╁?抽??姝ら??椤逛互?逛究?存?ュ???<?xml ... ?>"锛?
; 涓??朵?蹇?椤荤??HP?ヨ??猴?<? echo '<?xml version="1.0"'; ?>
; ????浠や?浼?褰卞???扮缉??褰㈠?"<?="锛?瀹???"<? echo"绛?浠凤?瑕?浣跨?ㄥ??涔?蹇?椤绘??寮?????璁般??
asp_tags = Off
; ??????璁?SP椋??肩????璁?<% %>"锛?杩?涔?浼?褰卞???扮缉??褰㈠?"<%="??
; PHP6涓?灏????ゆ?ゆ??浠?
arg_separator.output = "&"
; PHP??浜х????URL涓??ㄦ?ュ???????扮??????绗???
; ???杩???浠ョ??&"??","绛?绛???
arg_separator.input = "&"
; PHP瑙f??URL涓????????朵娇?ㄧ??????绗???琛ㄣ??
; 瀛?绗?覆涓???姣?涓?涓?瀛?绗??戒?琚?褰?浣????茬????
; ???杩???浠ョ??,&"绛?绛???
allow_call_time_pass_reference = On
; ????己杩??ㄥ?芥?拌??ㄦ?舵??寮??ㄤ???????姣?娆′娇?ㄦ?ょ?规?ч?戒??跺?颁??¤????)??
; php??瀵硅?绉???娉?锛?骞跺??HP6?????や?璇ユ??浠??稿?浜?璁句负Off)锛???涓哄??褰卞???颁?浠g?????存???
; 榧??辩???规????ㄥ?芥?板0??????纭???瀹???浜????版??寮??ㄤ?????
; ??浠?榧??变??抽??杩?涓???椤癸?浠ヤ?璇?浣????????ㄥ??ョ??????璇?瑷???浠??芥?e父宸ヤ???
auto_globals_jit = On
; ??????ㄤ娇?ㄥ??_SERVER??$_ENV?????舵????寤???涓????ㄨ????涓????ㄦ?跺氨???ㄥ??寤???
; 濡???骞舵???ㄨ????涓?浣跨?ㄨ?涓や釜?扮?锛???寮?璇ユ??浠ゅ?浼??峰??ц?戒?????????
; 瑕??宠?ユ??浠ょ????锛?蹇?椤诲?抽??register_globals??register_long_arrays??浠ゃ??
auto_prepend_file =
auto_append_file? =
; ??瀹??ㄤ富??浠朵???/?????ㄨВ??????浠跺????涓虹┖琛ㄧず绂??ㄨ?ョ?规?с??
; 璇ユ??浠跺氨??璋??ㄤ?include()?芥?拌?????杩??ヤ??凤???姝や?浣跨??nclude_path??浠ょ???笺??
; 娉ㄦ??锛?濡?????????杩?exit()缁?姝???d????ㄥ??缂?灏?涓?浼???????
variables_order = "EGPCS"
; PHP娉ㄥ?? Environment, GET, POST, Cookie, Server ??????椤哄???
; ??????E, G, P, C, S 琛ㄧず锛???浠?宸??板?虫敞??锛??板?艰????у?笺??
; 涓句?璇达?璁句负"GP"灏?浼?瀵艰?寸??OST????瑕?????????GET????锛?
; 骞跺???ㄥ拷??Environment, Cookie, Server ??????
; ?ㄨ??浣跨??GPC"??"GPCS"锛?骞朵娇??etenv()?芥?拌?块????澧???????
register_globals = Off
; ????? E, G, P, C, S ????娉ㄥ??涓哄?ㄥ???????
; ??寮?璇ユ??浠ゅ???戒?瀵艰?翠弗????瀹??ㄩ??棰?锛??ら??浣???????缁?杩???甯镐?缁???妫??ャ??
; ?ㄨ??浣跨?ㄩ?瀹?涔???瓒??ㄥ?????锛?$_ENV, $_GET, $_POST, $_COOKIE, $_SERVER
; 璇ユ??浠ゅ??variables_order??浠ょ??褰卞????
; PHP6涓?宸茬????ゆ?ゆ??浠ゃ??
register_argc_argv = On
; ????0??$argv??$argc?ㄥ?????(??????ET?规???淇℃??)??
; 寤鸿??涓?瑕?浣跨?ㄨ?涓や釜????锛?骞跺?虫??璇ユ??浠や互??楂??ц?姐??
register_long_arrays = On
; ???????ㄦ?у????垮??扮?(HTTP_*_VARS)??
; 榧??变娇?ㄧ??寮???棰?瀹?涔?瓒??ㄥ??扮?锛?骞跺?抽??璇ョ?规?т互?峰??村ソ???ц?姐??
; PHP6涓?宸茬????ゆ?ゆ??浠ゃ??
always_populate_raw_post_data = Off
; ?????绘??????$HTTP_RAW_POST_DATA????(??濮?POST?版??)??
; ????锛?姝ゅ????浠??ㄩ???颁??借??????MIME绫诲?????版???舵??浜х????
; 涓?杩?锛?璁块????濮?POST?版?????村ソ?规??? php://input ??
; $HTTP_RAW_POST_DATA瀵逛?enctype="multipart/form-data"??琛ㄥ???版??涓????ㄣ??
unserialize_callback_func =
; 濡???瑙e?????澶????ㄩ??瑕?瀹?渚???涓?涓???瀹?涔???绫伙?
; 杩?????瀹?????璋??芥?板?浠ヨ?ユ??瀹?涔?绫荤????瀛?浣?涓哄???拌?unserialize()璋????
; 浠ュ??寰??颁?瀹??寸??"__PHP_Incomplete_Class"瀵硅薄??
; 濡???杩???娌℃????瀹??芥?帮?????瀹????芥?颁?????(??瀹????d釜??瀹?涔???绫伙?灏?浼??剧ず璀???淇℃????
; ??浠ヤ??ㄧ‘瀹???瑕?瀹??拌??风????璋??芥?版?舵??璁剧疆璇ユ??浠ゃ??
; ?ヨ?绂?姝㈣?涓??规?э?????缃?绌哄?冲????
y2k_compliance = On
; ????己?舵??寮?2000骞撮??搴?(???藉?ㄩ??Y2K??搴???娴?瑙??ㄤ腑瀵艰?撮??棰?)??
zend.ze1_compatibility_mode = Off
; ????娇?ㄥ?煎??end寮???I(PHP 4.x)??妯″???PHP6涓?灏????よ?ユ??浠??稿?浜?Off)??
; 杩?灏?褰卞??瀵硅薄??澶??躲??????(??灞??х??瀵硅薄浼?浜х??FALSE??0)??姣?杈???
; ?煎?规ā寮?涓?锛?瀵硅薄灏????间???锛???涓???榛?璁ょ????寮??ㄤ?????
precision = 14
; 娴??瑰???版???剧ず??????浣??般??
serialize_precision = 100
; 灏?娴??瑰??????绮惧害???版??搴?????瀛??ㄦ?剁??绮惧害(????浣?????
; 榛?璁ゅ?艰?藉?纭?淇?娴??瑰???版??琚?瑙e?????绋?搴?瑙g???朵?浼?涓㈠け?版????
[PHP-Core-OutputControl]
; 杈??烘?у?跺?芥?板???????瑰?????ㄥ凡缁?杈??轰?淇℃??涔?????????HTTP澶寸?????典???
; 杈??烘?у?跺?芥?颁?浼?浣??ㄤ?header()??setcookie()绛??芥?板??????HTTP澶达?
; ????浼?褰卞??绫讳技浜?echo()?芥?拌??虹??淇℃????宓??ュ??HP浠g??涔??寸??淇℃????
implicit_flush = Off
; ?????姹?PHP杈??哄??ㄦ??涓?杈??哄??涔??????ㄥ?锋?版?版????
; 杩?绛???浜??ㄦ??涓? print()??echo()??HTML?? 涔??????ㄨ???lush()?芥?般??
; ??寮?杩?涓???椤瑰?圭?搴??ц????ц?芥??涓ラ????褰卞??锛???甯稿???ㄨ???ㄨ?璇??朵娇?ㄣ??
; ??LI SAPI???ц?妯″?涓?锛?璇ユ??浠ら?璁や负 On ??
output_buffering = 0
; 杈??虹??插?哄ぇ灏?(瀛???)??寤鸿???间负4096~8192??
; 杈??虹??插??璁镐????冲?ㄨ??烘?f????瀹逛?????????HTTP澶?????cookies)??
; ?朵唬浠锋??杈??哄???????圭?归??搴???
; 璁剧疆杈??虹??插??浠ュ??灏????ワ????惰??藉??灏?缃?缁??版????????????
; 杩?涓????扮??瀹????剁??寰?澶х?搴?????充?浣?浣跨?ㄧ????浠?涔?Web???″?ㄤ互??浠?涔??风????????
output_handler =
; 灏???????????杈??洪??瀹????颁?涓?杈??哄????芥?般??
; 姣?濡?锛???瀹?????b_output_handler()?芥?版?讹?瀛?绗????灏?琚??????拌浆??负??瀹???缂?????
; 涓?????ㄨ?????瀹?浜?杈??哄???绋?搴?锛?杈??虹??插?琚????ㄦ??寮?(output_buffering=4096)??
; 娉ㄦ??0: 姝ゅ?浠??戒娇??HP??缃????芥?帮???瀹?涔??芥?板??ㄨ????涓?浣跨??b_start()??瀹???
; 娉ㄦ??1: ??绉绘?????涓??戒?璧?璇ユ??浠わ???搴?浣跨??b_start()?芥?版??纭???瀹?杈??哄????芥?般??
;? ? ? ? 浣跨?ㄨ?涓???浠ゅ???戒?瀵艰?存??浜?浣?涓????????????洪????
; 娉ㄦ??2: 浣?涓??藉???朵娇??mb_output_handler"??"ob_iconv_handler"涓や釜杈??哄????芥?般??
;? ? ? ? 浣?涔?涓??藉???朵娇??ob_gzhandler"杈??哄????芥?板??zlib.output_compression??浠ゃ??
; 娉ㄦ??3: 濡???浣跨??lib.output_handler??浠ゅ???zlib杈??哄??缂╋?璇ユ??浠ゅ?椤讳负绌恒??
[PHP-Core-Directory]
include_path = ".:/path/to/php/pear"
; ??瀹?涓?缁???褰??ㄤ?require(), include(), fopen_with_path()?芥?板?绘?炬??浠躲??
; ?煎???绯荤???PATH??澧?????绫讳技(UNIX涓??ㄥ???峰????锛?Windows涓??ㄥ???峰????)锛?
; UNIX: "/path1:/path2"
; Windows: "/path1;/path2"
; ?ㄥ????璺?寰?涓?浣跨??.'??浠ュ??璁哥?稿?硅矾寰?锛?瀹?浠h〃褰?????褰???
user_dir =
; ??璇?php?ㄤ娇??/~username ??寮??????跺?板??涓???褰?涓??绘?撅?浠??ㄩ??绌烘?舵??????
; 涔?灏辨???ㄧ?ㄦ?风??褰?涔?涓?浣跨??HP??浠剁???烘????褰???锛?渚?濡?锛?"public_html"
extension_dir = "/path/to/php"
; 瀛??炬?╁?搴?(妯″??)????褰?锛?涔?灏辨??PHP?ㄦ?ュ?绘?惧?ㄦ???╁?妯″??????褰???
; Windows涓?榛?璁や负"C:/php5"
[PHP-Core-HTTP]
default_mimetype = "text/html"
default_charset =? ;"gb2312"
; PHP榛?璁や????ㄨ???Content-Type: text/html" HTTP澶淬??
; 濡???灏?default_charset??浠よ?句负"gb2312"锛?
; ?d?灏?浼????ㄨ???Content-Type: text/html; charset=gb2312"??
; PHP6??瀵逛娇??efault_charset??浠わ????ㄨ??浣跨??nicode.output_encoding??浠ゃ??
[PHP-Core-Unicode]
; PHP6?轰?ICU(International Components for Unicode)搴???渚?浜??ㄩ?㈢??Unicode??????
; 缂?璇??堕??瑕?浣跨??-with-icu-dir=<dir>??瀹?ICU澶存??浠跺??搴???瀹?瑁?浣?缃???
; ??etect_unicode澶?锛??朵??芥??PHP6?板?????浠ゃ??
;
; PHP6??淇℃??????杩?寰?缂轰?锛???浠ユ?ら?ㄥ????瀹瑰???戒?瀹??寸???虫????璇???
detect_unicode = On
; ??绀?end寮?????????杩?妫??ヨ??????BOM(瀛???椤哄???璁??ユ?娴?????????????澶?瀛???瀛?绗???
; 寤鸿???抽????PHP6宸茬???娑?浜?姝ゆ??浠よ????nicode.script_encoding??浠ゆ?ヤ唬?垮?跺???姐??
unicode.semantics = Off
; ????????nicode??????
; 濡?????寮?姝ゆ??浠わ??d?PHP灏?????涓?涓?瀹??ㄧ??Unicode??澧?锛?姣?濡?锛?
; ????瀛?绗?覆??浠?HTTP?ュ?????????藉?????Unicode锛?????PHP??璇?绗???藉??浠ヤ娇??nicode瀛?绗???
; ??涓?锛?PHP???ㄥ?浣跨??nicode瀛?绗?覆骞惰?璐e?瑰??撮??Unicode瀛?绗??琛????ㄨ浆???
; 姣?濡?锛?HTTP杈??ヨ??恒??娴?????浠剁郴缁???浣?绛?绛?锛????宠?php.ini??韬??藉?????TF-8缂????ヨВ????
; 寮???杩?涓???浠ゅ??锛?浣?蹇?椤绘??纭???瀹?浜?杩??跺??绗?覆??PHP灏?涓?瀵逛?杩??跺??绗?覆????瀹瑰??浠讳???瀹?锛?
; ??姝や???绋?搴?蹇?椤讳?璇??藉??板???澶???浜?杩??跺??绗?覆??
; 濡????抽??杩?涓???浠わ?PHP??琛?涓哄???浠ュ????琛?涓哄???ㄧ?稿??锛?
; 瀛?绗?覆涓?浼?????Unicode锛???浠跺??浜?杩??跺??绗?覆涔?灏??????煎?癸?php.ini涔?灏?????as-is"椋??艰В????
; 涓?绠℃??????寮?姝ゆ??浠わ????????芥?板????浣?绗??介??????????Unicode瀛?绗?覆??
unicode.fallback_encoding = UTF-8
; 涓哄?朵?????unicode.*_encoding??浠よ?剧疆榛?璁ゅ?笺??
; 涔?灏辨??璇村?????涓?unicode.*_encoding??浠ゆ????纭?璁剧疆??璇?锛?灏?浣跨?ㄦ?ゅ?璁剧疆???笺??
unicode.runtime_encoding =
; 杩?琛??剁?????瀹?浜?PHP寮??????ㄨ浆???杩??跺??绗?覆?朵娇?ㄧ??缂?????
; 姝ゅ???璁剧疆瀵逛?I/O?稿?虫??浣?(姣?濡?锛????ユ????杈???璇诲????浠剁郴缁?/瑙g??HTTP杈??ュ????)娌℃??褰卞????
; PHP涔???璁镐???纭???瀵瑰??绗?覆杩?琛?杞????
; (binary)$str? -- 杞???涓轰?杩??跺??绗?覆
; (unicode)$str -- 杞???涓?nicode瀛?绗?覆
; (string)$str? -- 濡???unicode.semantics涓?n??杞???涓?nicode瀛?绗?覆锛?????杞???涓轰?杩??跺??绗?覆
; 渚?濡?锛?濡???璇ユ??浠ょ???间负iso-8859-1骞朵?$uni??涓?涓?Unicode瀛?绗?覆锛??d?
; $str = (binary)$uni
; 灏?绛??颁?涓?浣跨??so-8859-1缂?????浜?杩??跺??绗?覆??
; ?ㄨ??ャ??姣?杈???浼??????扮????浣?涔???PHP浼?灏??稿?冲??绗?覆????杞???负Unicode锛??跺????杩?琛???浣???
; 姣?濡??ㄥ?浜?杩??跺??绗?覆涓?Unicode杩?琛?杩??ョ???跺??锛?
; PHP灏?浼?浣跨?ㄨ?????璁剧疆灏?浜?杩??跺??绗?覆杞???负Unicode瀛?绗?覆锛??跺????杩?琛???浣???
unicode.output_encoding =
; PHP杈??洪??浜?杩??跺??绗?覆浣跨?ㄧ??缂?????
; ???ㄥ?'print'??'echo'涔?绫荤??杈??哄??瀹硅浆??负姝ゅ?璁惧????缂???(骞朵?瀵逛?杩??跺??绗?覆杩?琛?杞?????
; 褰?????浠朵?绫荤??澶??ㄨ?婧????ユ?版?????跺??锛?
; 浣?蹇?椤讳?璧?浜?娴?缂????规?ф????浣跨??nicode?╁????芥?版???ㄧ??瀵规?版??杩?琛?缂?????
; ??HP6涓???瀵逛娇?ㄥ??????default_charset??浠わ????ㄨ??浣跨?ㄨ?ユ??浠ゃ??
; ??????default_charset??浠ゅ??????瀹?浜?Content-Type澶翠腑??瀛?绗???锛???骞朵?瀵瑰??????杈??哄??浠讳?杞?????
; ????HP6涓?锛?default_charset??浠や???nicode.semantics涓?ff???跺??????????
; 璁剧疆浜?璇ユ??浠ゅ??灏???ontent-Type杈??哄ご??'charset'?ㄥ??濉?涓?璇ユ??浠ょ???硷?
; ??涓?绠?efault_charset??浠ゅ?浣?璁剧疆??
unicode.http_input_encoding =
; ??杩?HTTP?峰????????(姣?濡?$_GET??_$POST)??瀹圭??缂?????
; ?村??007骞???姝ゅ???藉??ㄥ???涓?....
unicode.filesystem_encoding =
; ??浠剁郴缁?????褰???????浠跺????缂?????
; ??浠剁郴缁??稿?崇???芥??姣?濡?opendir())灏?浣跨?ㄨ?涓?缂????ュ????杩?????浠跺??????褰?????
; 姝ゅ???璁剧疆蹇?椤讳???浠剁郴缁?瀹???浣跨?ㄧ??缂???瀹??ㄤ??淬??
unicode.script_encoding =
; PHP??????韬???榛?璁ょ?????
; 浣???浠ヤ娇?ㄤ换浣?ICU??????缂????ュ??PHP??????
; 濡???浣??抽??瀵瑰????????????浠惰?惧???剁???锛???浠ュ?ㄨ?ヨ??????寮?澶翠娇?? ;? ?<?php declare(encoding = 'Shift-JIS'); ?>
; ?ユ??瀹???娉ㄦ??锛?蹇?椤绘??绗?涓?琛?寮?澶达??ㄩ???瑕???浠讳?瀛?绗?????绌虹????
; 璇ユ?规????藉奖???舵???ㄧ??????锛?涓?浼?褰卞??浠讳?琚????????朵???????
unicode.stream_encoding = UTF-8
unicode.from_error_mode = 2
unicode.from_error_subst_char = 3f
; 灏?????妗?
[PHP-Core-Misc]
auto_detect_line_endings = Off
; ??????HP???ㄤ睛娴?琛?缁???绗?EOL)??
; 濡?????浣?????蹇?椤诲???Macintosh??浠讹?
; ????浣?杩?琛???acintosh涓?锛????跺??瑕?澶???unix??win32??浠讹?
; ??寮?杩?涓???浠ゅ??浠ヨ??HP???ㄤ睛娴?EOL锛?浠ヤ究fgets()??file()?芥?板??浠ユ?e父宸ヤ???
; 浣????朵?浼?瀵艰?村??nix绯荤?涓?浣跨?ㄥ??杞???CR)浣?涓洪」??????绗???浜洪????涓??煎?硅?涓恒??
; ???锛??ㄦ?娴?绗?涓?琛???EOL涔????朵???寰?灏????ц?芥??澶便??
browscap =? ;"c:/windows/system32/inetsrv/browscap.ini"
; ????PWS??IIS??瑕?杩?涓?璁剧疆
; 浣???浠ヤ?http://www.garykeith.com/browsers/downloads.asp
; 寰??颁?涓?browscap.ini??浠躲??
ignore_user_abort = Off
; ?????充娇?ㄧ?ㄦ?蜂腑姝㈣?锋???涔?????瀹????翠釜璇锋???
; ?ㄦ?ц?涓?涓??胯?锋????跺??搴?褰???????寮?璇ュ??锛?
; ??涓洪?胯?锋????戒?瀵艰?寸?ㄦ?蜂腑??涓?姝㈡??娴?瑙??ㄨ??躲??
user_agent =? ;"PHP"
; 瀹?涔?"User-Agent"瀛?绗?覆
;url_rewriter.tags = "a=href,area=href,frame=src,form=,fieldset="
; ?界?舵?ゆ??浠ゅ?浜?PHP?稿??ㄥ??锛?浣????寸?ㄤ?Session妯″??????缃?
;extension =
; ??HP???ㄦ?跺??杞藉?ㄦ???╁???渚?濡?锛?extension=mysqli.so
; "="涔??????戒娇?ㄦā????浠剁????瀛?锛???涓??藉????璺?寰?淇℃????
; 璺?寰?淇℃??搴?褰?????xtension_dir??浠ゆ??渚???
; 涓绘??锛???indows涓?锛?涓????╁?宸茬???缃?锛?
; bcmath ; calendar ; com_dotnet ; ctype ; session ; filter ; ftp ; hash
; iconv ; json ; odbc ; pcre ; Reflection ; date ; libxml ; standard
; tokenizer ; zlib ; SimpleXML ; dom ; SPL ; wddx ; xml ; xmlreader ; xmlwriter
[PHP-Core-CGI]
; 杩?浜???浠ゅ?????ㄥ?PHP杩?琛???GI妯″?涓????跺????????
doc_root =
; PHP??"CGI?圭??褰?"??浠??ㄩ??绌烘?舵??????
; ??eb???″?ㄧ??涓绘??妗g??褰?(姣?濡?"htdocs")涓??剧疆???ц?绋?搴?/????琚?璁や负??涓?瀹??ㄧ??锛?
; 姣?濡???涓洪??缃???璇???灏?????浣?涓烘??????html?剧ず??
; ??姝ゅ?澶?绯荤?绠$?????戒??ㄤ富??妗g??褰?涔?澶?涓??ㄨ?剧疆涓?涓????介??杩?CGI?ヨ?块??????褰?锛?
; 璇ョ??褰?涓?????瀹瑰??浼?琚?瑙f????涓?浼????锋?剧ず?烘?ャ??
; 濡???璁剧疆浜?璇ラ」锛??d?PHP灏卞??浼?瑙i??doc_root??褰?涓?????浠讹?
; 骞剁‘淇???褰?澶????????戒?浼?琚?PHP瑙i???ㄦ?ц?(user_dir?ゅ?)??
; 濡???缂?璇?PHP?舵病????瀹?FORCE_REDIRECT锛?骞朵??ㄩ??IIS???″?ㄤ?浠?GI?瑰?杩?琛?锛?
; ??蹇?椤昏?剧疆姝ゆ??浠???瑙?????涓???瀹??ㄩ?ㄥ??)??
; ?夸唬?规???浣跨?ㄧ??cgi.force_redirect??浠ゃ??
cgi.discard_path = Off
; 灏?????妗?PHP6?板???浠?
cgi.fix_pathinfo = On
; ????负CGI??渚???姝g?? PATH_INFO/PATH_TRANSLATED ????(?靛??cgi瑙???)??
; ??????琛?涓烘??灏?PATH_TRANSLATED璁句负SCRIPT_FILENAME锛???涓?绠?ATH_INFO??浠?涔???
; ??寮?姝ら??椤瑰?浣?HP淇?姝e?惰矾寰?浠ラ?靛??CGI瑙???锛?????浠?灏?浣跨?ㄦ?у???涓???瑙?????琛?涓恒??
; 榧??变???寮?姝ゆ??浠わ?骞朵慨姝h????浠ヤ娇??SCRIPT_FILENAME 浠f??PATH_TRANSLATED ??
; ????ATH_INFO???村?淇℃??璇峰??瑙?cgi瑙?????
cgi.force_redirect = On
; ??????寮?cgi寮哄?堕??瀹?????寮虹??寤鸿????寮?瀹?浠ヤ负CGI?瑰?杩?琛???php??渚?瀹??ㄤ??ゃ??
; 浣??ヨ??宸卞?抽??浜?瀹?锛?璇疯??宸辫?璐e??????
; 娉ㄦ??锛???IS/OmniHTTPD/Xitami涓???蹇?椤诲?抽??瀹?锛?
cgi.redirect_status_env =
; 濡???cgi.force_redirect=On锛?骞朵???pache涓?Netscape涔?澶??????″?ㄤ?杩?琛?PHP锛?
; ???介??瑕?璁惧??涓?涓?cgi??瀹?????澧???????锛?PHP灏??诲?绘?惧???ョ?ラ????????浠ョ户缁??ц?涓??汇??
; 璁剧疆杩?涓?????浼?瀵艰?村???ㄦ?娲?锛?璇峰?″??ㄨ?剧疆????娓?妤???宸卞?ㄥ??浠?涔???
cgi.rfc2616_headers = 0
; ??瀹?PHP?ㄥ????HTTP??搴?浠g???朵娇?ㄤ?绉??ュご??
; 0 琛ㄧず????涓?涓?"Status: "?ュご锛?Apache???跺??web???″?ㄩ?芥??????
; ?ヨ?句负1锛???PHP浣跨??FC2616??????澶淬??
; ?ら??浣??ラ????宸卞?ㄥ??浠?涔?锛?????淇????堕?璁ゅ??0
cgi.nph = Off
; ??GI妯″?涓?????己?跺?规????璇锋??藉????"Status: 200"?舵??????
cgi.check_shebang_line =On
; CGI PHP??????ヨ????椤堕?ㄤ互 #! 寮?濮???琛???
; 濡????????宠??㈣?藉?????杩?琛????藉???HP CGI妯″?涓?杩?琛?锛??d?杩?涓?璧峰?琛?灏辨??蹇?椤荤????
; 濡?????寮?璇ユ??浠わ??d?CGI妯″???PHP灏?璺宠?杩?涓?琛???
fastcgi.impersonate = Off
; IIS涓???FastCGI????妯′豢瀹㈡?风??瀹??ㄤ护?????藉????
; 杩?浣垮?IIS?藉?瀹?涔?杩?琛??舵???轰???璇锋???瀹??ㄤ?涓?????
; Apache涓???mod_fastcgi涓?????姝ょ?规??03/17/2002)
; 濡?????IS涓?杩?琛???璁句负On锛?榛?璁や负Off??
fastcgi.logging = On
; ?????板???杩?FastCGI杩?琛???杩??ャ??
[PHP-Core-Weirdy]
; 杩?浜???椤逛?瀛??ㄤ???妗d腑锛??翠?瀛??ㄤ?phpinfo()?芥?扮??杈??轰腑
async_send = Off
; ?????姝ュ??????
from =? ;"[email?protected]"
; 瀹?涔??垮??ftp??瀵???(涓?涓?email?板??)
;;;;;;;;;;;;;;;;;;
;;? 杩??稿?妯″??? ;;
;;;;;;;;;;;;;;;;;;
[Pcre]
;Perl?煎?规?e??琛ㄨ揪寮?妯″??
pcre.backtrack_limit = 100000
; PCRE????澶у??婧?(backtracking)姝ユ?般??
pcre.recursion_limit = 100000
; PCRE????澶ч??褰?(recursion)娣卞害??
; 濡???浣?灏?璇ュ?艰?剧????甯搁??锛?灏????借??灏借?绋?????绌洪?达?瀵艰??HP宕╂???
[Session]
; ?ら??浣跨??ession_register()??$_SESSION娉ㄥ??浜?涓?涓???????
; ????涓?绠℃????娇?ㄤ?session_start()锛??戒?浼????ㄦ坊??浠讳?session璁板???
; ????resource????????寰???寮??ㄧ??瀵硅薄??????????韬???寮??ㄧ??瀵硅薄锛?涓??戒?瀛??ㄤ?璇?涓???
; register_globals??浠や?褰卞???颁?璇???????瀛??ㄥ???㈠???
session.save_handler = "files"
; 瀛??ㄥ??妫?绱??浼?璇??宠?????版????澶????ㄥ??瀛???榛?璁や负??浠?"files")??
; 濡????宠?浣跨?ㄨ??瀹?涔???澶?????濡??轰??版??搴???澶?????锛?????user"??
; 璁句负"memcache"????浠ヤ娇??emcache浣?涓轰?璇?澶???????瑕???瀹?"--enable-memcache-session"缂?璇???椤???
; 杩???涓?涓?浣跨??ostgreSQL??澶??????http://sourceforge.net/projects/phpform-ext/
session.save_path = "/tmp"
; 浼???缁?瀛??ㄥ????ㄧ?????般??瀵逛?files澶??????姝ゅ?兼????寤轰?璇??版????浠剁??璺?寰???
; Windows涓?榛?璁や负涓存?舵??浠跺す璺?寰???
; 浣???浠ヤ娇??N;[MODE;]/path"杩??锋ā寮?瀹?涔?璇ヨ矾寰?(N??涓?涓??存????
; N琛ㄧず浣跨??灞?娣卞害??瀛???褰?锛???涓???灏??????版????浠堕?戒?瀛??ㄤ?涓???褰?涓???
; [MODE;]????锛?蹇?椤讳娇??杩??舵?帮?榛?璁?600"锛?琛ㄧず??浠剁??璁块????????
; 杩???涓?涓???楂?澶ч??浼?璇??ц?界??濂戒富????
; 娉ㄦ??0: "N;[MODE;]/path"涓よ竟????寮??蜂??界???ャ??
; 娉ㄦ??1: [MODE;]骞朵?浼??瑰??杩?绋???umask??
; 娉ㄦ??2: php涓?浼????ㄥ??寤鸿?浜???浠跺す缁?????璇蜂娇??xt/session??褰?涓???mod_files.sh??????寤恒??
; 娉ㄦ??3: 濡???璇ユ??浠跺す??浠ヨ?涓?瀹??ㄧ???ㄦ?疯?块??(姣?濡?榛?璁ょ??"/tmp")锛??d?灏?浼?甯??ュ???ㄦ?娲???
; 娉ㄦ??4: 褰?N>0?惰???ㄥ???惧???跺?浼?澶辨??锛??蜂???瑙?涓??㈡???冲???炬???????ㄥ????
; [瀹??ㄦ??绀?寤鸿????瀵规??涓?涓?????????涓绘?哄????璁剧疆????涓???????褰???
;
; 瀵逛?"memcache"澶????????瑕?瀹?涔?涓?涓????峰?????????″??RL?ㄦ?ュ???ㄤ?璇??版????
; 姣?濡?锛?"tcp://host1:11211, tcp://host2:11211"
; 姣?涓?URL?藉??浠ュ????浼???缁??d釜???″?ㄧ?????帮????ㄧ?????颁? Memcache::addServer() ?规??稿????
; 渚?濡?锛?"tcp://host1:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
session.name = "PHPSESSID"
;?ㄥ??ookie????浼?璇?ID??璇???锛????藉????瀛?姣????板????
session.auto_start = Off
; ?ㄥ?㈡?疯?块??浠讳?椤甸?㈡?堕?借???ㄥ??濮???浼?璇?锛?榛?璁ょ?姝???
; ??涓虹被瀹?涔?蹇?椤诲?ㄤ?璇????ㄤ???琚?杞藉?ワ???浠ヨ?ユ??寮?杩?涓???椤癸?浣?灏变??藉?ㄤ?璇?涓?瀛??惧?硅薄??
session.serialize_handler = "php"
; ?ㄦ?ュ?????/瑙e??????版????澶??????php??????搴?????/瑙e?????澶????ㄣ??
; ???杩???浠ヤ娇??php_binary"??褰????ㄤ?WDDX????浠ュ??锛?灏????戒娇??wddx"??
session.gc_probability = 1
session.gc_divisor = 100
; 瀹?涔??ㄦ??娆″??濮???浼?璇??讹????ㄥ???惧???剁?搴???姒?????
; 杩?涓??堕??姒???璁$????寮?濡?涓?锛?session.gc_probability/session.gc_divisor
; 瀵逛?璇?椤甸?㈣?块??瓒?棰?绻?锛?姒???灏卞?褰?瓒?灏???寤鸿???间负1/1000~5000??
session.gc_maxlifetime = 1440
; 瓒?杩?姝ゅ???版??????绉??板??锛?淇?瀛????版??灏?琚?瑙?涓?????骞剁?卞???惧???剁?搴?娓?????
; ?ゆ????????????璁块???版?????堕??瀵逛?FAT??浠剁郴缁????????锋?版?版?????堕????
; 濡???澶?涓??????变韩??涓?涓?session.save_path??褰?浣?session.gc_maxlifetime涓???锛?
; ?d?灏?浠ユ????session.gc_maxlifetime??浠や腑????灏??间负????
; 濡???浣跨?ㄥ?灞?瀛???褰??ュ???ㄦ?版????浠讹????惧???剁?搴?涓?浼????ㄥ???ㄣ??
; 浣?蹇?椤讳娇?ㄤ?涓?浣???宸辩?????shell??????cron椤规?????朵???娉??ユ?ц????炬??????
; 姣?濡?锛?涓??㈢???????稿?浜?璁剧疆浜?"session.gc_maxlifetime=1440" (24????)锛?
; cd /path/to/sessions; find -cmin +24 | xargs rm
session.referer_check =
; 濡???璇锋?澶翠腑??"Referer"瀛?娈典?????姝ゅ???瀹???瀛?绗?覆??浼?璇?ID灏?琚?瑙?涓烘??????
; 娉ㄦ??锛?濡???璇锋?澶翠腑?规??涓?瀛???Referer"瀛?娈电??璇?锛?浼?璇?ID灏?浠?灏?琚?瑙?涓烘??????
; 榛?璁や负绌猴??充???妫????ㄩ?ㄨ?涓烘????)??
session.entropy_file =? ;"/dev/urandom"
; ???????ㄤ???寤轰?璇?ID??澶??ㄩ???靛?艰?婧?(??浠?锛?
; 渚?濡?UNIX绯荤?涓???"/dev/random"??"/dev/urandom"
session.entropy_length = 0
; 浠?楂??靛?艰?婧?涓?璇诲????瀛?????寤鸿???硷?16)??
session.use_cookies = On
; ????娇??ookie?ㄥ?㈡?风??淇?瀛?浼?璇?ID
session.use_only_cookies = Off
; ?????浠?浣跨??ookie?ㄥ?㈡?风??淇?瀛?浼?璇?ID??PHP6??榛?璁ゅ?间负On??
; ??寮?杩?涓???椤瑰??浠ラ?垮??浣跨??RL浼???浼?璇?甯??ョ??瀹??ㄩ??棰???
; 浣???绂???ookie??瀹㈡?风??灏?浣夸?璇???娉?宸ヤ???
session.cookie_lifetime = 0
; 浼???浼?璇?ID??Cookie??????(绉?)锛?0 琛ㄧず浠??ㄦ?瑙??ㄦ??寮????存??????
; [??绀?濡???浣?涓??戒?璇????″?ㄦ?堕?村??瀹㈡?风???堕?翠弗?间??磋?蜂?瑕??瑰??姝ら?璁ゅ?硷?
session.cookie_path = "/"
; 浼???浼?璇?ID??Cookie浣??ㄨ矾寰???
session.cookie_domain =
; 浼???浼?璇?ID??Cookie浣??ㄥ????
; 榛?璁や负绌鸿〃绀鸿〃绀烘?规??cookie瑙?????????涓绘?哄????
session.cookie_secure = Off
; ?????浠???杩?瀹??ㄨ???https)????cookie??
session.cookie_httponly = Off
; ??????ookie涓?娣诲??httpOnly??蹇?(浠???璁?TTP??璁?璁块??)锛?
; 杩?灏?瀵艰?村?㈡?风??????(JavaScript绛?)??娉?璁块??璇?ookie??
; ??寮?璇ユ??浠ゅ??浠ユ????棰??查??杩?XSS?诲?诲????浼?璇?ID??
session.cache_limiter = "nocache"
; 璁句负{nocache|private|public}浠ユ??瀹?浼?璇?椤甸?㈢??缂?瀛??у?舵ā寮?锛?
; ????璁句负绌轰互?绘?㈠??ttp搴?绛?澶翠腑????绂??ㄧ?瀛????戒护??
session.cache_expire = 180
; ??瀹?浼?璇?椤甸?㈠?ㄥ?㈡?风??cache涓???????????(????)
; session.cache_limiter=nocache?讹?姝ゅ?璁剧疆??????
session.use_trans_sid = Off
; ????娇?ㄦ??????RL涓??剧ずSID(浼?璇?ID)??
; 榛?璁ゆ??绂?姝㈢??锛???涓哄??浼?缁?浣????ㄦ?峰甫?ュ???ㄥ?遍?╋?
; 1- ?ㄦ?峰???藉?????????sid??URL??杩?email/irc/QQ/MSN...??寰???璇?缁??朵?浜恒??
; 2- ????????sid??URL???戒?琚?淇?瀛??ㄥ???ㄧ?佃??涓???
; 3- ?ㄦ?峰???戒?瀛?甯????哄??涓???sid??URL?ㄤ?浠????惰??澶规????娴?瑙????茬邯褰???????
; ?轰?URL??浼?璇?绠$???绘??姣??轰?Cookie??浼?璇?绠$?????村???椋??╋???浠ュ?褰?绂??ㄣ??
session.bug_compat_42 = On
session.bug_compat_warn = On
; PHP4.2涔???????????涓?涓???娉ㄦ????"BUG"锛?
; ?充娇??egister_globals=Off?????典?涔???璁稿??濮????ㄥ?session????锛?
; 濡???浣???HP4.3涔?????????涓?浣跨?ㄨ?涓??规?э?浼??剧ず涓??¤??????
; 寤鸿???抽??璇?BUG"骞舵?剧ず璀?????PHP6???や?杩?涓や釜??浠わ??稿?浜??ㄩ?ㄨ?句负Off??
session.hash_function = 0
; ????SID???e??绠?娉???SHA-1??瀹??ㄦ?ф?撮??涓?浜?
; 0: MD5? ?(128 bits)
; 1: SHA-1 (160 bits)
; 寤鸿??浣跨??HA-1??
session.hash_bits_per_character = 4
; ??瀹???ID瀛?绗?覆涓???姣?涓?瀛?绗???淇?瀛?澶?灏?bit锛?
; 杩?浜?浜?杩??舵?版??hash?芥?扮??杩?绠?缁?????
; 4: 0-9, a-f
; 5: 0-9, a-v
; 6: 0-9, a-z, A-Z, "-", ","
; 寤鸿???间负 5
url_rewriter.tags = "a=href,area=href,frame=src,form=,fieldset="
; 姝ゆ??浠ゅ?浜?PHP?稿??ㄥ??锛?骞朵?灞?浜?Session妯″????
; ??瀹???????浜?HTML??绛炬?ュ????SID(浠?褰?session.use_trans_sid=On?舵????)
; form??fieldset姣?杈??规??锛?
; 濡???浣?????浠?浠?锛?URL?????ㄥ?娣诲??涓?涓???????"<input>"锛?瀹?????浜???搴?褰?棰?澶?杩藉????RL涓???淇℃????
; 濡???瑕?绗???XHTML????锛?璇峰?绘??form椤瑰苟?ㄨ〃??瀛?娈靛??????涓?<fieldset>??璁般??
; 娉ㄦ??锛???????娉???椤归?介??瑕?涓?涓?绛????充娇???㈡病??????
; ?ㄨ???间负"a=href,area=href,frame=src,input=src,form=fakeentry"??
session.encode_sources = "globals"
; PHP6涓???浜?璁?????浠わ?灏????冲?????????ㄨ?ユ??浠ゃ??涔?灏????稿?虫??妗c??
;;;;;;;;;;;;;;;;
;;? ?朵?妯″??? ;;
;;;;;;;;;;;;;;;;
[APC-3.0.16]
; Alternative PHP Cache ?ㄤ?缂?瀛???浼???PHP涓??翠唬??
; 缂?璇?/瀹?瑁?/??缃?淇℃???戒?浜?婧?????涓??? INSTALL ??浠朵腑
apc.enabled = On
; ????????PC锛?濡???APC琚?????缂?璇?杩?PHP???崇??ㄥ??锛?杩?????涓?????娉???
apc.enable_cli = Off
; ????负CLI????????PC???斤?浠??ㄤ?娴?璇???璋?璇?????????寮?姝ゆ??浠ゃ??
apc.cache_by_default = On
; ?????璁ゅ?规??????浠跺???ㄧ??层??
; ?ヨ?句负Off骞朵?浠ュ???峰?澶寸??apc.filters??浠や?璧风???????浠朵??ㄥ?归??杩?婊ゅ?ㄦ?舵??琚?缂?瀛???
apc.file_update_protection = 2
; 褰?浣??ㄤ?涓?杩?琛?涓??????″?ㄤ?淇??规??浠舵?讹?浣?搴?褰??ц???瀛???浣???
; 涔?灏辨??????杩?涓?涓?涓存?舵??浠讹??跺??灏?璇ユ??浠堕???藉??(mv)?版??缁?????瀛???
; ????缂?杈??ㄤ互?? cp, tar 绛?绋?搴??村苟涓???杩??锋??浣???锛?浠???瀵艰?存?????界??蹭?娈?缂虹????浠躲??
; 榛?璁ゅ??2 琛ㄧず?ㄨ?块????浠舵?跺??????颁慨?规?堕?磋?绂昏?块???堕?村?浜? 2 绉???涓???缂??层??
; ?d釜涓?骞哥??璁块???????藉??版??缂虹????瀹癸?浣???杩?绉???褰卞???翠?浼???杩?缂?瀛??╁ぇ????
; 濡???浣??界‘淇????????存?版??浣??芥????瀛???浣?锛??d???浠ョ??0 ?抽??姝ょ?规?с??
; 濡???浣???绯荤??变?澶ч????IO??浣?瀵艰?存?存?扮????浣?灏遍??瑕?澧?澶ф?ゅ?笺??
apc.filters =
; 涓?涓?浠ラ???峰??????POSIX?╁?姝e??琛ㄨ揪寮???琛ㄣ??
; 濡???婧???浠跺??涓?浠绘??涓?涓?妯″??归??锛???璇ユ??浠朵?琚?缂?瀛???
; 娉ㄦ??锛??ㄦ?ュ?归??????浠跺????浼???缁?include/require????浠跺??锛???涓???缁?瀵硅矾寰???
; 濡???姝e??琛ㄨ揪寮???绗?涓?涓?瀛?绗???"+"?????崇??浠讳??归??琛ㄨ揪寮?????浠朵?琚?缂?瀛?锛?
; 濡???绗?涓?涓?瀛?绗???"-"??浠讳??归??椤归?戒?浼?琚?缂?瀛???"-"??榛?璁ゅ?硷???浠ョ???ユ????
apc.ttl = 0
; 缂?瀛??$???ㄧ??插?轰腑??璁搁??????绉??般??0 琛ㄧず姘镐?瓒??躲??寤鸿???间负7200~86400??
; 璁句负 0 ???崇??缂??插?烘?????借??х??缂?瀛??$??濉?婊★?浠???瀵艰?存??娉?缂?瀛??版?$????
apc.user_ttl = 0
; 绫讳技浜?apc.ttl锛???????瀵规??涓??ㄦ?疯??瑷?锛?寤鸿???间负7200~86400??
; 璁句负 0 ???崇??缂??插?烘?????借??х??缂?瀛??$??濉?婊★?浠???瀵艰?存??娉?缂?瀛??版?$????
apc.gc_ttl = 3600
; 缂?瀛??$???ㄥ???惧???惰〃涓??藉?瀛??ㄧ??绉??般??
; 姝ゅ?兼??渚?浜?涓?涓?瀹??ㄦ???斤??充娇涓?涓????″?ㄨ?绋??ㄦ?ц?缂?瀛???婧???浠舵?跺穿婧?锛?
; ??涓?璇ユ???浠跺凡缁?琚?淇??癸?涓烘?х????????????瀛?涔?涓?浼?琚????讹??村?拌揪?版??TL?间负姝???
; 璁句负?跺?绂??ㄦ?ょ?规?с??
apc.include_once_override = Off
; 浼???include_once()??require_once()?芥?颁互?垮???ц?棰?澶???绯荤?璋??ㄣ??
apc.max_file_size = 1M
; 绂?姝㈠ぇ浜?姝ゅ昂瀵哥????浠惰?缂?瀛???
apc.mmap_file_mask =
; 濡???浣跨??-enable-mmap(榛?璁ゅ????涓?PC缂?璇?浜?MMAP????锛?
; 杩??????煎氨??浼???缁?mmap妯″????mktemp椋??肩????浠舵?╃??(寤鸿???间负"/tmp/apc.XXXXXX")??
; 璇ユ?╃???ㄤ??冲????瀛???灏??哄???????琚?file-backed????shared memory backed??
; 瀵逛??存?ョ??file-backed??瀛???灏?锛?瑕?璁剧疆??"/tmp/apc.XXXXXX"???峰??(?板ソ6涓?X)??
; 瑕?浣跨??OSIX椋??肩??shm_open/mmap灏遍??瑕?璁剧疆??"/apc.shm.XXXXXX"???峰????
; 浣?杩???浠ヨ?句负"/dev/zero"?ヤ负?垮????灏?????瀛?浣跨?ㄥ???哥??"/dev/zero"?ュ?c??
; 涓?瀹?涔?姝ゆ??浠ゅ??琛ㄧず寮哄?朵娇?ㄥ?垮????灏???
apc.num_files_hint = 1000
; Web???″?ㄤ????借???????琚?璇锋???涓???????婧?浠g????浠剁??澶ц?存?伴??(寤鸿???间负1024~4096)??
; 濡???浣?涓??界‘瀹?锛???璁句负 0 锛?姝よ?惧??涓昏??ㄤ??ユ???板??涓?婧???浠剁??绔??广??
apc.optimization = 0
; 浼???绾у??(寤鸿???间负 0 ) ????瀵逛娇?ㄨ?ユ??浠ゃ??灏??ュ???戒?琚????ゃ??
; 姝f?存?板?艰〃绀哄???ㄤ???????艰?楂???浣跨?ㄨ?婵?杩???浼?????
; ?撮?????煎???芥????甯告????????搴?????锛?浣?????灏??ㄨ??楠?涓???
apc.report_autofilter = Off
; ?????板??????变?early/late binding?????????ㄦ??琚?缂?瀛?????????
apc.shm_segments = 1
; 涓虹?璇??ㄧ??插?哄???????变韩??瀛????伴??(寤鸿???间负1)??
; 濡???APC??灏戒??变韩??瀛?锛?骞朵?宸插?apc.shm_size??浠よ?句负绯荤???璁哥????澶у?硷???浠ュ?璇?澧?澶ф?ゅ?笺??
; ??map妯″?涓?璁剧疆涓?1 涔?澶????跺???兼????????锛???涓虹?杩?mmap???变韩??瀛?娈电??澶у???娌℃?????剁????
apc.shm_size = 30
; 姣?涓??变韩??瀛?????澶у?(浠?B涓哄??浣?锛?寤鸿???间负128~256)??
; ??浜?绯荤?(????澶у???SD??绉?)榛?璁ょ???变韩??瀛???灏哄?稿?灏???
apc.slam_defense = 0
; ?ㄩ??甯哥?蹇??????″?ㄤ?锛???璁烘?????ㄦ???¤???淇??规??浠讹?
; ?藉???界?变?澶?涓?杩?绋?浼??惧???剁?瀛?涓?涓???浠惰??瀵艰?寸??浜??′欢??
; 杩?涓???浠ょ?ㄤ?璁剧疆杩?绋??ㄥ?????琚?缂?瀛?????浠舵?惰烦杩?缂?瀛?姝ラ?ょ???惧??????
; 姣?濡?璁句负75琛ㄧず?ㄩ???版??琚?缂?瀛?????浠舵?舵??75%??姒???涓?杩?琛?缂?瀛?锛?浠?????灏?纰版????????
; ??瀵逛娇?ㄨ?ユ??浠わ?榧??辫?句负 0 ?ョ??ㄨ?涓??规?с??寤鸿??璇ョ??pc.write_lock??浠ゃ??
apc.stat = On
; ???????ㄨ?????存?版??ャ??
; ?瑰??杩?涓???浠ゅ?艰???甯稿?蹇???
; 榛?璁ゅ??On 琛ㄧずAPC?ㄦ??娆¤?锋??????堕?芥??ヨ??????????存?帮?
; 濡???琚??存?板?????ㄩ???扮?璇???缂?瀛?缂?璇???????瀹广??浣?杩??峰??瀵规?ц?芥??涓??╁奖????
; 濡???璁句负 Off ??琛ㄧず涓?杩?琛?妫??ワ?浠???浣挎?ц?藉??板ぇ骞???楂???
; 浣???涓轰?浣挎?存?扮????瀹圭????锛?浣?蹇?椤婚????Web???″?ㄣ??
; 杩?涓???浠ゅ?逛?include/require????浠跺???锋??????浣?????瑕?娉ㄦ??????锛?
; 濡???浣?浣跨?ㄧ?????稿?硅矾寰?锛?APC灏卞?椤诲?ㄦ??涓?娆?nclude/require?堕?借?琛?妫??ヤ互瀹?浣???浠躲??
; ??浣跨?ㄧ?瀵硅矾寰?????浠ヨ烦杩?妫??ワ???浠ラ??变?浣跨?ㄧ?瀵硅矾寰?杩?琛?include/require??浣???
apc.user_entries_hint = 4096
; 绫讳技浜?num_files_hint??浠わ???????瀵规??涓?涓????ㄦ?疯??瑷???
; 濡???浣?涓??界‘瀹?锛???璁句负 0 ??
apc.write_lock = On
; ???????ㄥ???ラ????
; ?ㄩ??甯哥?蹇??????″?ㄤ?锛???璁烘?????ㄦ???¤???淇??规??浠讹?
; ?藉???界?变?澶?涓?杩?绋?浼??惧???剁?瀛?涓?涓???浠惰??瀵艰?寸??浜??′欢??
; ???ㄨ?ユ??浠ゅ??浠ラ?垮??绔?浜??′欢???虹?般??
apc.rfc1867 = Off
; ??寮?璇ユ??浠ゅ??锛?瀵逛?姣?涓??板ソ??ile瀛?娈典???????APC_UPLOAD_PROGRESS瀛?娈电??涓?浼???浠讹?
; APC?藉????ㄥ??寤轰?涓?upload_<key>???ㄦ?风?瀛??$??(<key>灏辨??APC_UPLOAD_PROGRESS瀛?娈靛????
; ??瑕?娉ㄦ??????锛???浠朵?浼?璺?韪??ㄨ???骞朵???绾跨?瀹??ㄧ??锛?
; ??浠ュ???????浠跺???涓?杞藉??姣?涓??版??浠跺凡缁?寮?濮?涓?杞斤??d?灏?涓㈠け瀵硅????浠剁??璺?韪???
apc.rfc1867_prefix = "upload_"
; ?ㄤ?rfc1867涓?浼???浠剁??缂??查」?$????绉板??缂?
apc.rfc1867_name = "APC_UPLOAD_PROGRESS"
; ??瑕???PC澶?????涓?浼???浠剁??rfc1867????琛ㄥ??椤瑰??绉?
apc.rfc1867_freq = 0
; ?ㄦ??fc1867涓?浼???浠剁?瀛?椤圭???存?伴?????
; ???煎??浠ユ???绘??浠跺ぇ灏????惧??姣?锛?????浠?K','M','G'缁?灏剧??缁?瀵瑰昂瀵搞??
; 0 琛ㄧず灏藉???藉揩???存?帮?涓?杩?杩??峰???戒?瀵艰?磋?琛???搴??????
apc.localcache = Off
; ????娇?ㄩ????瀹????拌?绋?shadow-cache 锛?瀹???浠ュ??灏?浜???缂??插?哄???ユ?堕??涔??寸??绔?浜???
apc.localcache.size = 512
; ???拌?绋???shadow-cache锛?搴?褰?璁句负涓?涓?瓒冲?澶х???硷?澶х害?稿?浜?num_files_hint??涓?????
apc.stat_ctime = Off
; 灏?????妗?
[bcmath]
; 涓轰换??绮惧害?板???$????渚?浜?浜?杩??惰?$????Binary Calculator)锛?
; 瀹?????浠绘??澶у???绮惧害???板??锛?浠ュ??绗?覆褰㈠???杩般??
bcmath.scale = 0
; ?ㄤ?????bcmath?芥?扮??10??杩??舵?扮??涓???
[GD]
gd.jpeg_ignore_warning = Off
; ????拷??peg瑙g???ㄧ??璀???淇℃??(姣?濡???娉?璇????剧???煎?)??
; ??image/jpeg涓?image/pjpeg涓ょ?MIME绫诲??锛?GD搴????借??????涓?绉?浼?缁??煎???
; ??瑙?锛?http://twpug.net/modules/newbb/viewtopic.php?topic_id=1867&forum=14
; http://bugs.php.net/bug.php?id=29878
; http://www.faqs.org/faqs/jpeg-faq/part1/section-11.html
[Filter]
; 瀵规?ユ?涓????????版??杩?琛?纭?璁ゅ??杩?婊わ????╁?妯″????瀹?楠??х????
filter.default = "unsafe_raw"
; 浣跨?ㄦ??瀹???杩?婊ゅ?ㄨ?婊?_GET,$_POST,$_COOKIE,$_REQUEST?版??锛?
; ??濮??版????浠ラ??杩?input_get()?芥?拌?块????
; "unsafe_raw"琛ㄧず涓???浠讳?杩?婊ゃ??
filter.default_flags =
; filter_data()?芥?扮??榛?璁ゆ??蹇???
[mbstring]
;澶?瀛???瀛?绗?覆妯″??????
mbstring.language = "neutral"
; 榛?璁ょ??NLS(???拌??瑷?璁剧疆)锛???璁剧疆?煎?涓?锛?
; 榛?璁ゅ??neutral"琛ㄧず涓?绔?锛??稿?浜????ャ??
; "zh-cn"??"Simplified Chinese"琛ㄧず绠?浣?涓???
; "zh-tw"??"Traditional Chinese"琛ㄧず绻?浣?涓???
; "uni"??"universal"琛ㄧずUnicode
; 璇ユ??浠よ???ㄥ??涔?浜???????mbstring.internal_encoding??浠ら?璁ゅ?硷?
; 骞朵?mbstring.internal_encoding??浠ゅ?椤绘?剧疆?ㄨ?ユ??浠や?????
mbstring.internal_encoding =
; ????浠ゅ?椤绘?剧疆??bstring.language??浠や?????
; 榛?璁ょ?????ㄧ???锛???璁剧疆?跺???充?mbstring.language??浠ょ???硷?
; "neutral" 瀵瑰? "ISO-8859-1"
; "zh-cn"? ?瀵瑰? "EUC-CN" (绛?浠蜂?"GB2312")
; "zh-tw"? ?瀵瑰? "EUC-TW" (绛?浠蜂?"BIG5")
; "uni"? ? ?瀵瑰? "UTF-8"
; ????锛?瀵逛?绠?浣?涓???杩???浠ュ己?惰?剧疆涓?CP936" (绛?浠蜂?"GBK")
; 娉ㄦ??锛?????SJIS, BIG5, GBK 涓?????浣?涓哄???ㄧ???锛?涓?杩?"GB2312"??瀹?娌¢??棰???
; 寤鸿?????ㄥ己?舵??瀹?
mbstring.encoding_translation = Off
; ?????硅??ョ??HTTP璇锋?????bstring.internal_encoding??浠よ?琛???????缂???杞????
; 涔?灏辨?????ㄦ?娴?杈??ュ??绗???缂???骞跺??堕??????杞???涓哄???ㄧ?????
; ??绉绘???搴?????绋?搴???涓?涓?瑕?渚?璧?浜????ㄧ???杞?????
mbstring.http_input = "pass"
; 榛?璁ょ??HTTP杈??ョ???锛?"pass"琛ㄧず璺宠?(涓???杞???
; "aotu"????涔?涓?mbstring.detect_order??浠や腑??瑙i??涓??枫??
; ??浠ヨ?剧疆涓轰?涓????????硷?涔???浠ヨ?剧疆涓轰?涓????峰????????琛ㄣ??
mbstring.http_output = "pass"
; 榛?璁ょ??HTTP杈??虹???锛?"pass"琛ㄧず璺宠?(涓???杞???
; "aotu"????涔?涓?mbstring.detect_order??浠や腑??瑙i??涓??枫??
; ??浠ヨ?剧疆涓轰?涓????????硷?涔???浠ヨ?剧疆涓轰?涓????峰????????琛ㄣ??
; 蹇?椤诲?output_handler??浠よ?剧疆涓?mb_output_handler"????浠ャ??
mbstring.detect_order =
; 榛?璁ょ??缂???妫?娴?椤哄?锛?"pass"琛ㄧず璺宠?(涓???杞?????
; 榛?璁ゅ??"auto")??mbstring.language??浠ょ??涓?????????锛?
; "neutral"??"universal" 瀵瑰? "ASCII, UTF-8"
; "Simplified Chinese"? ?瀵瑰? "ASCII, UTF-8, EUC-CN, CP936"
; "Traditional Chinese"? 瀵瑰? "ASCII, UTF-8, EUC-TW, BIG-5"
; 寤鸿???ㄥ???х??澧?涓????ㄥ己?舵??瀹?涓?涓???涓???
mbstring.func_overload = 0
; ???ㄤ娇??mb_* ?芥?伴??杞界?稿?????瀛???瀛?绗?覆?芥?般??
; 姣?濡?锛?mail(), ereg() 灏?琚????ㄦ?挎??负mb_send_mail(), mb_ereg()
; ????0,1,2,4 杩?琛?浣?缁?????姣?濡?7琛ㄧず?挎?㈡???????蜂??挎?㈣?存??濡?涓?锛?
; 0: ???挎?? ; 1: mail() ?? mb_send_mail()
; 2: strlen() ?? mb_strlen() ; substr() ?? mb_substr()
;? ? strpos() ?? mb_strpos() ; strrpos() ?? mb_strrpos()
;? ? strtolower() ?? mb_strtolower() ; strtoupper() ?? mb_strtoupper()
;? ? substr_count() ?? mb_substr_count()
; 4: ereg() ?? mb_ereg() ; eregi() ?? mb_eregi()
;? ? ereg_replace() ?? mb_ereg_replace() ; eregi_replace() ?? mb_eregi_replace()
;? ? split() ?? mb_split()
mbstring.script_encoding =
; ??????浣跨?ㄧ??缂???
mbstring.strict_detection = Off
; ????娇?ㄤ弗璋ㄧ??缂???妫?娴?
mbstring.substitute_character =
; 褰???涓?瀛?绗???娉?瑙g???讹?灏辨???ㄨ?涓?瀛?绗??夸唬??
; ?ヨ?句负涓?涓??存?板??琛ㄧず瀵瑰???Unicode?硷?涓?璁剧疆浠讳??艰〃绀轰??剧ず杩?涓???璇?瀛?绗???
; 寤鸿??璁句负"??
[Mcrypt]
; 涓?涓?mcrypt搴????ュ?o?璇ュ?????璁稿?绉?????瀵?绠?娉???
; 涓?寤鸿??浣跨?ㄨ?ユā??锛???涓烘????澶?澶?锛?寤鸿???ㄦ?版??搴?灞?杩?琛???瀵???
mcrypt.algorithms_dir =
; 榛?璁ょ????瀵?绠?娉?妯″?????ㄧ??褰?????甯告??"/usr/local/lib/libmcrypt"??
; ????灏???璇??璇存????妗o?姝ゅ???瑙i?????芥????璇?????
mcrypt.modes_dir =
; 榛?璁ょ????瀵?妯″?妯″?????ㄧ??褰?????甯告??"/usr/local/lib/libmcrypt"??
; ????灏???璇存????妗o?姝ゅ???瑙i?????芥????璇?????
[Memcache-2.2.2]
; 涓?涓?楂??ц?界????甯?寮?????瀛?瀵硅薄缂?瀛?绯荤?锛???杩??ㄥ??瀛???缁存?や?涓?缁?涓???宸ㄥぇ??hash琛??
; 瀹??藉??ㄦ?ュ???ㄥ??绉??煎????版??锛??????惧????瑙?棰?????浠朵互???版??搴?妫?绱㈢??缁???绛???
memcache.allow_failover = On
; ?????ㄩ???伴??璇??堕?????板???朵????″?ㄨ?琛?????杞?绉汇??
memcache.chunk_size = 8192
; ?版??灏????ф?ゅ?艰?惧??????澶у?杩?琛?杞?绉汇??姝ゅ?艰?灏???????棰?澶?缃?缁?浼?杈?瓒?澶???
; 濡??????版??娉?瑙i??????搴???浣?锛???浠ュ?璇?灏?姝ゅ?煎?????2768??
memcache.default_port = 11211
; 杩??ュ??emcached???″?ㄦ?朵娇?ㄧ??榛?璁?CP绔??c??
memcache.max_failover_attempts = 20
; ?ュ?????????版???舵??澶?灏?璇?澶?灏?涓????″???杩??ㄦ??寮?memcache.allow_failover?舵??????
memcache.hash_strategy = "standard"
; ?у?跺?key??灏???erver??绛??ャ??榛?璁ゅ??standard"琛ㄧず浣跨?ㄥ????????????hash绛??ャ??
; 璁句负"consistent"??浠ュ??璁稿?ㄨ??ユ?涓?娣诲??/???ゆ???″?ㄦ?朵?蹇????拌?$??key涓?server涔??寸????灏??崇郴??
memcache.hash_function = "crc32"
; ?у?跺?key??灏???erver???e???芥?般??榛?璁ゅ??crc32"浣跨??RC32绠?娉?锛???"fnv"??琛ㄧず浣跨??NV-1a绠?娉???
; FNV-1a姣?CRC32??搴??浣?锛?浣????e???????村ソ??
[Zlib]
; 璇ユā????璁?HP??????璇诲????????zip(.gz)??缂╂??浠躲??
zlib.output_compression = Off
; ????娇??lib搴??????板??缂╄????杈??虹?????
; 璇ユ??浠ょ???煎??浠ヨ?剧疆涓猴?Off??On??瀛???????缂╃??插?哄ぇ灏?锛?榛?璁や负4096)??
; 濡?????寮?璇ユ??浠わ?褰?娴?瑙??ㄥ????"Accept-Encoding: gzip(deflate)"澶存?讹?
; "Content-Encoding: gzip(deflate)"??"Vary: Accept-Encoding"澶村????ュ?板?绛?澶村?涓???
; 浣???浠ュ?ㄥ?绛?澶磋??轰?????ni_set()?芥?板?ㄨ????涓????ㄦ??绂?姝㈣?涓??规?с??
; 濡???杈??轰?涓?"Content-Type: image/??"杩??风??搴?绛?澶达???缂╁?涓?浼?????涓轰??叉??etscape??bug)??
; 浣???浠ュ?ㄨ???Content-Type: image/??"涔???浣跨??ini_set('zlib.output_compression', 'On')"???版??寮?杩?涓??规?с??
; 娉ㄦ??1: ??缂╃??浼?????缂╃??插?哄ぇ灏???褰卞??锛?濡???浣??冲??版?村ソ????缂╄川??锛?璇锋??瀹?涓?涓?杈?澶х????缂╃??插?恒??
; 娉ㄦ??2: 濡??????ㄤ?zlib杈??哄??缂╋?output_handler??浠ゅ?椤讳负绌猴????跺?椤昏?剧疆zlib.output_handler??浠ょ???笺??
zlib.output_compression_level = -1
; ??缂╃骇??锛????ㄥ?间负 0~9 锛?0琛ㄧず涓???缂┿???艰?楂?????瓒?濂斤?浣?CPU???ㄨ?澶?锛?寤鸿???间负1~5??
; 榛?璁ゅ??-1 琛ㄧず浣跨??lib???ㄧ??榛?璁ゅ??6)??
zlib.output_handler =
; ?ㄦ??寮?zlib.output_compression??浠ょ?????典?锛?浣????藉?ㄨ?????瀹?杈??哄????ㄣ??
; ??浠ヤ娇?ㄧ??澶????ㄦ??"zlib.inflate"(瑙e??)??"zlib.deflate"(??缂???
; 濡??????ㄨ?ユ??浠ゅ??蹇?椤诲?output_handler??浠よ?句负绌恒??
[dbx]
; 涓?涓??版??搴??借薄灞?锛?涓轰????版??搴???渚?浜?缁?涓????ュ?c??????????锛?
; FrontBase,SQL Server,MySQL,ODBC,PostgreSQL,Sybase-CT,Oracle 8,SQLite
dbx.colnames_case = "unchanged"
; 瀛?娈靛????浠ユ????unchanged"??"uppercase","lowercase"?瑰?杩?????
[MySQLi]
; MySQLi妯″?????戒?4.1.3浠ヤ???????MySQL涓?璧峰伐浣???
mysqli.max_links = -1
; 姣?涓?杩?绋?涓???璁哥????澶ц??ユ????涔???????涔?)??-1 浠h〃??????
mysqli.default_port = 3306
; mysqli_connect()杩??ュ??ySQL?版??搴??朵娇?ㄧ??榛?璁?CP绔??c??
; 濡???娌℃???ㄨ?????瀹?榛?璁ゅ?硷?灏???濡?涓?椤哄?瀵绘?撅?
; (1)$MYSQL_TCP_PORT??澧?????
; (2)/etc/services??浠朵腑??mysql-tcp椤?unix)
; (3)缂?璇??舵??瀹???MYSQL_PORT甯搁??
; 娉ㄦ??锛?Win32涓?锛???浣跨??YSQL_PORT甯搁????
mysqli.default_socket =
; mysqli_connect()杩??ュ?版????ySQL???″?ㄦ?舵??浣跨?ㄧ??榛?璁ゅ??ュ??????
; ?ユ????瀹???浣跨?ㄥ??缃???MqSQL榛?璁ゅ?笺??
mysqli.default_host =
; mysqli_connect()杩??ュ??ySQL?版??搴??朵娇?ㄧ??榛?璁や富?恒??瀹??ㄦā寮?涓???????
mysqli.default_user =
; mysqli_connect()杩??ュ??ySQL?版??搴??朵娇?ㄧ??榛?璁ょ?ㄦ?峰????瀹??ㄦā寮?涓???????
mysqli.default_pw =
; mysqli_connect()杩??ュ??ySQL?版??搴??朵娇?ㄧ??榛?璁ゅ??????瀹??ㄦā寮?涓???????
; ?ㄩ??缃???浠朵腑淇?瀛?瀵?????涓???涓绘??锛?浠讳?浣跨??HP???????ㄦ?烽?藉??浠ヨ?琛?
; 'echo cfg_get_var("mysql.default_password")'?ユ?剧ず瀵???!
; ??涓?浠讳?瀵硅?ラ??缃???浠舵??璇绘???????ㄦ?蜂??界???板??????
mysqli.reconnect = Off
; ??????璁搁???拌???
[PostgresSQL]
;PostgresSQL妯″??寤鸿??涓?8.0浠ヤ?????涓?璧峰伐浣???
pgsql.allow_persistent = On
; ??????璁告??涔?杩???
pgsql.max_persistent = -1
; 姣?涓?杩?绋?涓???璁哥????澶ф??涔?杩??ユ?般??-1 浠h〃?????躲??
pgsql.max_links = -1
; 姣?涓?杩?绋?涓???璁哥????澶ц??ユ????涔???????涔?)??-1 浠h〃?????躲??
pgsql.auto_reset_persistent = Off
; ???ㄥ?浣???g_pconnect()涓?涓???浜?????涔?杩??ワ?妫?娴???瑕?涓?浜?棰?澶?寮?????
pgsql.ignore_notice = Off
; ????拷??ostgreSQL??绔???????娑?????
; 璁板???绔???????娑?????瑕?涓?浜?寰?灏???棰?澶?寮?????
pgsql.log_notice = Off
; ?????ㄦ?ュ?涓?璁板?PostgreSQL??绔???????娑?????
; 浠???gsql.ignore_notice=Off?讹?????浠ヨ?板???