You can do that by a couple of ways. One way to do that is by running your website on pingdom. And if it happens to be below the acceptable current and safe version of PHP, then you could use your CPanel to switch your version.