Home  >  Q&A  >  body text

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 days ago781

reply all(1)I'll reply

  • 世界只因有你

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

    Run it directly first php-version and see which php versions you have installed

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

    reply
    0
  • Cancelreply