cPanel
How to update the PHP version
1. Login to your account
2. Under the section software click on Select PHP version
3. At the next page you can select the version for PHP
Can I change the webroot of the primary domain?
No. The system will automatically installed WP at the webroot of your web server.