Hacker News new | past | comments | ask | show | jobs | submit login

This is the prompt I got running php in macOS11:

  $ php --version
  WARNING: PHP is not recommended
  PHP is included in macOS for compatibility with legacy software.
  Future versions of macOS will not include PHP.
  PHP 7.3.24-(to be removed in future macOS) (cli) ( NTS )
  Copyright (c) 1997-2018 The PHP Group
  Zend Engine v3.3.24, Copyright (c) 1998-2018 Zend Technologies



Looks like the same is said for Python, Ruby, Perl and all other scripting languages on MacOS too.

Apparently Apple prefers compiled binary for everything.

Am not complaining. The included Apache/MySQL servers were too old and I had to install those anew. But that always collided with the stock installed one.

It's good that Apple getting rid of those. Install what you need afresh.


Or they just don't want to maintain/update those components because there are much better and up-to-date ways to install them.


>Apparently Apple prefers compiled binary for everything

If you're an Apple exec it's hard to ignore that iOS succeeded fine with just bundling everything into self contained apps. They definitely see this is as the future and the old model as the past.


> Looks like the same is said for Python, Ruby, Perl and all other scripting languages on MacOS too.

I just ran a version check on Python (2 and 3), Ruby, and Perl, and none of them said anything to the tune of "will be removed soon". (MacOS 11)


There's a different comment here in this discussion from someone else that quotes the relevant text. Check that. Running the commands won't. But said elsewhere.


> WARNING: PHP is not recommended

haha, I know it is a generic warning, but that is pure gold :D


Like gold? This is where the rainbow leads to: https://www.reddit.com/r/lolphp


I love that "I don't like this thing so I'm going to surround myself with it" subreddits exist

People are weird.


I had many blasts reading posts in that sub.


PHP 7.3.24 was released just two weeks before macOS 11's general availability.

If their policy is to freeze whatever version they could get their hands on at release time and ignore security fixes afterward, I would say good riddance. Third-party repos would do a much better job.


It's not the best way to phrase it.


PHP is not recommended... wait, what? I can somehow understand the lowercase version / command, as in - we're phasing it out. Get it somewhere else. But giving the thumbs down to one of the most popular web dev languages out there is - I'm at a loss for words really.


It's just a generic "this is deprecated and will be removed, don't rely on it" message, not a comment on the language...


I reference that in my post: lowercase “php” would refer to the command. Uppercase “PHP” to the language.


But it is in such case a strong confirmation about how people are losing conscience of language (not a good thing to sacrifice, in terms of priority - it is very related to thought pollution), and awareness in general, and awareness, attention and quality as values. A progress towards "shallow as a new normal".




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: