This is a really super simple basic no frills PHP version switcher for people who have PHP installed via Homebrew and linked to Apache via httpd and apache modules.
- Simply
npm install php-version-switcher -g
- run
pvs
and pick from the version choices. - Confirm the version has changed by
php -v