- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
|
有两个地方需要修改
* D* e/ ~; A, b0 E2 y+ n1 POST 数据的大小限制2 o: r( C! J9 L1 |& F) O2 d
; Maximum size of POST data that PHP will accept.
# J, F$ C% z* {; _post_max_size = 8M
4 K" _- _9 O' a4 p2 f6 F2 上传文件的大小限制
* ^% Y, V' b. N: c" E+ Z;;;;;;;;;;;;;;;;
1 I$ O( F; m& E# B" x; File Uploads ;$ c/ C, [4 ^; ^2 h6 N, S' t j
;;;;;;;;;;;;;;;;
' X( y* k7 M' }4 Z+ |, E3 M; Whether to allow HTTP file uploads. d. l/ H6 @. z4 e
file_uploads = On* j, C6 F/ }+ w6 C
; Temporary directory for HTTP uploaded files (will use system default if not8 x- B- x4 ]0 Y# a9 ^
; specified).; w$ Z9 x- A2 W+ L0 P R5 i
;upload_tmp_dir =! M0 e" l, j! R: r' F7 d k$ S
; Maximum allowed size for uploaded files.
3 n+ J1 O( G7 G- i0 f% q. |upload_max_filesize = 2M
9 y, j7 E2 z3 }6 I& o; P4 X- l3 因为可能超时 需要set_time_limit |
|