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?
Solved! Go to Solution.
First you should check that which version you used in XAMPP.
you can check it via create one file in htdocs/test.php
and write there like
<?php phpinfo(); ?>
and run those file like localhost/test.php
and confirm that you have correct php version or not.
Magento 2.3.x required PHP 7.1
if you used older version than it will not work.
If my answer is useful, please Accept as Solution & give Kudos