Error: Please update PHP to >= 7.0.0 - server is running PHP 7.0.27

Self-hosted installation on Debian 9 and PHP 7.0.27
Debian was upgraded today from 8 to 9. PHP 5.6 is still on the server in /usr/bin/php5

which php returns PHP 7.0.27-0+deb9u1 (cli)

Previous version of InvoiceNinja 3.8.0 - which was working fine apart from sending mail.
I copied over files from v4.1.5 as per instructions.

When visiting the home page URL there is a single error message: Error: Please update PHP to >= 7.0.0

There are no relevant errors in storage/logs/laravel-error.log

Is there something I can do to force InvoiceNinja to access/detect PHP 7?

Noel

Sometime the CLI version of PHP is different than the web server, you may want to add a phpinfo page to check.

Good thinking! And I just checked and you are right. Thanks I have path to follow now.

Much appreciated!