1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

谁会配置PHP.ini

本帖由 sojay2007-08-27 发布。版面名称:后端开发

  1. sojay

    sojay New Member

    注册:
    2005-12-19
    帖子:
    3,036
    赞:
    13
    买了个国外空间。发现根目录下有个PHP.ini

    就在里面加了这几句,发现还真有效:D

    max_input_time = 600
    max_execution_time = 600
    post_max_size = 10M
    upload_max_filesize = 10M

    还有哪些是设置了对自己有利的。:cry:

    支持zend.探针却说不支持:mad:

    PHP:
    register_globals off
    allow_url_fopen 
    off

    expose_php 
    Off
    max_input_time 
    600
    max_execution_time 
    600
    variables_order 
    "EGPCS"
    extension_dir = ./
    upload_tmp_dir = /tmp
    post_max_size 
    10M
    upload_max_filesize 
    10M
    precision 
    12
    SMTP 
    relay-hosting.secureserver.net
    url_rewriter
    .tags "a=href,area=href,frame=src,input=src,form=,fieldset="

    [Zend]
    zend_extension=/usr/local/zo/ZendExtensionManager.so
    zend_extension
    =/usr/local/zo/4_3/ZendOptimizer.so
     
  2. Kevin

    Kevin New Member

    注册:
    2005-10-23
    帖子:
    12,728
    赞:
    55
  3. apple

    apple New Member

    注册:
    2006-05-22
    帖子:
    9,561
    赞:
    78
    :belial:这都不晓得!真笨~~
     
  4. Kevin

    Kevin New Member

    注册:
    2005-10-23
    帖子:
    12,728
    赞:
    55
    国外的空间都这么好?