search

Home  >  Q&A  >  body text

macos - switch php version on mac

Brew installed php56 php7, php-version. However, php-version cannot find the two versions of php.

$php-version 5
Display error:
Sorry, but php-version was unable to find version '5' under ''.

The bug-report.sh of php-version shows, can anyone give me some advice

黄舟黄舟2809 days ago830

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