zoukankan      html  css  js  c++  java
  • 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"
  • 相关阅读:
    gitlab 国内镜像安装
    docker 安装和启动redis
    jenkins 国内镜像更新地址
    docker 安装 jenkins
    docker 使用阿里云镜像加速
    '
    windows/linux 命令可以用符号连接执行
    思科访问控制列表优先级
    交换机泛洪
    虚拟机floppy0
  • 原文地址:https://www.cnblogs.com/eastson/p/3361391.html
Copyright © 2011-2022 走看看