PHP is not recommended - upgrade to php 8

I want to update my version of PHP to 8.0.2 on macOS Big Sur


When I run "php -v" I get this:

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) (built: Dec 21 2020 21:33:25) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.24, Copyright (c) 1998-2018 Zend Technologies


Does this mean Apple are intending to remove PHP from a future version of macOS? Or is it simply flagging that this version of PHP will be replaced?


How to remove php7 ? How do I upgrade to the PHP version 8 ?

Posted on Feb 12, 2021 7:41 PM

Reply
3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

PHP is not recommended - upgrade to php 8

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.