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

posted @ 2023-02-24 15:33  Jack2030  阅读(182)  评论(0)    收藏  举报