WAMPserver Error: Could Not Execute Menu Item
While working on my development site the other day, I needed to temporarily disable the alias_module of Apache. When it came time to re-enable it again, I ran into this error:
Could not execute menu item (internal error) [Exception] Could not perform service action: The service has not been started
Typically when I adjust a module in Apache or extension in PHP, the service automatically restarts. It didn’t in this case, so I figured stopping the Apache service, enabling the module, and restarting Apache would do the trick, but no luck.
I went to Google seeking help for this problem returning results of others having the same difficulty, although the cause wasn’t always the same. All the support threads I read (about 10) – including a few on the WAMPserver support forum – suggested completely removing the program (the whole C:\WAMP folder), restarting the computer, and trying again with a fresh installation.
I knew there had to be a better way, preferably one where I didn’t have to backup and restore my web documents and databases. It turns out I was correct, and it’s a quick fix too.
- At this point, the Apache service is already off. Go into the Apache > Service window and select Remove Service.
- Open up the Apache > Apache modules window and enable the desired module without resistance. In my case, it was alias_module
- Go back into the Apache > Service window and select Install Service.
- A window will pop-up to check the availability of port 80. Unless you’ve fiddled with ports, the message should say port 80 is available and the installation will proceed. Press Enter.
- Within the Quick Admin menu of WAMPserver, select Restart All Services and both PHP and Apache should start-up without problem.
Posted in: Web Development