当前位置:Gxlcms > PHP教程 > 我的xampp到底哪里出了问题啊。请各位大神帮帮忙啊

我的xampp到底哪里出了问题啊。请各位大神帮帮忙啊

时间:2021-07-01 10:21:17 帮助过:9人阅读

我最近才弄xampp。但是http://localhost/ 就是死活打不开。在
xampp-control 里面显示的一切正常,apache 和MySQL 都是显示的running
日志如下
15:15:16 [main] Initializing Control Panel
15:15:16 [main] Windows Version: Windows XP SP3 32-bit
15:15:16 [main] XAMPP Version: 1.8.1
15:15:16 [main] Control Panel Version: 3.1.0 Beta 6 [ Compiled: September 20th 2012 ]
15:15:16 [main] Running with Administrator rights - good!
15:15:16 [main] XAMPP Installation Directory: "f:\xampp\"
15:15:16 [main] Checking for prerequisites
15:15:16 [main] All prerequisites found
15:15:16 [main] Initializing Modules
15:15:16 [main] Starting Check-Timer
15:15:16 [main] Control Panel Ready
15:15:24 [Apache] Attempting to start Apache app...
15:15:24 [Apache] Status change detected: running
15:15:24 [mysql] Attempting to start MySQL app...
15:15:25 [mysql] Status change detected: running
15:16:06 [Apache] Attempting to stop Apache (PID: 5564)
15:16:06 [Apache] Attempting to stop Apache (PID: 4656)
15:16:06 [Apache] Status change detected: stopped
15:16:06 [mysql] Attempting to stop MySQL (PID: 4024)
15:16:07 [mysql] Status change detected: stopped
15:17:41 [main] Deinitializing Modules
15:17:41 [main] Deinitializing Control Panel

但是在apache的日志里有如下的东西

[Tue Oct 30 15:15:28.468750 2012] [core:warn] [pid 5564:tid 216] AH00098: pid file F:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Oct 30 15:15:28.843750 2012] [ssl:warn] [pid 5564:tid 216] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 30 15:15:30.203125 2012] [mpm_winnt:notice] [pid 5564:tid 216] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Tue Oct 30 15:15:30.218750 2012] [mpm_winnt:notice] [pid 5564:tid 216] AH00456: Server built: Aug 18 2012 12:41:37
[Tue Oct 30 15:15:30.218750 2012] [core:notice] [pid 5564:tid 216] AH00094: Command line: 'f:\\xampp\\apache\\bin\\httpd.exe -d F:/xampp/apache'
[Tue Oct 30 15:15:30.296875 2012] [mpm_winnt:notice] [pid 5564:tid 216] AH00418: Parent: Created child process 4656
[Tue Oct 30 15:15:33.093750 2012] [ssl:warn] [pid 4656:tid 1864] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 30 15:15:33.281250 2012] [mpm_winnt:notice] [pid 4656:tid 1864] AH00354: Child: Starting 150 worker threads.


mysql 的日志是这样的

121030 15:15:26 [Note] Plugin 'FEDERATED' is disabled.
121030 15:15:26 InnoDB: The InnoDB memory heap is disabled
121030 15:15:26 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121030 15:15:26 InnoDB: Compressed tables use zlib 1.2.3
121030 15:15:26 InnoDB: Initializing buffer pool, size = 16.0M
121030 15:15:26 InnoDB: Completed initialization of buffer pool
121030 15:15:26 InnoDB: highest supported file format is Barracuda.
121030 15:15:26 InnoDB: Waiting for the background threads to start
121030 15:15:27 InnoDB: 1.1.8 started; log sequence number 1595675
121030 15:15:27 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
121030 15:15:28 [Note] - '0.0.0.0' resolves to '0.0.0.0';
121030 15:15:28 [Note] Server socket created on IP: '0.0.0.0'.
121030 15:15:28 [Note] Event Scheduler: Loaded 0 events
121030 15:15:28 [Note] f:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.27' socket: '' port: 3306 MySQL Community Server (GPL)

我的xampp到底哪里出了问题啊。请各位大神帮帮忙啊


回复讨论(解决方案)

以前的apache没删除干净吧

你运行网站报什么错了,是什么界面。

我安的xampp都是绿色版的那种,没按过别的东西,
打开http://localhost/ 直接就是显示Internet Explorer 无法显示该页面

运行一下xampp文件夹里面提供的test_php 截图如下

xampp-control 截图

没遇到过,试试下面这个看看。注意:把原来的删除干净再装。
http://www.apachefriends.org/zh_cn/xampp-windows.html

谢谢,我去试一下,要是成功的话,我给你加分

我的xampp就是在那个网站下的,绿色的。使用的时候出现的我在帖子里说的问题

运行 xampp的话,和ie的版本有关系吗

运行 xampp的话,和ie的版本有关系吗 当然无关!!!

我现在快崩溃了,就是打不开http://localhost/

换个AppServ 试试吧

换过phpstudy2011A APMServ5.2.6 都是打不开http://localhost/ 但是界面里都显示的是该启动的都启动了

帮帮忙啊

帮帮忙啊,谢谢

我也出现楼主一样的问题,求解决方式。

请问楼主问题解决了吗?我也遇到这个问题了,求解决方式

应当是安装的历史文件没删除完,或者就是80端口被占用了。

跟楼主遇到同样坑人的问题
不知道解决了没有、求解决、

在httpd.conf配置文件查找 Lsiten 80,改成别的端口,可以改特殊一点,肯定不会用到的,比如3369等

同样的问题,终于找到这里了,怎么解决呢?

灵光一现,加了改过来的端口访问即正常。不过之前也试过几次无效,小白做技术活真无奈………………

人气教程排行