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. 

相关文章:

  • 2020-02-04
  • 2019-09-19
  • 2021-12-11
  • 2022-01-22
  • 2021-09-22
  • 2021-10-31
  • 2022-12-23
猜你喜欢
  • 2022-01-30
  • 2021-09-10
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2022-02-21
  • 2021-06-09
相关资源
相似解决方案