https://scoop.sh
PHP
scoop bucket add versions # add the 'versions' bucket if you haven't already
scoop install php74 php
php --version # -> PHP 8.0.2
# switch to PHP 7.4.x
scoop reset php74
php --version # -> PHP 7.4.15
# switch back to latest version
scoop reset php
php --version # -> PHP 8.0.2
-
https://github.com/ScoopInstaller/Scoop/wiki/Switching-Ruby,-Python-and-PHP-Versions#php
-
https://github.com/ScoopInstaller/Scoop/wiki/Custom-PHP-configuration
MongoDB Driver
https://github.com/mongodb/mongo-php-driver/releases
Download and place the
php_mongodb.dll in
C:/Users/[USER]/scoop/apps/php[?\d]
Add the extension to: C:/Users/[USER]/scoop/persist/php[?\d]/cli/conf.d/extensions.ini
extension=mongodb