Switching PHP versions with Scoop on Windows

Is there a way to install or change between PHP versions with scoop?
Yesterday I managed to manually install scoop with the help of @George and @famousmag.
But after installing and starting to configure my project, I noticed that version 8.3.1 was installed. How do I install version 7.4?
I tried with the commands:
Add the bucket with scoop bucket add php
Install your preferred PHP version with scoop install php/php7.4.3.
The terminal returns an error:
Update failed.
Couldn’t find manifest for ‘php7.4.3’.
The manifest is a .jason file, right?!
How do I install?

yes you can manually switch the php version with scoop, see:

1 Like

Hello @George. Thanks for the answer.
scoop reset php74
ERROR ‘php74’ isn’t installed

How to install PHP 7.4 correctly using scoop?
I’ve already tried the command scoop install php/php7.4 but it gives the error Couldn’t find manifest for ‘php7.4’.

Did you execute the add versions command first?

scoop bucket add versions

you can find all commands at the scoop site:

https://scoop.sh/#/apps?q=php74

1 Like

Hello @George.
Yes. I managed to install it. I was trying with another installation link but it always requested the manifest.
But for what you suggested, it worked.
Thank you very much.