You can choose which version of PHP your website runs on, and turn individual extensions and settings on or off, directly from cPanel. Our servers use the CloudLinux PHP Selector for this.
Select your PHP version
- Log in to cPanel (see How do I log in to cPanel?).
- Under Software, open Select PHP Version.
- Pick the version from the Current PHP version dropdown and click Apply. We recommend a currently supported version (PHP 8.1 or newer) for security and speed.
Enable extensions and adjust settings
- On the same page, tick the Extensions your application needs – for example mysqli, mbstring, curl, gd, or intl.
- Use the Options (or Switch To PHP Options) tab to change values such as memory_limit, upload_max_filesize, and max_execution_time.
Note: check your application's requirements before upgrading – older software may not support the newest PHP. If your site breaks after a change, switch back to the previous version the same way. See also What extensions do I use for PHP?