PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, February 15, 2022

[FIXED] Localhost MAMP Mac

 February 15, 2022     localhost, mamp     No comments   

Issue

I'm having an issue with my local server through MAMP. Everything works, however when I make a change and save, it does not appear in the browser. I refresh / reload, but it takes a varying amount of time. Sometimes it appears instantly, and other times It can take a few minutes.

Thank you,

Dan


Solution

To fix it try this: in your hosts file you need to list all your local dev sites in a space delimited row like so...

127.0.0.1 localhost localsite1.dev localsite2.dev localsite3.dev



Answered By - Andreas P.
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing