ZendServer中关于php.ini不同环境的建议

ZendServer根据开发环境和产品环境的不同情况,对php.ini中的一些选项做了建议设置,列表如下:

;;;;;;;;;;;;;;;;;;;
; Quick Reference ;
;;;;;;;;;;;;;;;;;;;
; The following are all the settings which are different in either the production
; or development versions of the INIs with respect to PHP's default behavior.
; Please see the actual settings later in the document for more details as to why
; we recommend these changes in PHP's behavior. ; display_errors
; Default Value: On
; Development Value: On
; Production Value: Off ; display_startup_errors
; Default Value: Off
; Development Value: On
; Production Value: Off ; error_reporting
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT ; html_errors
; Default Value: On
; Development Value: On
; Production value: On ; log_errors
; Default Value: Off
; Development Value: On
; Production Value: On ; max_input_time
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds) ; output_buffering
; Default Value: Off
; Development Value: 4096
; Production Value: 4096 ; register_argc_argv
; Default Value: On
; Development Value: Off
; Production Value: Off ; request_order
; Default Value: None
; Development Value: "GP"
; Production Value: "GP" ; session.bug_compat_42
; Default Value: On
; Development Value: On
; Production Value: Off ; session.bug_compat_warn
; Default Value: On
; Development Value: On
; Production Value: Off ; session.gc_divisor
; Default Value: 100
; Development Value: 1000
; Production Value: 1000 ; session.hash_bits_per_character
; Default Value: 4
; Development Value: 5
; Production Value: 5 ; short_open_tag
; Default Value: On
; Development Value: Off
; Production Value: Off ; track_errors
; Default Value: Off
; Development Value: On
; Production Value: Off ; url_rewriter.tags
; Default Value: "a=href,area=href,frame=src,form=,fieldset="
; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry" ; variables_order
; Default Value: "EGPCS"
; Development Value: "GPCS"
; Production Value: "GPCS"
上一篇:学习“要件审判九步法”,正确处理五个关系 z


下一篇:Golang语言下使用Protocol Buffer教程