Install php on Mac Yosemite I am trying to run Laravel but I was getting a mcrypt error.  I found more than one php on my mac so I decided to delete both and reinstall.  However I can not seem to find instructions on how to install the php.  Every thing I find already has the php installed and it is instructions on how to make them work by enabling.  I need to know how to get it installed.
Any Mac built in the last 10 years comes with Apache and PHP installed and ready to go. All you need to do is run one command to start apache (apachectl start) and un-comment 1-2 lines in httpd.conf. installing massive packages that leave you with multiple copies is NOT necessary.

If you want a friendly interface and a box to check, get Apple's Server application.