When I access the website, I get:
Magento supports PHP 7.1.3 or later. Please read Magento System Requirements.
I have PHP 7.2.19 on my stack
Where do I look for the problem?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityWhen I access the website, I get:
Magento supports PHP 7.1.3 or later. Please read Magento System Requirements.
I have PHP 7.2.19 on my stack
Where do I look for the problem?
Use below commands for changing PHP versions
From PHP 7.1 => PHP 7.2
sudo a2dismod php7.1
sudo a2enmod php7.2
sudo service apache2 restart
sudo update-alternatives --set php /usr/bin/php7.2
check which PHP version you're using with this command
php -v