4 ms·
I love PHP but this makes good sense. Better to install it afterwards and get the package/version you want. Reduce footprint of OS.
by euph0ria 5y ago
I love PHP but this makes good sense. Better to install it afterwards and get the package/version you want. Reduce footprint of OS.
- kijin 5y agoYep, macOS is not an all-batteries-included Linux distribution. It doesn't need to ship with any programming language runtime that isn't strictly necessary for the OS itself to work. Windows doesn't come with PHP, Python, or Ruby preinstalled, either.
- cm2187 5y agoIn fact windows made a big effort to remove all the unnecessary components (IIS, etc) to reduce the average attack surface, and offer them as additional features instead.
- glenneroo 5y agoThankfully Candy Crush made the cut! /s
- deleted 5y ago[deleted]
- piaste 5y agoYep. And for that matter, why does a Linux distribution need them, either? In the age of CD-ROMs shipped with magazines, sure including a 'blessed' version of most programming languages made sense. Saved the average Linux geek from needing to hunt down a separate (physical!) package for PHP or whatever. Now, the same reasoning applies to Linux as to MacOS. Unless the OS itself relies on them (Perl?), including some random version of various PLs makes as much sense as including a bunch of shareware games.
- kijin 5y agoMost Linux distros don't come preinstalled with PHP, Ruby, or node, either. You have to install it using the package manager, and you can use the exact same package manager to pull down different versions from different repos. Honestly I wouldn't mind if some distros ditched the "blessed" version altogether for non-system languages. I can't remember the last time I used the default PHP in CentOS, it's always grossly outdated. But distros like Debian have a policy of packaging any open-source program they can get their hands on and keeping them up to date, at least when it comes to security fixes. It's their choice if they want to provide that service to their users, and many users like it.
- fogihujy 5y agoI regularly set up servers using the stable PHP packages. If you sell a setup to a client then you want to provide an "expiry date" for the setup when the OS goes EOL. Stable packages kept up to date with nothing but security patches makes sure whatever you set up will run for X years without you having to worry about features being deprecated. There's no need to have those versions pre-instaled though. As long as they can be installed with apt/yum then those who need them can install them.
- strzibny 5y agoOne reason is that so many packages depend on them. Python and Perl is big in Fedora-based systems, for example. But even for the non-critical software, packaged WP needs PHP, packaged Vagrant needs Ruby etc. As for enterprise Linux, many customers relies on this packages, because they get reviewed and gets security patches on system updates.
- ForHackernews 5y agoIncluding programming languages makes it easier for kids and other beginners to get started programming. Removing general-purpose languages from operating systems makes a certain kind of sense, but it also pushes further in the direction of computers being devices for consumption, not creation.
- whywhywhywhy 5y agoMacOS shipping with ruby/python etc allowed rich development tools like TextMate which became the template for modern text editors going forward to exist. But I guess MacOS is more of a frontend for Electron apps now so it's less important when the logic is to just bundle everything needed in 1GB+ executables.
- wila 5y agoI was with you until that last sentence "Reduce footprint of OS" ... if you've seen the updates from macOS recently then a small footprint is not on their table (at all).