I have a centos 6 Linux server with a whm and cpanel installed. I've recently updated the PHP version to 7 through the whm and applied it to the website on the server in both whm and cpanel in the multi-PHP version screen.
This all looks okay in the cpanel and when I check PHP version in ssh it says 7.2. But when I go back to WordPress it still says its running PHP 5.6 and showing the PHP update required message in the WordPress dashboard.
When I delete the PHP 5.6 version from the whm the website goes down so it has to be connected to the whm somehow. How do I point the website to use php7.2?