Skip to main content
1 of 3

PHP version check error occur while installing Magento2 locally

I am trying to install Magento 2 in my machine locally but I am getting PHP version check error. How to fix this error. I have googled & found that by setting "disable-tls: false" will fix this, but I did'nt find this in composer.json file & also I have to keep my site SSL secure. Is there any alternate way to fix this error. Attached is screenshot. Please take a look. enter image description here