Initial Installation - Only 2 Services Started: Error 1066
Posted by: MatthiasBruse (69.238.222.---)
Date: June 01, 2018 06:04PM

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.

Options: ReplyQuote
Re: Initial Installation - Only 2 Services Started: Error 1066
Posted by: Otomatic (Moderator)
Date: June 01, 2018 06:53PM

Hi,

- 1 - READ (and answer) BEFORE YOU ASK A QUESTION

- 2 - What is the result of:
Right-Click Wampmanager tray icon -> Tools -> Test port 80

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Initial Installation - Only 2 Services Started: Error 1066
Posted by: MatthiasBruse (69.238.222.---)
Date: June 01, 2018 07:25PM

***** Test which uses port 80 *****

===== Tested by command netstat filtered on port 80 =====


Test for TCP
Your port 80 is used by a processus with PID = 4
The processus of PID 4 is 'System' Session: Services
The service of PID 4 for 'System' is 'N/A'
*** ERROR *** This service IS NOT from Wampserver - Should be: 'wampapache64'

Test for TCPv6
Your port 80 is used by a processus with PID = 4
The processus of PID 4 is 'System' Session: Services
The service of PID 4 for 'System' is 'N/A'
*** ERROR *** This service IS NOT from Wampserver - Should be: 'wampapache64'

===== Tested by attempting to open a socket on port 80 =====

Your port 80 is actually used by :

Server: Microsoft-IIS/7.5

Options: ReplyQuote
Re: Initial Installation - Only 2 Services Started: Error 1066
Posted by: Otomatic (Moderator)
Date: June 01, 2018 07:51PM

Hi,

> our port 80 is actually used by :
> Server: Microsoft-IIS/7.5

Point number 08 of TROUBLESHOOTING TIPS

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Initial Installation - Only 2 Services Started: Error 1066
Posted by: MatthiasBruse (69.238.222.---)
Date: June 01, 2018 08:35PM

Thank you

Options: ReplyQuote
Re: Initial Installation - Only 2 Services Started: Error 1066
Posted by: dwt (45.72.215.---)
Date: June 19, 2018 04:45PM

Hi,

For what it's worth, my system started throwing the same error immediately after I updated Windows 10 to the 1803 version. It seems that the update altered the system's IIS settings. Following the instructions in Troubleshooting Tip #8 successfully restored my WAMP server to it's pre-update condition.

Options: ReplyQuote
Re: Initial Installation - Only 2 Services Started: Error 1066
Posted by: bhattshlok2000 (223.236.126.---)
Date: March 12, 2026 06:54AM

I had the same error after installing WAMPSERVER and all necessary C++ distribution packages - the WAMP icon was not turning green from orange.

The error I had was: The service 'wampapache64' is NOT started EXIT error code:1066

When I checked for port 80 (you can check it by right click on WAMP icon on the tray > tools > test port 80),
I found that it was occupied by some other service, may be another webserver such as IIS or Antivirus Service.

Solution:

Change the port to 8080 instead of current 80.

Steps to change the port:

1. Right click on WAMP icon in the tray > tools > Use a port other than 80

2. A new dialogue box will popup with the name of "Port for Apache". Here, instead of 80, enter the new port number 8080 and submit.

3. Refresh and Restart WAMP server. It turned green in my case.

4. Check in the browser [localhost] now and it should work.

I'm happy with my GREEN ICON NOW winking smiley

Options: ReplyQuote
Re: Initial Installation - Only 2 Services Started: Error 1066
Posted by: Otomatic (Moderator)
Date: March 12, 2026 09:18AM

> Change the port to 8080 instead of current 80.

NO, NO, and NO!

The solution is to disable whatever is occupying port 80, in this case IIS.

Item 8 de TROUBLESHOOTING TIPS

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.