安装了WAMP但是还是在本地打不开网页

maples67 2013-11-05 12:53:24
昨天晚上装了WAMP5,当时在浏览器打开localhost可以看到正常的安装信息,但是今天上午再打开就不行了。
这是打开localhost的页面出错信息:

状态栏的图标一直是这个状态:


Apache日志:
[Tue Nov 05 00:53:58 2013] [notice] Apache/2.2.6 (Win32) PHP/5.2.5 configured -- resuming normal operations
[Tue Nov 05 00:53:58 2013] [notice] Server built: Sep 5 2007 08:58:56
[Tue Nov 05 00:53:58 2013] [notice] Parent: Created child process 2208
[Tue Nov 05 00:53:58 2013] [notice] Child 2208: Child process is running
[Tue Nov 05 00:53:58 2013] [notice] Child 2208: Acquired the start mutex.
[Tue Nov 05 00:53:58 2013] [notice] Child 2208: Starting 250 worker threads.
[Tue Nov 05 00:53:58 2013] [notice] Child 2208: Starting thread to listen on port 80.
[Tue Nov 05 00:56:11 2013] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Nov 05 00:56:11 2013] [notice] Child 2208: Exit event signaled. Child process is ending.
[Tue Nov 05 00:56:12 2013] [notice] Child 2208: Released the start mutex
[Tue Nov 05 00:56:13 2013] [notice] Child 2208: Waiting for 250 worker threads to exit.
[Tue Nov 05 00:56:13 2013] [notice] Child 2208: All worker threads have exited.
[Tue Nov 05 00:56:13 2013] [notice] Child 2208: Child process is exiting
[Tue Nov 05 00:56:13 2013] [notice] Parent: Child process exited successfully.
Error in my_thread_global_end(): 1 threads didn't exit
[Tue Nov 05 00:56:18 2013] [notice] Apache/2.2.6 (Win32) PHP/5.2.5 configured -- resuming normal operations
[Tue Nov 05 00:56:18 2013] [notice] Server built: Sep 5 2007 08:58:56
[Tue Nov 05 00:56:18 2013] [notice] Parent: Created child process 11944
[Tue Nov 05 00:56:18 2013] [notice] Child 11944: Child process is running
[Tue Nov 05 00:56:18 2013] [notice] Child 11944: Acquired the start mutex.
[Tue Nov 05 00:56:18 2013] [notice] Child 11944: Starting 250 worker threads.
[Tue Nov 05 00:56:18 2013] [notice] Child 11944: Starting thread to listen on port 80.
[Tue Nov 05 01:03:35 2013] [error] [client 127.0.0.1] File does not exist: F:/wamp/www/favicon.ico
[Tue Nov 05 01:03:35 2013] [error] [client 127.0.0.1] File does not exist: F:/wamp/www/favicon.ico
[Tue Nov 05 01:47:20 2013] [warn] (OS 64)指定的网络名不再可用。 : winnt_accept: Asynchronous AcceptEx failed.

mysql日志:
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
131105 0:53:58 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
131105 0:53:58 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 10 MB
InnoDB: Database physically writes the file full: wait...
131105 0:53:59 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
131105 0:54:00 InnoDB: Started; log sequence number 0 0
131105 0:54:00 [Note] F:\wamp\mysql\bin\mysqld-nt.exe: ready for connections.
Version: '5.0.45-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
131105 2:24:22 [Note] F:\wamp\mysql\bin\mysqld-nt.exe: Normal shutdown

131105 2:24:22 InnoDB: Starting shutdown...
131105 2:24:26 InnoDB: Shutdown completed; log sequence number 0 43655
131105 2:24:26 [Note] F:\wamp\mysql\bin\mysqld-nt.exe: Shutdown complete

131105 11:17:29 InnoDB: Started; log sequence number 0 43655
131105 11:17:30 [Note] F:\wamp\mysql\bin\mysqld-nt.exe: ready for connections.
Version: '5.0.45-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
131105 11:17:59 [Note] F:\wamp\mysql\bin\mysqld-nt.exe: Normal shutdown

131105 11:17:59 InnoDB: Starting shutdown...
131105 11:18:01 InnoDB: Shutdown completed; log sequence number 0 43655
131105 11:18:01 [Note] F:\wamp\mysql\bin\mysqld-nt.exe: Shutdown complete

131105 11:18:01 InnoDB: Started; log sequence number 0 43655
131105 11:18:01 [Note] F:\wamp\mysql\bin\mysqld-nt.exe: ready for connections.
Version: '5.0.45-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
131105 12:26:41 [Note] F:\wamp\mysql\bin\mysqld-nt.exe: Normal shutdown

131105 12:26:41 InnoDB: Starting shutdown...
131105 12:26:43 InnoDB: Shutdown completed; log sequence number 0 43655
131105 12:26:43 [Note] F:\wamp\mysql\bin\mysqld-nt.exe: Shutdown complete

131105 12:26:43 InnoDB: Started; log sequence number 0 43655
131105 12:26:43 [Note] F:\wamp\mysql\bin\mysqld-nt.exe: ready for connections.
Version: '5.0.45-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)

测试80端口的时候是这样:

系统是Win7家庭普通版。

貌似是端口被占用了。。。 请问要如何解决啊~~~
...全文
618 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
zixiao123 2013-11-05
  • 打赏
  • 举报
回复
端口问题。还有 Deny from 127.0.0.1 改成 Deny from all
namelesswei 2013-11-05
  • 打赏
  • 举报
回复
80端口就是localhost。我给你歌httpd.conf配置方法 Listen 8899 NameVirtualHost *:8899 #你想要设置的端口号 <VirtualHost *:8899> ServerAdmin admin@localhost DocumentRoot "e:/KM/kk" #你源码想存放的位置,不要中文路径 ServerName 192.168.11.111:8899 #你本机ip+端口号 <Directory "e:/KM/kk/"> Options Indexes FollowSymLinks AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 Allow from 127.0.0.1 Allow from 192.168.11.111 #你本机ip </Directory> </VirtualHost> 2) 重启服务,即可访问http://localhost:8899
maples67 2013-11-05
  • 打赏
  • 举报
回复
解决了,把配置文件端口改了就行了。3Q
一起混吧 2013-11-05
  • 打赏
  • 举报
回复
把iis停用后试试
maples67 2013-11-05
  • 打赏
  • 举报
回复
之前装过Appserv,一直没问题,昨天卸载了。

20,359

社区成员

发帖
与我相关
我的任务
社区描述
“超文本预处理器”,是在服务器端执行的脚本语言,尤其适用于Web开发并可嵌入HTML中。PHP语法利用了C、Java和Perl,该语言的主要目标是允许web开发人员快速编写动态网页。
phpphpstorm 技术论坛(原bbs)
社区管理员
  • 开源资源社区
  • phpstory
  • xuzuning
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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