JDP 發表於 2005-5-9 17:35:52

vBulletin 上傳附件無法超過1M

#新增MySQL設定檔 my.cnf 至 /etc, 內容輸入 max_allowed_packet = 32M
#修改php.ini設定檔(/usr/local/etc/php.ini), 修改 memory_limit = 32M 及 upload_max_filesize = 32M 及 post_max_size = 32M
(1)查找max_execution_time = 30,更改為max_execution_time = 600
(2)查找max_input_time = 60,更改為max_input_time = 600
(3)查找memory_limit = 8M ,更改為memory_limit = 20M
(4)查找display_errors = On,更改為display_errors = Off
(5)查找register_globals = Off,更改為register_globals = On
(6)查找post_max_size = 8M,更改為post_max_size = 20M
(7)查找upload_max_filesize = 2M,更改為upload_max_filesize = 20M
(8)查找session.auto_start = 0,更改為session.auto_start = 1
頁: [1]
查看完整版本: vBulletin 上傳附件無法超過1M