One project needs an older PHP version 7.0.
I followed this guide from JetBrains to configure the PHP Interpreter, but even after restarting Apache, terminating the shell, restarting PhpStorm it didn't work.
So I decided to try it differently, so I followed this guide on how to run two PHP versions at the same time with XAMPP, I followed everything to the letter, but when typing php -v it still does not show the wanted PHP version.
Am I missing out on something?

where phpto see the current path forphpexecutable (e.g. when you runphp.exe artisan xxcommand from Laravel or alike). The terminal (to be precise: Windows) looks for executable from folders fromPATHenvironment variable. If you need to put your PHP version for CLI -- prepend such path there .. or use full path to the executable file.