摘要: 本地系统Apache 2.2.14+PHP5.3.1+MySQL 5.0.22中,PHP5.3.1运行以下程序时无法连接MySQL 5.0.22<?php$link=mysql_connect("localhost","root","");if(!$link) echo "失败!";else echo "成功!";mysql_close();?>出现以下错误:Warning: mysql_connect() [function.mysql-connect]: [2002] 由于连接方 阅读全文
posted @ 2012-09-03 10:17 dll2008 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: 提示:the requested operation has failed。搜索了一下,找到解决方法:开始,运行,CMD,退到httpd.exe的目录,然后:httpd.exe -w -n "Apache2.2" -k start,成功了!提示了httpd.conf里第几行配置出错了,马上打开httpd.conf进行修改,再次重启Apache,成功! 阅读全文
posted @ 2012-09-03 03:11 dll2008 阅读(207) 评论(0) 推荐(0) 编辑