使用phpMyAdmin碰到的一個問題: phpMyAdmin is not able to cache templates and will be slow because of this.

本人使用ubuntu的電腦,上面管理mysql 的利器就是phpMyAdmin了
使用phpMyAdmin的時候我用了nginx來作爲php網頁的服務器.
然後打開網頁的時候碰到一個問題:

我在config.ini.php裏配置了它所需要的temp目錄, 但是網頁上提示說那個 temp目錄不能訪問
phpMyAdmin is not able to cache templates and will be slow because of this.

查了萬能的google , 說是需要配置temp目錄的訪問權限.

於是:

  1. 因爲我這裏是nginx進程服務這個網頁的, 首先要知道我這裏nginx的賬戶和組.
  2. 進入/var/log/nginx
  3. 查看到我這裏nginx 的用戶和組是www-data 和 adm
  4. 於是 chown -R www-data:adm $_the_temp_dir
  5. 再次打開phpMyadmin網頁, 問題消失
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章