phpMyAdmin显示空白页?

orangeand001 2009-07-27 02:33:53
我用的是lighttpd+mysql+phpMyAdmin
可以访问http://localhost/
写了<?php phpinfo(); ?>也可以显示
于是把phpMyAdmin复制到/var/www/lighttpd路径下
但使用http://localhost/phpMyAdmin/和http://localhost/phpMyAdmin/index.php访问都是空白
在phpMyAdmin的index.php前面加上<?php phpinfo(); ?>后有显示,究竟是怎么回事阿?
我的phpMyAdmin的config.inc.php配置如下:
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/';
$cfg['blowfish_secret'] = '******';
$cfg['DefaultLang'] = 'zh';
$cfg['DefaultCharset'] = 'gb2312';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = '******';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '******';
在线等答案
...全文
1491 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
lypfriends 2009-07-27
  • 打赏
  • 举报
回复
没遇到过,顶
orangeand001 2009-07-27
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 jakey9826 的回复:]
查看apache日志.
error_log

[/Quote]用的不是apache,是lighttpd
看了lighttpd的error_log,什么都没有啊~
程序猿之殇 2009-07-27
  • 打赏
  • 举报
回复
php.ini
display_errors = On
orangeand001 2009-07-27
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 mute_solo 的回复:]
php.ini打开error_reporting看看提示的错误
[/Quote]
都打开了 可是还是空白 这个错误提示是写到日志还是直接在页面显示啊?
程序猿之殇 2009-07-27
  • 打赏
  • 举报
回复
查看apache日志.
error_log
llj480028 2009-07-27
  • 打赏
  • 举报
回复
没遇到过,帮顶……
mute_solo 2009-07-27
  • 打赏
  • 举报
回复
php.ini打开error_reporting看看提示的错误

21,891

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧