PHP Version Check failed


Trying to install Magento for the first time on my local machine with xampp. When I try PHP 5 or PHP 7.4 it tells me I have the wrong version but when I try with PHP 7.2 or 7.3 it cannot read the version at all. 


PHP Version Check

Your PHP version is . The required PHP version is .


Any ideas on what to try next?