- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
|
有两个地方需要修改
0 y' ?5 h3 e' L1 POST 数据的大小限制: B' e7 {$ J- n; s0 ~' \: d D
; Maximum size of POST data that PHP will accept.
( j! U4 y) g) I* N, D/ u" e7 F( Lpost_max_size = 8M6 `+ q% x& J, B; l6 f1 O
2 上传文件的大小限制
0 X, d: D% W0 p. X$ @, |; z;;;;;;;;;;;;;;;; F J! |& z3 h- z5 `; ?
; File Uploads ;
7 P G: y9 f' U" I;;;;;;;;;;;;;;;;8 Z( O9 J& G6 |" ]! s
; Whether to allow HTTP file uploads.
" ^! {' g5 F" r; yfile_uploads = On* N2 x, F% J C0 D- ^# p
; Temporary directory for HTTP uploaded files (will use system default if not) z3 f0 A/ ?# L; P
; specified).
, _% i- y6 K2 t1 c! d3 }$ O;upload_tmp_dir =4 R# ?8 {; [( c
; Maximum allowed size for uploaded files.
; c& V/ {1 L9 t6 U8 W: {upload_max_filesize = 2M0 t( z6 s2 i. q% `9 i7 M
3 因为可能超时 需要set_time_limit |
|