mac 鼓捣php 多版本切换
php-v 和 phpinfo()不一样
1.切换httpd.conf 里面的.so文件
2.sudo vi ~/.zshrc 切换
export PATH="/usr/local/opt/php@7.1/bin:$PATH"
export PATH="/usr/local/opt/php@7.1/sbin:$PATH"
#export PATH="/usr/local/opt/php@7.0/bin:$PATH"
#export PATH="/usr/local/opt/php@7.0/sbin:$PATH"