【发布时间】:2014-08-18 14:44:21
【问题描述】:
我在 phpmyadmin 网站上有这条消息
phpMyAdmin 配置存储未完全配置,部分扩展功能已停用。要了解原因,请单击此处。
在“单击此处”页面上,我有这个: Page printscreen
我的 nginx 错误是:
2014/06/27 15:08:15 [error] 4922#0: *886 FastCGI sent in stderr: "PHP message: phpmyadmin: Failed to load /var/lib/phpmyadmin/blowfish_secret.inc.php Check group www-data has read access and open_basedir restrictions.
PHP message: phpmyadmin: Failed to load /var/lib/phpmyadmin/config.inc.php Check group www-data has read access and open_basedir restrictions.2014/06/27 15:17:07 [error] 5119#0: *939 FastCGI sent in stderr: "PHP message: phpmyadmin: Failed to load /var/lib/phpmyadmin/blowfish_secret.inc.php Check group www-data has read access and open_basedir restrictions.
PHP message: phpmyadmin: Failed to load /var/lib/phpmyadmin/config.inc.php Check group www-data has read access and open_basedir restrictions" while reading response header from upstream, client: 1***, server: _, request: "GET /phpmyadmin/js/messages.php?lang=en&db=&token=**** HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "****:8080", referrer: "https://****:8080/phpmyadmin/chk_rel.php?db=&table=&server=1&target=&token=****"
我通过这个 cmd 授予他们所有 3 个文件的权限:
chgrp www-data /var/lib/phpmyadmin/blowfish_secret.inc.php
chmod 644 /var/lib/phpmyadmin/blowfish_secret.inc.php
如何修复 open_basedir 限制?
我查了谷歌,但没有找到任何东西。请给我一些帮助或提示如何解决它。谢谢!
Ubuntu 版本:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"
【问题讨论】:
-
你用的是什么版本的ubuntu?
-
DISTRIB_RELEASE=14.04
-
你确定你已经安装了你需要的一切吗?我的意思是全灯和
sudo php5enmod mcrypt -
我安装了 ispconfig 3,wordpress 运行良好,来自 vhost config 的东西?
标签: linux ubuntu nginx phpmyadmin open-basedir