Linux中Composer 在安装依赖包与本地php版本不符问题

看一下系统指向的文件
ls /usr/bin/php -al

找到对应版本的php文件
ls /home/work/study/soft/php/bin/php -al

删除老的软连接建立新的软连接
ln -s /home/work/study/soft/php/bin/php /usr/bin/php

posted @ 2019-05-10 20:24  Jerome27  阅读(1402)  评论(0编辑  收藏  举报