切换到宽版
  • 3678阅读
  • 24回复

XAMPP故障及解决方法总汇 [复制链接]

上一主题 下一主题
 

只看楼主 倒序阅读 使用道具 0楼 发表于: 2011-02-24
— 本帖被 jinriit 执行置顶操作(2011-02-24) —
          很多初来学习WordPress建站的朋友,在使用XAMPP配置PHP运行环境时,被当头一棒子打昏了——安装后死活折腾XAMPP就是无法启动,论坛里关于此类问题的求助也屡见不鲜。 vo^9qSX f  
;Bc<u[G  
           新朋友们不要遇到问题灰心丧气,很多使用xampp搭建环境的朋友都遇到这样的问题,今天在这里总结了一些安装xampp常见故障和简单解决方法,希望对新朋友们有所帮助,同时也希望你补充和分享你解决问题的方法。 &B>uPZ]  
4wEpyQ|L  
           一:做好xampp安装前准备,确保最大程度上一次性成功安装。 ]idD&5gd  
尽可能的关闭一些能关闭的软件、进程、服务、尤其是Skype和迅雷。 &?ed.V@E5  
最基本最直接的就是,关闭开机启动项,方法:开始——运行——输入msconfig——敲回车——找到“启动”选项卡——选择全部禁用——确定并重启电脑尝试重新运行xampp。 'V*M_o(\  
另外,如果你的电脑安装了IIS服务,则本地连接——TCP/IP协议——属性——常规——高级——Wins 中的启用LMHosts 勾选去掉。 q?'gwH37  
u\& [@v  
         二:安装后程序无法启动 T"0)%k8lJ  
通常是点击star提示busy… apache started [port 80] 或启动Mysql提示error:mysql service not started [-1] M5bj |tQ4  
故障现象及解决方法:   #j ~FA3O  
NX #/1=  
          故障一:点击XAMPP控制台的Start按钮没有反应,提示服务忙,80端口被占用。 b "3T(#2<*  
解决方法:更改端口:   OgpH{"  
1)检查被占用的端口运行cmd,然后输入netstat -ano,回车,查看端口或直接运行xampp安装目录下的xampp-portcheck.exe来检测端口。 ~k< 31 ez  
2)查看本地地址中包含xx.xx.xx.xx:80  443 3306这些行的pid   把这几个数字记下来             )-:f;#xJ  
3)启动“任务管理器”——“进程”,在工具栏——查看——“选择列”——勾选PID(进程标识符) _WkcJe`  
# ;KG6IE  
&_x/Dzu!z  
4)然后查看与刚才那个pid对应的是哪个程序,很容易就会找到,就是它占用了80端口; !/lY q;$R  
5)直接接触该进程或使用第三方软件如优化大师 360安全卫士等工具使之开机不启动。 af5`ktx  
这样,你就可以先启动xampp,然后在去启动你的Skype和迅雷。 sYW)h$p;D  
方法二: 8$xKg3-3M  
1、xampp的安装目录中查找“httpd.conf”文件,用文本编辑器打开,将所有的80修改为8081 ^T1-dw(  
2、保存后,重启Apache就OK(修改xampp配置文件后必须重启xampp,点击exit重启或重启电脑)3、在ie里输入地址:http://localhost:8081测试 &!EYT0=>p  
注意:测试是不要用http://localhost,因为localhost默认是http://localhost:80现在是8081 pD.@&J~  
故障二:Apache 启动几秒钟就自动关闭 NqfDY  
解决方法一:尝试启动xampp安装目录中的xampp_start.exe,关闭 mod_perl 模块。 Y{:/vOj  
故障三:启动xampp后,点击admin不起作用 T7_ SO,X  
解决方法:在浏览器输入http://localhosthttp://127.0.0.1 绕开故障点,从浏览器进入。额 ^%/5-0?xE  
好了,基本的就这些吧,再深了我也不懂,还可能打消新朋友们的积极性,如果您有兴趣,可以参考xampp\apache\logs中的错误日志,把问题发到个大网站上共同讨论。以上这些方法如果这些都解决不了问题,那就重新安装xampp吧,多麻烦几次,一定可以的! 10C91/  
---------------------------------------------------------------------------------- |MR?8A^"  
XAMPP服务的启动和停止脚本路径 "jJ)hk5e  
启动 Apache 和 MySQL:xampp\xampp_start.exe zi&d  
停止 Apache 和 MySQL:xampp\xampp_stop.exe 3jVm[c5%]  
启动 Apache:xampp\apache_start.bat !>);}J!e]  
停止 Apache:xampp\apache_stop.bat *M<=K.*\G  
启动 MySQL:xampp\mysql_start.bat 1EPOYvf%U  
停止 MySQL:xampp\mysql_stop.bat ?B!ZqJ#  
启动 Mercury 邮件服务器:xampp\mercury_start.bat {!?RG\EYN  
设置 FileZilla FTP 服务器:xampp\filezilla_setup.bat @{a-IW 3  
启动 FileZilla FTP 服务器:xampp\filezilla_start.bat T/6=A$4 #  
停止 FileZilla FTP 服务器:xampp\filezilla_stop.bat 6(^9D_"@  
------------------------------------------------------------------------------------- d iLl>z  
本文持续更新中……欢迎您分享经验和指点错误! twS3J)UH  
1}M.}G2u/  
`v{X@x  
OYy !4Fp  
本主题包含附件,请 登录 后查看, 或者 注册 成为会员
1条评分铜币+10
ralix 铜币 +10 总结的真好~ 2011-06-08

只看该作者 1楼 发表于: 2011-06-08
总结的真好~
只看该作者 2楼 发表于: 2011-07-05
我的点击MySQL--admin不起作用,还有smtp服务未激活,谁能告诉我答案呢???,谢谢 ZQA C &:  
只看该作者 3楼 发表于: 2011-07-10
链接表的附加功能尚未激活。要查出原因,请点击此处。 E,yK` mPp^  
只看该作者 4楼 发表于: 2011-07-22
回 2楼(anfy2000) 的帖子
我也一样,请问您解决了吗。。。
只看该作者 5楼 发表于: 2011-08-16
昨天刚开始,用wordpress 2.7  xampp1.7.4出现 +=6RmId+X  
[font='Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif] KM/U?`6>:  
Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with that of Walker::start_lvl() in D:\xampp\htdocs\wpcourse\wp-includes\classes.php on line 1199 ljYpMv.>xG  
-3G 4vRIo  
Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with that of Walker::end_lvl() in D:\xampp\htdocs\wpcourse\wp-includes\classes.php on line 1199 S$jV|xK B  
tM^;?HL]  
Strict Standards: Declaration of Walker_Page::start_el() should be compatible with that of Walker::start_el() in D:\xampp\htdocs\wpcourse\wp-includes\classes.php on line 1199 <Qcex3  
JQ"`9RNb  
Strict Standards: Declaration of Walker_Page::end_el() should be compatible with that of Walker::end_el() in D:\xampp\htdocs\wpcourse\wp-includes\classes.php on line 1199 $(@o$%d  
4fw1_pv_D  
Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with that of Walker::start_el() in D:\xampp\htdocs\wpcourse\wp-includes\classes.php on line 1244 xb9Pc.A[  
t;.^K\S4  
Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with that of Walker::start_lvl() in D:\xampp\htdocs\wpcourse\wp-includes\classes.php on line 1391 %@lV-(5q  
n5Nan  
Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with that of Walker::end_lvl() in D:\xampp\htdocs\wpcourse\wp-includes\classes.php on line 1391 ]6t]m2~\  
4<G?  
Strict Standards: Declaration of Walker_Category::start_el() should be compatible with that of Walker::start_el() in D:\xampp\htdocs\wpcourse\wp-includes\classes.php on line 1391 ~A`&/U  
O{k89{  
Strict Standards: Declaration of Walker_Category::end_el() should be compatible with that of Walker::end_el() in D:\xampp\htdocs\wpcourse\wp-includes\classes.php on line 1391 I 1b  
,4^9cFVo  
Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with that of Walker::start_el() in D:\xampp\htdocs\wpcourse\wp-includes\classes.php on line 1442
E`Jp(gK9F  
[font='Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif] -}{%Q?rYj  
#XTY7,@ P  
[font='Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif] $ Wit17j  
}P<Qz^sr_  
[font='Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif]若用wordpress 3.2 界面选项有不少差别  xampp 1.7.1  myslq 服务器启动不起来

只看该作者 6楼 发表于: 2011-09-04
分享的很细致啊,学习了,研究研究。
只看该作者 7楼 发表于: 2011-09-15
我的点击MySQL--admin不起作用,还有smtp服务未激活,谁能告诉我答案呢???,谢谢 9 |' |BC  
我装的是1.7.4,也有这个问题,怎么解决
只看该作者 8楼 发表于: 2011-09-15
新下了个1.7.5的压缩包版,MySQL--admin可以用了,STMP服务要激活Mercury才会被激活,之前1.7.4安装版的MySQL--admin不能用的问题,还是没弄明白?

只看该作者 9楼 发表于: 2011-11-15
如果使用xampp一直有问题的朋友,请把xampp卸载掉,换用wamp: 09S6#;N&  
http://www.crsky.com/soft/10723.html
快速回复
限100 字节
 
上一个 下一个