Windows 7 Forums


Windows 7: Apache/PHP - localhost stopped working. How do I get it to work again?

28 Jul 2012   #1

indows 7 64 bit
 
 
Apache/PHP - localhost stopped working. How do I get it to work again?

I have installed Apache2.2 on my computer, PHP 5, and MySQL. Everything was working fine until last night. Suddenly, I could no longer connect to the localhost. I think my computer was infected with a trojan, but that has since been removed and I am unable to reconnect to my localhost.

I have updated my hosts file Windows(C:)/Windows/System32/drivers/etc hosts in notepad: see attachment hosts_updated 65kb PNG.

I have tested my connection in the CMD prompt see attachment cmd_localhost 77kb PNG.



You'll notice [::]1, but after updating my host file, it now displays as 127.0.0.1

Additionally, port 80 IS LISTENING

instead of my web browser loading the page as localhost/vote/home.php NOW it loads as file:///C:/Websites/Vote/home.php AND NOW my PHP no longer works i.e. not being pulled into my web page.

...can't establish a connection to the server at localhost.

Why is my local host not working? Thoughts? Thank you in advance.
Attached Thumbnails
Apache/PHP - localhost stopped working. How do I get it to work again?-hosts_updated.png   Apache/PHP - localhost stopped working. How do I get it to work again?-cmd_localhost.png  

Last edited by shadowodahs; 29 Jul 2012 at 02:27 PM..
My System SpecsSystem Spec

Reply

 Apache/PHP - localhost stopped working. How do I get it to work again? problems?



Thread Tools



Similar help and support threads for: Apache/PHP - localhost stopped working. How do I get it to work again?
Thread Forum
COM surrogate stopped working error - no solution seems to work BSOD Help and Support
Apps stoped working "...has stopped working" after sleep power off General Discussion
apache does not work, port 80 is used by... General Discussion
2TB HDD stopped working, got another chip but still won't work Hardware & Devices
Localhost not working Network & Sharing


All times are GMT -5. The time now is 09:17 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32