WAMP - localhost error [closed]

妖精的绣舞 提交于 2020-01-05 07:15:11

问题


I recently reinstalled WAMP. I keep getting this error:

404 Not Found
Not Found

The requested URL / was not found on this server.


回答1:


Hit start, type services.msc, scroll down and look for wampmysqld and wampapache. Make sure both are listed and started. If not, do the following:

  • If they are not present, click the Wampserver icon, select the service (Apache for wampapache and MySQL for wampmysqld), then Service, then Install Service

  • If there are present but not started, try starting them. You can right click them, properties and click Start (and if you like set them to automatically start too to start when Windows does) or you can do the same as the previous step from the WampServer icon.

Check if apache is running on port 80 or 8080. Try this, to see the apache config and find the port:

httpd -t(you run this from a command prompt - start -> run -> cmd).

Note that if the wamp/apache/Apachex.x.xx/bin folder isn't in your PATH variable you will need to navigate to that folder in the command prompt or shift+right click inside the folder and select Open Command Window Here.



来源:https://stackoverflow.com/questions/12958511/wamp-localhost-error

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