找回密碼
 註冊
搜索
查看: 7930|回復: 0

vBulletin 上傳附件無法超過1M

[複製鏈接]
發表於 2005-5-9 17:35:52 | 顯示全部樓層 |閱讀模式
#新增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
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|彩色筆小沛的知識庫

GMT+8, 2024-12-4 00:45 , Processed in 0.018271 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回復 返回頂部 返回列表