二月 28, 2006

[ 系統 ] 使用者無法上傳大檔的解決方式

可以試著去調整 php.ini (藍字為修改部份)

有關傳送時間

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time =
1200
; Maximum execution time of each script, in seconds
max_input_time = 180
; Maximum amount of time each script may spend parsing request data
memory_limit = 32M
; Maximum amount of memory a script may consume (8MB)

有關上傳檔案大小

;;;;;;;;;;;;;;;;
; 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 = C:/PHP/uploadtemp

; temporary directory for HTTP uploaded files (will use system default if not specified)

; Maximum allowed size for uploaded files.

upload_max_filesize = 16M


記得要將網站伺服器重新啟動哦!



發佈者: 陳怡杰 老師 at 11:53│  點閱次數 (579)│ 修改文章管理迴響迴響 (0)部落格學習筆記
回應文章
(必要)
authimage