dragon4808 2016-01-22 12:42
浏览 3540
已采纳

如何找到Composer使用的PHP版本?

I'm currently using two versions of PHP in my computer.
I can't remember which version of PHP is set for my Composer. So my question is how can I find which version of PHP is used by Composer?

  • 写回答

1条回答 默认 最新

  • duanliang4009 2016-01-22 12:58
    关注

    Composer uses /usr/bin/env to detect your php version. You can find it the correct version with env php -v.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?