1 頁 (共 1 頁)

Upgrading from 3.0 to 3.2

發表於 : 2019.03.29 週五 4:19 PM
sysop
參考:
Upgrading from 3.0 to 3.2
Upgrading from 3.0 to 3.2(從 3.0 升級到 3.2)


筆記:
  1. mv phpbb/* old_phpbb/
  2. 解壓下載檔到 phpbb/,刪除子目錄 images/ files/ 資料夾。
  3. cp old_phpbb/config.php phpbb/, 設定 chmod 640
  4. 將 images/ files/ styles/devmo 移回 phpbb/
  5. 在 shell 模式下執行:

    代碼: 選擇全部

    cd 到 forum 目錄之下的 ./bin
    php ./phpbbcli.php db:migrate
    
    重點
    • 一定要在 shell 之下執行, 用網頁執行會 timeout.
    • 必須用 root 執行, 用 user 執行某些檔案如 ./cache 會有不能寫入導至失敗.