首頁 > 資訊小教學 > 解決:phpMyAdmin 無法讀取 mcrypt 模組

解決:phpMyAdmin 無法讀取 mcrypt 模組

2010年11月2日 發表評論 閱讀評論

CentOS 5.5 安裝 phpMyAdmin 後,登入時出現:[無法讀取 mcrypt 模組,請檢查 PHP 設定] 的訊息。

發生的原因是因為 phpMyAdmin 預設認證方式設為 cookie,但 php 缺少 mcrypt 這個模組。解決方式很簡單,請下指令 #yum install -y php-mcrypt

安裝完成後,記得 #service httpd restart,重新啟動 apache 才會生效。

登入 phpMyAdmin 之後,又發現: [找不到 PHP 內的 mbstring 編碼模組, 沒有這個模組, phpMyAdmin 無法準確地分割雙字元文字, 而可能產生問題. ] 解決方式同樣很簡單,請下指令 #yum install -y php-mbstring 就可以解決了。

同樣,安裝完成後,記得 #service httpd restart,重新啟動 apache 才會生效。

相關文章:

  1. 目前尚無任何的評論。
  1. 目前尚無任何 trackbacks 和 pingbacks。

Comments links could be nofollow free.