cancel
Showing results for 
Search instead for 
Did you mean: 

PHP Version Check failed

SOLVED

PHP Version Check failed

Hi,

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?

 

Thanks,

Joanna

1 ACCEPTED SOLUTION

Accepted Solutions

Re: PHP Version Check failed

I figured it out. The path in php.ini that I installed for PHph 7.3 did not match the path from the xampp php.ini file. Once that was fixed the PHP version read fine again.

Thanks.

 

 

View solution in original post

2 REPLIES 2

Re: PHP Version Check failed

Hello @contactunif2db 

 

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

 

Thank you

Anant P

Thank you
Anant Prajapati
Magento Certified Developer

Re: PHP Version Check failed

I figured it out. The path in php.ini that I installed for PHph 7.3 did not match the path from the xampp php.ini file. Once that was fixed the PHP version read fine again.

Thanks.