- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
  
|
有两个地方需要修改
, e0 m# L5 Y0 y) L6 d. g) o1 POST 数据的大小限制7 J! K: o. D% z2 j0 _
; Maximum size of POST data that PHP will accept.. V6 i$ l0 U. }+ a1 R0 ^& c; u
post_max_size = 8M. Z; D3 t* M. ~/ e, X" J
2 上传文件的大小限制
, ?5 |5 u6 C- s/ v j# Q& ?) N;;;;;;;;;;;;;;;;
" B5 J4 L% o( \3 R; Y* J- s; File Uploads ;
: s$ w( m5 A( d d6 y;;;;;;;;;;;;;;;;
) u/ s$ ]6 O1 ?( l7 `8 r; Whether to allow HTTP file uploads. Q5 o1 w3 o1 \8 H
file_uploads = On1 `* R- a/ K4 a6 S
; Temporary directory for HTTP uploaded files (will use system default if not
+ K( N+ | ~. y* q% H8 w3 x0 j6 I7 v; specified).
6 t* @9 h: g7 P" [;upload_tmp_dir =, B4 c0 ?+ S3 f! q9 G
; Maximum allowed size for uploaded files., `7 @+ i5 n$ _" }/ {- {! Y
upload_max_filesize = 2M
+ [3 f( ]2 M/ W6 s! B, \3 因为可能超时 需要set_time_limit |
|