How do I install/allow php to run on Yosemite? I've read a lot about doing stuff through terminal, but none of the 'tutorials' are thorough, they just tell me to do 'sudo….' I've tried it, and still, I cannot get php files to work (I'm making a website and I need a php file).
MacOS – PHP on OSX 10.10
macosPHP
Best Answer
If you are not very familiar with the command line and config files (and it appears that you are not) then get Apple's Server app (US$20 at the app store). PHP then becomes a check-the-box setup option, as does local DNS (also essential).
The only common web-related app you will actually need to install via the command line is mysql. There is a package installer on Oracle's website.