For fellow C-Panel users, please do the following steps to update PHP, Especially for those whose PHP version is still PHP 5.X. This is important because of the following things.
Steps to Update PHP to PHP 7.X on C-Panel
Done, now your domain’s PHP version has become the latest PHP version. good luck