PHP version not updating

I have a site that I need to use PHP 7 for. I’ve updated the PHP version in the site settings from the dropdown and it’s reporting that it’s using 7.1 from the UI but when I’m in the directory /public/ and use php -v, it tells me I’m using PHP 5.6 instead. How can I update to 7.1 so the site works properly?

Hi Daniel,

The CLI version of PHP may be stuck at 5.6. The site, however, should be running 7.1 as long as it didn’t error out in the UI.

You can check the site’s version of PHP by clicking on the i beside the PHP version selector. This will open a page with phpinfo().

I had to update the system’s version of PHP to get it working in the end.

1 Like