Mac终端执行php -v,提示-bash: php: command not found
执行命令:export PATH=$PATH:/Applications/MAMP/bin/php/php5.6.40/bin
长期生效将 该命令加到 ~/.bash_profile 文件末尾
mac 安装 composer :
https://imangodoc.com/66554.html
执行命令:export PATH=$PATH:/Applications/MAMP/bin/php/php5.6.40/bin
长期生效将 该命令加到 ~/.bash_profile 文件末尾
mac 安装 composer :
https://imangodoc.com/66554.html
