How to Update Your PHP Version and Why It Matters
Why Should You Update Your PHP Version?
PHP is the core server-side scripting language powering WordPress and most modern web applications. Running end-of-life PHP versions exposes your site to unpatched security vulnerabilities and degrades response times. Modern PHP 8.x releases execute code dramatically faster while consuming fewer server resources.
Changing Your PHP Version in cPanel
- Log in to cPanel.
- Under the Software section, click MultiPHP Manager.
- Check the box next to the domain name you want to update.
- From the PHP Version dropdown in the top-right corner, choose a current, supported release (for example,
ea-php81oralt-php82). - Click Apply to activate the new version immediately.
Troubleshooting Post-Upgrade Compatibility Issues
If your site displays "There has been a critical error on this website" after switching PHP versions, an outdated theme or plugin may contain deprecated functions. Simply revert temporarily to the previous PHP version in MultiPHP Manager, update all themes and plugins to their latest releases, and then upgrade PHP again.