【问题标题】:phpMyAdmin shows white page with no errorphpMyAdmin 显示没有错误的白页
【发布时间】:2015-02-23 16:56:56
【问题描述】:

我将 FreeBSD 与 nginx、php 和 mysql 一起使用。 一切都很好,直到我决定将我的 php 升级到 5.6。 然后我从端口安装了 phpMyAdmin。 我的问题是 phpMyAdmin 不会出现。它显示没有错误的白屏,即使我将错误设置为在 php.ini 中显示。 网站和 mysql 运行良好。我什至可以在 index.php(phpmyadmin 文件夹)中回显一些内容。 这是我的 config.inc.php 设置:

$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = '*******';
$cfg['Servers'][$i]['password'] = '*******';
$cfg['Servers'][$i]['AllowNoPassword'] = false;

【问题讨论】:

  • 您检查日志文件是否有错误?
  • 谢谢,我在 httpd-error.log 中收到此错误:*1801 FastCGI 在标准错误中发送:“PHP 致命错误:调用 /usr/local/www/phpMyAdmin 中的未定义函数 mb_detect_encoding() /libraries/php-gettext/gettext.inc 在第 177 行"
  • 听起来你在编译时缺少php-mbstring
  • 是的。设法让它现在运行。谢谢。

标签: php nginx phpmyadmin freebsd


【解决方案1】:

确保 mbstring 已安装并加载到 php.ini 中

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-03-04
    • 2015-06-06
    • 2017-09-05
    • 1970-01-01
    • 1970-01-01
    • 2021-06-11
    • 1970-01-01
    • 2021-05-14
    相关资源
    最近更新 更多