Problem whit php version

I end up whit this when i try to run a cron job

Unfortunately it seems your webserver is using PHP version 5.4.16.

but i use php

[root@vmi240766 ~]# php -v
PHP 7.3.6 (cli) (built: Jun 27 2019 18:32:41) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.3.6, Copyright © 1998-2018 Zend Technologies
You have new mail in /var/spool/mail/root

Way is Matomo think i use a outdated php version?

Hi,

Please make sure that the PHP your webserver is using is the up-to-date one. With php -v you are only checking the version of php-cli.

You could use a phpinfo file to find out the real php version you are using.

it give me the same information as php -v

PHP Version 7.3.6

So way is Matomo dont pick it up?

Even system check say 7.3.6. So way do it dont work when i try to run the cron job?

You can see for you self here:

Sorry, I didn’t notice that you said it happened in the cronjob.

In that case make sure that the cronjob is called with the right php version. If necessary maybe specify the exact path to php in it.

I think Matomo only dispays the mininal version.
The smallest version you have on your server if you will.