php.ini中;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
file_uploads = On; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =; Maximum allowed size for uploaded files.
upload_max_filesize = 2M; Maximum size of POST data that PHP will accept.
post_max_size = 8M
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
file_uploads = On; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =; Maximum allowed size for uploaded files.
upload_max_filesize = 2M; Maximum size of POST data that PHP will accept.
post_max_size = 8M
find -name php.ini
php.ini中 ;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
file_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir = ; Maximum allowed size for uploaded files.
upload_max_filesize = 2M ; Maximum size of POST data that PHP will accept.
post_max_size = 8M将值改哈就可以了 最大值好像只能设为10M