Jump to content

can't run localhost/index.php


Recommended Posts

i installed php and was running codes on localhost/index.php. now i can't used the url again cos it comes with error message "this url cannot be found". i installed wamp still i can't view the url. please what is the cause? the wamp does it to be configured just like apache was configured?

 

thanks

ify

Link to comment
https://forums.phpfreaks.com/topic/203737-cant-run-localhostindexphp/
Share on other sites

  • 4 weeks later...

I dont know WAMP.

 

But make sure your hosts file (c:\windows\ssytem32\drivers\etc\hosts) contains the line "127.0.0.1 localhost" somewhere.

 

Make sure the httpd.exe service is running: (CTRL+ALT+DEL - you may need to select "Show processes from all users"), look for httpd.exe in the task manager.

 

Hope this helps,

-cb-

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.