On my CLI i have version - 7.4.16 for my PHP But when I try to load my website in the browser i get this
Magento supports PHP 7.1.3 or later. Please read Magento System Requirements.
What am I doing wrong ?
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 communityOn my CLI i have version - 7.4.16 for my PHP But when I try to load my website in the browser i get this
Magento supports PHP 7.1.3 or later. Please read Magento System Requirements.
What am I doing wrong ?
The PHP version on your CLI and web server can be different. Put phpinfo();die;
directly after the php opening tag to identify the version. If you have recently installed an updated PHP version you may just need to reload NGINX (or whatever you are using for your web server).
Identify the version and determine how that is configured on the server then switch it out for the correct version.