Wordpress still displays php 7.0 after update to 7.2


Hey guys,

I installed php 7.2 on my Ubuntu 16.04.05 Webserver. The guide I used for the installation is the following: https://fearby.com/article/how-to-install-php-7-2-latest-on-ubuntu-16-04/

My problem is that Wordpress displays the current php version as 7.0.32-0ubuntu0.16.04.1.
The command “sudo service php7.2-fpm status” shows that 7.2 is active and running. The same goes for 7.0 though.

I also removed php 7.0 for test purposes but that only stopped my homepage from working at all.

Do you have any ideas what I did wrong or have to configure?