need to update php on wordpress site on shared hosting

Hi,
We have a client wordpress site that is running on PHP 5.6.30
The site is on hostgator shared hosting. Is there any way I would be able to update the PHP version on shared hosting or does hostgator need to do this? Can this be done from a cpanel for shared hosting?