修改 WordPress 上傳檔案大小限制

腫魔沒人留言?快點下去搶頭香啊!

在apache的php.ini

; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
; 修改執行時間上限(秒)
max_execution_time=300
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
; 修改記憶體上限
memory_limit=128M
; Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading.
; http://php.net/post-max-size
; 修改 POST 資料大小上限
post_max_size=100M
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
; 修改單一檔案大小上限
upload_max_filesize=20M
0 0 vote
Article Rating
訂閱(Subscribe)
來自於(Notify of)
0 Comments
Inline Feedbacks
View all comments