After installation, WAMP server is not starting in windows 10

我只是一个虾纸丫 提交于 2019-12-11 02:05:29

问题


Downloaded: http://www.wampserver.com/en/

WAMPSERVER 64 BITS (X64) 3.0.6

  • Wampserver 3.0.6 64 bit x64
  • Apache 2.4.23
  • PHP 5.6.25/7.0.10
  • MySQL 5.7.14
  • PhpMyAdmin 4.6.4
  • Adminer 4.2.5
  • PhpSysInfo 3.2.5

After installation, WAMP serveris not starting in windows 10.

Following is the error log:

State of services:

The service 'wampapache64' is NOT started EXIT error code:1066 Help message for error code 1066 is:

The service has returned a service-specific error code.

The service 'wampmysqld64' is started

The service 'wampmariadb64' is started

The service 'dnscache' is started

WampServer (Apache, PHP and MySQL) will not function properly if any service

'wampapache64'

'wampmysqld64'

'wampmariadb64'

'dnscache'

is not started.

Yes MSVC installed :

Event log :

The Apache service named reported the following error: AH00015: Unable to open logs .

The Apache service named reported the following error: AH00451: no listening sockets available, shutting down .

The Apache service named reported the following error: (OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:80 .

The Apache service named reported the following error: (OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:80 .

The wampapache64 service terminated with the following service-specific error: Incorrect function.


回答1:


Finally got a solution : https://stackoverflow.com/a/36034867/221919

I checked with command for the usage of port 80,

cmd

netstat -ao

Found culprit

After changing port from 80 to 8080 as

It works:




回答2:


You may try killing the task with the same PID as mentioned in the results from the "nestat -ao" command. To kill the task open the Command prompt as Administrator, Command: taskkill /pid /f

Here the /f is used to force the task to end. Hope this helps...

You can try restarting the system, if the problem persists...




回答3:


For n00bs like me who stumble across this page:

You will get a nearly identical message if you add a virtual host with an absolute path containing the windows-default "\" as a separator instead of the linux-friendly "/". So if you copy-pasted the absolute path from windows explorer, this may be what went wrong. Just correcting the vhosts file and restarting all services/refreshing wasn't sufficient in my case, I had to remove the vhost entirely from the vhosts file and re-add using the homepage "add a virtualhost" dialog, then refresh WAMP.



来源:https://stackoverflow.com/questions/46139605/after-installation-wamp-server-is-not-starting-in-windows-10

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