Scoop: Multiple PHP versions at the same time?

Created on 24 Mar 2019  路  3Comments  路  Source: lukesampson/scoop

Would Scoop be able to help me with a use case where I need to have multiple versions of PHP installed, and switch between them? For Node.js, I use nvs but I'm not sure if this is something that Scoop could do.

Most helpful comment

You should be able to do something like this:

scoop bucket add versions
scoop install php54
... do something with php 5.4
scoop install php73
... do something with php 7.3
scoop reset php54 # Again use php 5.4
scoop reset php73
...

All 3 comments

You should be able to do something like this:

scoop bucket add versions
scoop install php54
... do something with php 5.4
scoop install php73
... do something with php 7.3
scoop reset php54 # Again use php 5.4
scoop reset php73
...

Awesome, thank you, I actually visited that wiki page before but didn't realize that the versions bucket contained also PHP (and many other things!). Maybe the wiki page should mention that for noobs like me :)

Was this page helpful?
0 / 5 - 0 ratings