4 ms·
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 s
by j16sdiz 5y ago
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
- dstick 5y agoPHP 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.
- detaro 5y agoIt's just a generic "this is deprecated and will be removed, don't rely on it" message, not a comment on the language...
- mdp2020 5y agoBut 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".
- dstick 5y agoI reference that in my post: lowercase “php” would refer to the command. Uppercase “PHP” to the language.
- habibur 5y agoLooks 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.
- maratc 5y ago> 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)
- habibur 5y agoThere'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.
- gregoriol 5y agoOr they just don't want to maintain/update those components because there are much better and up-to-date ways to install them.
- whywhywhywhy 5y ago>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.
- slver 5y agoIt's not the best way to phrase it.
- mfollert 5y ago> WARNING: PHP is not recommended haha, I know it is a generic warning, but that is pure gold :D
- cies 5y agoLike gold? This is where the rainbow leads to: https://www.reddit.com/r/lolphp https://www.reddit.com/r/lolphp
- kijin 5y agoPHP 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.