有谁有在iis下安装php5+mysql的经历吗?我死活连不到mysql,郁闷死,希望得到指教。 把C:\PHP\ext\php_mysql.dll复制到C:\WINNT\system32 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 不好意思的是刚才我看错了指导安装文档的一个地方,现在解决了,可以看到phpinfo();中的mysql配置了,但是我仍然不能够使用phpMyAdmin,不知道为什么,提示的错误是:“phpMyAdmin 无法读取您的配置文件!这可能是因为 php 发现了语法错误或 php 未能找到文档。请直接使用下面的链接调用配置文件,然后读取您收到的 php 错误提示。通常的错误都是因为某处漏了引号或分号。如果您看到的是一个空白页,则代表没有任何问题。config.inc.php ”。我的phpMyAdmin中的config_inc.php是这样配置的,不知可否,请指教!/* $Id: config.inc.php,v 2.48 2004/12/28 12:48:27 nijel Exp $ */// vim: expandtab sw=4 ts=4 sts=4:/** * phpMyAdmin Configuration File * * All directives are explained in Documentation.html *//** * Sets the php error reporting - Please do not change this line! */if (!isset($old_error_reporting)) { error_reporting(E_ALL); @ini_set('display_errors', '1');}$cfg['PmaAbsoluteUri'] = 'http://192.168.1.158/phpMyAdmin/';$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;$cfg['PmaNoRelation_DisableWarning'] = FALSE;$cfg['blowfish_secret'] = 'test';/** * Server(s) configuration */$i = 0;// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].// You can disable a server config entry by setting host to ''.$i++;$cfg['Servers'][$i]['host'] = '192.168.1.158'; $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'] = ''; $cfg['Servers'][$i]['controlpass'] = ''; $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'root'; $cfg['Servers'][$i]['only_db'] = ''; $cfg['Servers'][$i]['verbose'] = ''; $cfg['Servers'][$i]['pmadb'] = ''; $cfg['Servers'][$i]['booktable'] = ''; $cfg['Servers'][$i]['relation'] = ''; $cfg['Servers'][$i]['table_info'] = ''; $cfg['Servers'][$i]['table_coords'] = ''; $cfg['Servers'][$i]['pdf_pages'] = ''; $cfg['Servers'][$i]['column_info'] = ''; $cfg['Servers'][$i]['history'] = ''; $cfg['Servers'][$i]['verbose_check'] = TRUE; $cfg['Servers'][$i]['AllowRoot'] = TRUE; $cfg['Servers'][$i]['AllowDeny']['order'] = '';$cfg['Servers'][$i]['AllowDeny']['rules'] = array(); 而且打开http://192.168.1.158/phpMyAdmin/看到的全是文字,图形都看不到,这是为什么啊? 你用mysql\bin 下的mysql 程序连进去了没有??? 倒是没用mysql\bin下的程序进去过,有什么作用吗?能具体说说这和不能使用phpmyadmin有什么联系吗?mysql加载怎么理解?在管理的服务中能看到mysql已启动,而且通过phpinfo();能看到mysql的记录请各位具体说说啊!谢谢了! 管理的服务中能看到mysql已启动------但这不能说明mysql已经正常了会有进程里有mysql但服务并不正常的情况 PHP、Apache、MySQL在Windows平台开发时确实有点儿…… 把QQ号告诉我吧,我发给你一份迄今最为完整详细的配置单。可以100%的保证你成功!我的QQ:11013606 你的配置文件名是config_inc.php,还是config.inc.php? phpMyAdminq我也沒有配置成功,我的數據庫是mysql5.0,php5.0,總是出現警告,說是找不到什麽路徑什麽文件,但用mysql4.0和php4.0就沒有問題。鬱悶之下,用了mysqlcc,這才搞定。 500分求热心人帮忙 php+mysql操作 使用定界符定义一个字符串出现的错误 求这个表达式的写法 请教个菜鸟问题:数组相加 一个功能和模块分离的问题。 问题很明显,就是不知道怎么解决? 关于页面间的数组问题.急!~ 怎样实现点击页面的关闭按钮(IE的右上角的按钮),弹出一个对话框是否退出,同时,推出的时候结束 云锁报毒,请各位大牛看看 关于配置问题-iis和Apache同时使用 谁来救我的姑父?
/* $Id: config.inc.php,v 2.48 2004/12/28 12:48:27 nijel Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* phpMyAdmin Configuration File
*
* All directives are explained in Documentation.html
*//**
* Sets the php error reporting - Please do not change this line!
*/
if (!isset($old_error_reporting)) {
error_reporting(E_ALL);
@ini_set('display_errors', '1');
}
$cfg['PmaAbsoluteUri'] = 'http://192.168.1.158/phpMyAdmin/';$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;$cfg['PmaNoRelation_DisableWarning'] = FALSE;$cfg['blowfish_secret'] = 'test';
/**
* Server(s) configuration
*/
$i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfg['Servers'][$i]['host'] = '192.168.1.158';
$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'] = '';
$cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';
$cfg['Servers'][$i]['only_db'] = '';
$cfg['Servers'][$i]['verbose'] = '';
$cfg['Servers'][$i]['pmadb'] = '';
$cfg['Servers'][$i]['booktable'] = '';
$cfg['Servers'][$i]['relation'] = '';
$cfg['Servers'][$i]['table_info'] = '';
$cfg['Servers'][$i]['table_coords'] = '';
$cfg['Servers'][$i]['pdf_pages'] = '';
$cfg['Servers'][$i]['column_info'] = '';
$cfg['Servers'][$i]['history'] = '';
$cfg['Servers'][$i]['verbose_check'] = TRUE;
$cfg['Servers'][$i]['AllowRoot'] = TRUE;
$cfg['Servers'][$i]['AllowDeny']['order'] = '';
$cfg['Servers'][$i]['AllowDeny']['rules'] = array();
请各位具体说说啊!谢谢了!
------
但这不能说明mysql已经正常了
会有进程里有mysql但服务并不正常的情况
我的QQ:11013606
但用mysql4.0和php4.0就沒有問題。
鬱悶之下,用了mysqlcc,這才搞定。