session.auto_start	注意这个不要设为1,否则你在程序里就控制不了session的相关参数啦。

session.gc_maxlifetime = 1440;		#默认after this number of seconds, stored , 24分钟
session.cache_expire = 180;			#這是網頁過期時間設置;

session.gc_probability = 1
session.gc_divisor     = 1000
garbage collection 有个概率的,1/1000就是session 1000次才有一次被回收。
可以设置cookie的生命周期
session.cookie_lifetime = 0  ;默认0是关闭浏览器无效,单位是秒



max_execution_time = 600
max_input_time , 似乎是php从接收到处理数据的时间

While uploading large files, you should also increase the values for max_execution_time  
and max_input_time directives. Else your script will timeout or timeout before being able to 
parse the entire input/uploaded data. 

Posted on 2007-04-25 14:54  古代  阅读(941)  评论(0编辑  收藏  举报