RVM equivalent for PHP?

前端 未结 7 1820
逝去的感伤
逝去的感伤 2021-01-30 10:07

I can\'t seem to find a way to switch versions of PHP quickly. Is there something equivalent to ruby version manager for php? I need to switch between 5.3 and 5.2 on OS X.

7条回答
  •  执笔经年
    2021-01-30 10:58

    Have a look at phpenv (with php-build). There's even a homebrew recipe if you brew tap josegonzalez/php. It's actually a PHP version of rbenv not rvm but I think it's going to be the simpler to set up than phpfarm.

提交回复
热议问题