Search code examples
wampwampserver

Wamp server error. could not execute run action


I am trying to start wamp serve which was totally running fine on my laptop two weeks ago, but now after two weeks I suddenly get this error:

could not execute menu item(internal error)[exception] could not execute run action: the directory name is invalid

When I click on wamp, then I go to apache, then I select service then test port 80 and this is what I see:

enter image description here

when I write localhost, it goes there but when I click on Localhost and phpMyAdmin, i get this error: enter image description here

please tel me how I can fix this . thanks


Solution

  • WAMP is trying to open your browser, but the directory in the settings is not correct. It could be that your browser is now located somewhere else. To fix this:

    1. Edit the file wampmanager.conf inside your wamp direcotry.
    2. Replace the full file path under the [main] section for the navigator parameter
    3. Save the file
    4. Right-click on the wamp icon and select refresh
    5. Try it now

    Good luck!