Upon update error in php version

Hi there
I’m getting a To run Matomo you need at least PHP version 7.2.5

As an output of

<?php
phpinfo();

I get

Build Date May 14 2020 09:11:51
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php/7.0/apache2
Loaded Configuration File /etc/php/7.0/apache2/php.ini
Scan this dir for additional .ini files /etc/php/7.0/apache2/conf.d

But the config is:
My config file says:
php -i | grep “Loaded Configuration File”
Loaded Configuration File => /etc/php/7.4/cli/php.ini

Where does Matomo look for php version? I run apache on debian 9 64 bit Vestacp.
So far I see all is updated. What do I miss?

Let’s continue this in