zoukankan      html  css  js  c++  java
  • PHP.INI生成环境配置文件

    extension_dir = /home/php/lib/php/extensions/no-debug-zts-20121212
    zend_extension = opcache.so
    extension = phalcon.so
    extension = memcache.so
    extension = mongo.so
    extension = xwebxsvc.so
    extension = imagick.so
    ;;extension = xwebphp.so
    
    [xwebxsvc]
    xwebxsvc.UdpMultiIp = 239.0.1.1
    xwebxsvc.UdpMultiPort = 0
    xwebxsvc.LocalWeight = 8
    ;;xwebxsvc.RemoteServices = DBP_SVC_BRIDGE;SSO_SVC_LOGIN
    
    cgi.fix_pathinfo = 1
    memory_limit = 256M
    
    ;;don't delete option: include_path
    ;***** Added by go-pear
    include_path="/home/php:"
    ;*****
    
    auto_append_file = None
    allow_url_fopen = On
    file_uploads = On
    upload_tmp_dir = /tmp/uploads
    upload_max_filesize = 50M
    post_max_size = 50M
    max_input_time = 300
    max_execution_time = 300
    date.timezone = PRC
    
    [opcache]
    opcache.enable=1
    opcache.enable_cli=0
    opcache.fast_shutdown=0
    ;;16M
    opcache.memory_consumption=16
    opcache.interned_strings_buffer=8
    opcache.max_accelerated_files=4000
    opcache.revalidate_freq=60
    
    [session]
    ;;handler => files("/tmp/sess") or memcached("localhost:11210")
    ;;session.save_handler = memcached
    session.save_handler = memcache
    session.save_path = "tcp://localhost:11210;tcp://localhost:11211;tcp://localhost:11212"
    ;;session.auto_start = 1
    ;;480==8hours
    session.cache_expire = 480
    session.use_cookies = 1
    ;;use memcached: set cookie_path null!
    session.cookie_path = /
    ;;gc_maxlifetime=>8hours
    session.cookie_lifetime = 28800
    session.gc_maxlifetime = 28800
    session.gc_probability = 1
    session.gc_divisor = 100
    session.use_only_cookies = 1
    session.use_trans_sid = 1
  • 相关阅读:
    【12】简单SQL语句
    【11】分离与附加
    【10】约束
    CSS深入理解学习笔记之vertical-align
    CSS深入理解学习笔记之relative
    CSS深入理解学习笔记之z-index
    CSS深入理解学习笔记之margin
    CSS深入理解学习笔记之padding
    CSS深入理解学习笔记之border
    网页结构与表现原则
  • 原文地址:https://www.cnblogs.com/wanglijun/p/9448831.html
Copyright © 2011-2022 走看看