PHP is the language that runs WordPress and many other websites. Newer WordPress versions and plugins need a recent PHP version, and old versions stop receiving security fixes, so it is worth knowing how to change it.
Change the PHP version
- Log in to cPanel.
- Open MultiPHP Manager. On some servers the tool is called Select PHP Version.
- Tick the domain you want to change.
- Choose the PHP version from the list and click Apply.
- Open your website and test the main pages, the contact form and the admin area.
Change PHP settings
If WordPress says a file is too large to upload, or a plugin asks for more memory, raise the limits. Open MultiPHP INI Editor (or the Options tab in Select PHP Version) and adjust:
- memory_limit: how much memory one script can use.
- upload_max_filesize and post_max_size: the largest upload allowed. Keep post_max_size at least as large as upload_max_filesize.
- max_execution_time: how long a script may run before it is stopped.
Your plan has resource limits, so very high values may not help. If you hit limits all the time, see which cPanel plan you need.
Do it safely
- Take a backup first. See how to back up and restore your website.
- Update WordPress, your theme and plugins before moving to a newer PHP version.
- Choose a version that is still supported. You can check the current list on php.net.
- If the site shows an error after the change, switch back to the previous version and read common website errors and what they mean.

