跳轉到內容
View in the app

A better way to browse. Learn more.

PHP論壇人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IPS 4.4設置Redis [繁體]

精選回覆

發表於

未設置Redis,可從此處看出來

論壇後台 -> 系統 -> 支援 -> 右下角,沒有Redis的訊息

Redis-01.png

 

 

 

 

開始設置Redis

論壇後台 -> 系統 -> 進階配置 -> 數據儲存 ->

這是系統預設的情況

Redis-02.png

 

 

 


如果在寶塔面板有安裝Redis,此處就能選擇Redis

快取方式 -> Redis

啟用Redis將使用Redis進行儲存和快取。

 

Redis server address -> 127.0.0.1

Redis port number -> 6379

-> 確認

Redis-03.png

 

 

 


為了儲存您的配置,必須下載新的 constants.php 檔案,並上傳它到您論壇的根目錄。

下載 constants.php -> 用寶塔面板將constants.php檔案上傳到論壇的根目錄

Redis-04.png

 

 

 


等到上傳 constants.php 完成後 -> 按下 [繼續] 按鈕 -> 可以看到配置頁面改為Redis了

Redis-05.png

 

 

 


清除快取

論壇後台 -> 系統 -> 支援 -> 有些事不能正常運行。我想要清除快取

有時候快取數據不正確會發生錯誤。現在已清除所有快取數據。

 

 

 

Redis有沒有正常運行

到論壇後台 -> 系統 -> 支援 -> 右下角,就能看到

Redis 5.0.5 已使用 2.60M / 985.25M 記憶體
50個密鑰儲存在db0
瀏覽

Redis-06.png

 

 

 

 

瀏覽 -> 按下這個選項 -> 就可以看到

Redis-07.png
 

本文章最後於,由Jack編輯

建立帳號或登入後發表意見

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.