title: How do I reinstall php on a mac?
body: <p>I have been wanting to upgrade php5 to php7 on my macbook but i just don't know how. I tried using homebrew and a couple other methods I found online but I just don't know how to complete it. </p>
  
  <p>As a result php5 has been deleted from /usr/local.</p>
  
  <p>How can i get php5 back and then how do i upgrade it to php7?</p>
  
  <p>I want the newest version because I have a minecraft server that I run on my computer that used to use php5 but now requires php7. I have the latest macbook with the latest os. </p>