Blogger Information
Blog 43
fans 0
comment 3
visits 27033
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
大视频文件上传修改php后端配置
Time
Original
448 people have browsed it

apche:httpd.config

  1. httpd.config末尾添加:
  2. <IfModule mod_fcgid.c>
  3. AddHandler fcgid-script .fcgi
  4. FcgidConnectTimeout 20
  5. MaxRequestLen 524288000
  6. </IfModule>

php.ini修改:

  1. ;每个php页面运行最大时间值,默认30
  2. max_execution_time = 600;
  3. ;每个php页面接收数据所需的最大时间,默认60
  4. max_input_time = 600
  5. ;每个php页面所吃掉的最大内存,默认8M
  6. memory_limit = 8M;
  7. ;上述三个修改一般就好使了
  8. ;开启上传功能
  9. file_uploads = on;
  10. upload_max_filesize = 32M 上传文件大小
  11. post_max_size = 32M 表单提交最大大小
  12. upload_tmp_dir = ''上传文件存放临时位置
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post