Heim > Fragen und Antworten > Hauptteil
zhangboxundeMacBook-Pro:~ zhangboxun$ php -v
PHP 5.6.25 (cli) (built: Sep 19 2016 15:45:41)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
zhangboxundeMacBook-Pro:~ zhangboxun$ brew install php70
Warning: homebrew/php/php70-7.0.12_5 already installed, it's just not linked
zhangboxundeMacBook-Pro:~ zhangboxun$ brew link php70
Linking /usr/local/Cellar/php70/7.0.12_5...
Error: Could not symlink bin/phar
Target /usr/local/bin/phar
already exists. You may want to remove it:
rm '/usr/local/bin/phar'
To force the link and overwrite all conflicting files:
brew link --overwrite php70
To list all files that would be deleted:
brew link --overwrite --dry-run php70