6 ms·
‘brew install php’ works across most ages of Macs and provides consistent paths for config files across deploymentd, in case that’s useful.
by floatingatoll 5y ago
‘brew install php’ works across most ages of Macs and provides consistent paths for config files across deploymentd, in case that’s useful.
- lukifer 5y agoThe real tragedy is that Apple hasn't taken over and bundled brew with the OS (or come up with their own blessed CLI package manager).
- floatingatoll 5y agoIf Apple doesn't want to be in the business of keeping Python up to date, I can't possibly imagine them wanting to be in the business of keeping one thousand Pythons up to date.
- astrange 5y agoMacPorts, which is older than Homebrew and better designed, used to be an Apple project.
- afavour 5y agoThat also requires installation of Homebrew. Not like it's the end of the world or anything but it's still another step to go through for someone that's just starting out in webdev. Back in the day I remember all-in-one LAMP stack apps for Windows that made it very, very simple to get going (and if I recall didn't require admin permissions either).
- calibas 5y agoIn my experience, Homebrew is usually the simplest route and should be the first choice for people just starting out. It's one simple "extra" step at the beginning that saves you from multiple, more complex steps later on.
- floatingatoll 5y agoIt sure does, and that's certainly a drawback versus a solution that's preinstalled — but if someone is going to become a webdev on a Mac, they will be unable to depend on preinstalled scripting languages and so any manner of instruction that requires a working go/node/python/ruby/perl installation will be forced to either use Homebrew or to handcraft replacements for Homebrew. I would consider teaching students the skeletal basics of Homebrew to be a valuable pillar of their ability to perform webdev workplace duties using a Mac. I would consider teaching students the deep details of trying to build their own python and ruby on Mac to not be a valuable pillar of their ability to perform webdev workplace duties using a Mac. So I don't see how there's any alternative to Homebrew, not if they want to prepare their students for today's reality. "Use what's preinstalled with a Mac" is no longer a viable solution, and in my best judgement Homebrew is the minimum work necessary to get them from zero to ready. If there are alternatives that are as simple as Homebrew to have students deploy and maintain as a teacher, we'd all love to learn more about them.
- la_fayette 5y agoThis causes so many issues if you have installed php already... Stackoverflow is full of problems...
- floatingatoll 5y agoGood thing it's being removed in three months, then :)