昨天晚上装了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 shutdown131105  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 complete131105 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 shutdown131105 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 complete131105 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 shutdown131105 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 complete131105 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家庭普通版。貌似是端口被占用了 请问要如何解决啊~~~

解决方案 »

  1.   

    之前装过Appserv,一直没问题,昨天卸载了。
      

  2.   

    把iis停用后试试
      

  3.   

    80端口就是localhost。我给你歌httpd.conf配置方法Listen 8899NameVirtualHost *: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
      

  4.   

    端口问题。还有  Deny from 127.0.0.1 改成  Deny from all