I'm trying to install Magento on my system, But it gives me an error that the
PHP version that I have is newer and Magento is not supported that version. So now I'm trying to downgrade my
PHP version from XAMPP that I'm installed on Ubuntu 16.04.
PHP Version Check Your PHP version is 7.1.1. The required PHP version is ~5.6.5|7.0.2|7.0.4|~7.0.6. Hide detail Download and install PHP from www.php.net using this PHP Documentation. For additional assistance, contact your hosting provider.
But I'm confuse how to do this. Is it good to downgrade it or I've to install new PHP in XAMPP.
I know this question is not belongs to stackoverflow, but I'm googled it and I don't get any proper output, so I post this question here.
There are some links that I referred :
These links are all about installing two or more PHP versions in Ubuntu but I'm not get how can I done it in XAMP on ubuntu 16.04. Please any kind of help is appreciated.