I just updated php to PHP 7.1.12-3+ubuntu17.10.1+deb.sury.org+1 (cli) (built: Dec 14 2017 15:40:13) ( NTS )
and when i try to readiness check for magento2, i am getting error that PHP Version Check Your PHP version is 7.1.11-0ubuntu0.17.10.1. The required PHP version is ~5.6.5|7.0.2|7.0.4|~7.0.6. Hide detail
I got that it allows on these versions http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-ubuntu.html
I have tried different solutions given http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-ubuntu.html
sudo apt-get -y update
sudo add-apt-repository ppa:ondrej/php
sudo apt-get -y update
sudo apt-get install -y php7.0 libapache2-mod-php7.0 php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-zip php7.0-bcmath php7.0-iconv php7.0-soap
I have no idea, how to install 2 version of php or if i remove php7 and install php5 then whether any new issue will come. please help me to resolve the issue..I am using Ubuntu 17.10 & Magento 2.1