I recently installed WAMPserver 3.0.4 x64 bit on my Windows 10 64 bit OS.
Issue: Apache server (2.4.18) did not start with the following error message:
Could not execute menu item (internal error) [Exception] Could not perform service action: The service did not respond to the start or control request in a timely fashion
Similar Question was raised before on stackoverflow, but the resolutions posted there didn't help in my case. (I've mentioned the details below).
Step 1: Tested port 80, since my Apache server was using this one. Here is what the test returned:
***** Test which uses port 80 ***** ===== Tested by command netstat filtered on port 80 ===== Test for TCP Port 80 is not found associated with TCP protocol Port 80 is not found associated with TCP protocol ===== Tested by attempting to open a socket on port 80 ===== Your port 80 is not actually used.
Step 2: Even though the result showed that Port 80 was not an issue, I tried to change port number from 80 to 8080. Still received the same error. The test showed that Port 8080 was not being used either. So, the issue is clearly not with the Port number.
Step 3: Changed the PHP version from 5.6 to 7 through the WAMP server menu. This didn't produce any different result.
Step 4: As per the most voted suggestion on the same error on a previous discussion, I typed 'httpd -e debug' on the cmd prompt: (link to previous discussion: wamp server does not start: Windows 7, 64Bit)
C:\wamp64\bin\apache\apache2.4.18\bin>**httpd -e debug**
After executing the script for a brief moment, the process hung up. I am listing the last 3 statements that showed up:
[Wed Sep 07 19:57:35.680559 2016] [so:debug] [pid 8496:tid 428] mod_so.c(266): AH01575: loaded module userdir_module from C:/wamp64/bin/apache/apache2.4.18/modules/mod_userdir.so [Wed Sep 07 19:57:35.691570 2016] [so:debug] [pid 8496:tid 428] mod_so.c(266): AH01575: loaded module vhost_alias_module from C:/wamp64/bin/apache/apache2.4.18/modules/mod_vhost_alias.so [Wed Sep 07 19:57:35.712582 2016] [so:debug] [pid 8496:tid 428] mod_so.c(266): AH01575: loaded module php7_module from C:/wamp64/bin/php/php7.0.4/php7apache2_4.dll
The last one says that php7_module was loaded from
before freezing the command prompt.
This was the same file mentioned as the culprit in the earlier discussion. I thought that this must be the culprit in my case as well.
Downloaded the file
and put it in my
The error still persists and I am not sure what else to do?
I had also tried:
- Rebooting the system
- Running the WAMP Server as an administrator
- Going to Apache > Service Administration > Install Service
Nothing has worked yet!