the php that comes with mac is 7.1, and then my brew php7.2,phpinfo is php7.1, and php-v is 7.2. how do I use it?
php -v
PHP 7.2.1 (cli) (built: Jan 5 2018 17:34:14) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2017 Zend Technologies
with Xdebug v2.6.0beta1, Copyright (c) 2002-2017, by Derick Rethans
php-fpm -v
PHP 7.1.19 (fpm-fcgi) (built: Aug 17 2018 18:03:20)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies