Windows 10 - WAMP Orange

吃可爱长大的小学妹 提交于 2019-12-21 09:17:09

问题


I've installed WAMP 64bit server on my windows 10 enterprise machine. However I'm getting a orange icon. I've checked the following:

  1. Apache -> Service, the start/resume service is greyed out and stop service is red. In addition Test Port 80 gives me:

Your port 80 is actually used by : Server: Apache/2.4.9 (Win64) PHP/5.5.12

  1. Mysql -> service, start/resume service is green. When I click on it nothing happens.

  2. I've tried turning off the windows firewall, nothing happens.

  3. I've checked for skype but it is actually not installed on my machine. Tried netstat-b in the command prompt and I can't see anything with port 80

  4. Searched for mysql-bin.index to delete but nothing came up.

Any help on what I can try next will be grateful. Thanks

UPDATE Following RiggsFolly advice below are the erros I am getting from MySQL via the windows event logger:

    2015-08-08 08:31:08 7024 [Note] Plugin 'FEDERATED' is disabled.
2015-08-08 08:31:08 18ec InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-08-08 08:31:08 7024 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-08 08:31:08 7024 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-08 08:31:08 7024 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-08-08 08:31:08 7024 [Note] InnoDB: Memory barrier is not used
2015-08-08 08:31:08 7024 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-08 08:31:08 7024 [Note] InnoDB: Not using CPU crc32 instructions
2015-08-08 08:31:08 7024 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-08-08 08:31:08 7024 [Note] InnoDB: Completed initialization of buffer pool
2015-08-08 08:31:08 7024 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-08 08:31:08 18ec  InnoDB: Operating system error number 87 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
2015-08-08 08:31:08 7024 [ERROR] InnoDB: File C:\wamp\mysql\data\ib_logfile0: 'aio read' returned OS error 187. Cannot continue operation

Also from googling I tried adding the following line to my.ini file, but still get the same error: innodb_flush_method=normal


回答1:


In Windows 10 Microsoft decided to enable the "World Wide Web Publishing Service" (a webserver) by default.

Try and run in cmd:

netstat -aon | findstr :80

And see something like:

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4
  ...
  TCP    [::]:80                [::]:0                 LISTENING       4
  TCP    [::1]:80               [::1]:50558            ESTABLISHED     4
  TCP    [::1]:50558            [::1]:80               ESTABLISHED     11504

You know you have another service blocking port 80.

Solution:

Start -> Type "Services" -> Enter -> Find "World Wide Web Publishing Service" -> Select it -> Right click -> Properties -> Change Startup type: Automatic to Manual and click the Stop bottom -> Apply/OK.

Now you can right click on you WAMP icon and click "Restart All Services".

Viola!




回答2:


I know this thread is a bit old but I found a solution to my problem. From the WAMP icon, navigate to:

  • wampmanager -> Apache -> Service -> Install Service
  • wampmanager -> MySQL -> Service -> Install Service

When Apache failed for me, it suggested that Skype might be the problem, because it was utilizing the requisite ports. I quit Skype, restarted all WAMP services, and got the green light... or green W rather ;)




回答3:


Change the port WAMP is using. By default, WAMP uses port 80. You can change the port by: right click WAMP > tools > "Use port other than #"

Hope this helps!



来源:https://stackoverflow.com/questions/31830428/windows-10-wamp-orange

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!