- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
|
有两个地方需要修改2 M7 L0 b1 J6 Y/ G5 \
1 POST 数据的大小限制+ {- h* |) K2 ^- a
; Maximum size of POST data that PHP will accept.
1 F& l( R7 y A0 ~3 Apost_max_size = 8M( p9 T, t' j. C/ N6 D, u4 D7 L
2 上传文件的大小限制, k& J, m& s" t4 F" H7 D) c0 w- Z
;;;;;;;;;;;;;;;;/ _8 q* Z& o% _* N7 M7 I
; File Uploads ;
' e3 f0 L; A H2 s# m6 @;;;;;;;;;;;;;;;;- b- J9 m4 H3 l- N
; Whether to allow HTTP file uploads.: D) {$ `! Q0 E
file_uploads = On
! }# ~) y% J* c; Temporary directory for HTTP uploaded files (will use system default if not# T- A8 |+ v$ _/ o" T5 C
; specified).
- C( S; K* e8 R0 e' |;upload_tmp_dir =
8 O! c" b- @ F- {3 K; Maximum allowed size for uploaded files.
( j. E. p" s |6 supload_max_filesize = 2M) {/ D' o" r. B5 t5 `2 ]5 X
3 因为可能超时 需要set_time_limit |
|