首页  >  问答  >  正文

macos - mac切换php版本

brew 安装的php56 php7php-version . 不过php-version找不到php的两个版本。

$php-version 5
显示报错: 
Sorry, but php-version was unable to find version '5' under ''.

php-version 的 bug-report.sh显示,有大神给个指点么

黄舟黄舟2700 天前789

全部回复(1)我来回复

  • 世界只因有你

    世界只因有你2017-05-16 13:04:47

    你先直接运行 php-version 看看你装了哪些 php 版本吧

    php-version 5 : Activate the latest available 5.x version

    回复
    0
  • 取消回复