Why am I still getting the Php warning on mac after I made sure to install brew install php?

Viewed 193

When I typed in php -v, I still get this warning:

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

So I ran brew install php and then tried again with php -v but I'm still getting this warning.

What should I do? I need to install composer after this...

1 Answers

After installing the brew install PHP just restart the terminal

Related