PHP Version Upgrade Guide
How to change the PHP version on GoZen Host for better performance and WordPress compatibility. Covers cPanel and Enhance.
PHP is the programming language that powers WordPress, Joomla, and most web applications. Newer PHP versions are significantly faster and more secure. Upgrading from PHP 7.4 to 8.2 can improve page load times by 20-40%.
Why Upgrade?
- Speed: PHP 8.x is measurably faster than 7.x (JIT compiler, performance improvements)
- Security: Older PHP versions stop receiving security patches
- Compatibility: WordPress 6.4+ recommends PHP 8.1 or newer. Some plugins require it.
- Features: Newer PHP versions support modern coding patterns your themes and plugins can use
Check Your Current PHP Version
In WordPress
Go to Tools > Site Health > Info > Server. The PHP version is listed there.
In cPanel
Go to MultiPHP Manager. Your current version is shown next to each domain.
Upgrade PHP on cPanel
- Log in to cPanel
- Go to MultiPHP Manager
- Check the box next to your domain(s)
- Select the new PHP version from the dropdown (e.g., PHP 8.2 or 8.3)
- Click Apply
The change takes effect within seconds. No server restart needed.
Change PHP Settings
If you need to adjust PHP settings (memory, upload size):
- Go to MultiPHP INI Editor
- Select your domain
- Adjust settings:
| Setting | Recommended Value | What It Does |
|---|---|---|
memory_limit | 256M (512M for WooCommerce) | Max memory PHP can use |
max_execution_time | 120 | Seconds before a script times out |
upload_max_filesize | 64M | Max file upload size |
post_max_size | 64M | Max POST data size |
max_input_vars | 3000 | Important for complex forms and page builders |
Upgrade PHP on Enhance
- Go to Websites > select your domain
- Click the Advanced tab
- Change the PHP Version dropdown
- The change applies immediately
Before You Upgrade
1. Check Plugin Compatibility
Not all plugins support the latest PHP. Before upgrading:
- Go to Plugins > Installed Plugins
- Check each plugin’s WordPress.org page for PHP compatibility info
- Update all plugins to their latest versions first
- Pay special attention to older plugins that haven’t been updated in 12+ months
2. Check Theme Compatibility
Your theme must support the PHP version you’re upgrading to. Check the theme developer’s changelog or documentation.
3. Create a Backup
Always back up before changing PHP versions:
- cPanel: Use Backups or JetBackup
- Enhance: Use built-in Backups
4. Test on Staging First (Recommended)
If you have a staging site, test the PHP upgrade there first. This catches compatibility issues before they affect your live site.
Troubleshooting
| Problem | Fix |
|---|---|
| White screen after upgrade | A plugin or theme is incompatible. Switch back to the old PHP version, then disable plugins one by one to find the culprit. |
| “Parse error” or “syntax error” | A plugin uses outdated PHP syntax. Update or replace the plugin. |
| Site works but some features broken | Check error logs in cPanel > Errors for specific function deprecation warnings. |
| WooCommerce checkout broken | Clear all caches (LiteSpeed Cache, browser). Some caching issues appear as PHP errors. |
Rolling Back
If the upgrade causes problems, simply go back:
- cPanel: MultiPHP Manager > select old version > Apply
- Enhance: Advanced tab > change version back
The rollback is instant.
PHP Version Lifecycle
| PHP Version | Status | Support Until |
|---|---|---|
| 7.4 | End of Life | No longer supported |
| 8.0 | End of Life | No longer supported |
| 8.1 | Security fixes only | Dec 2025 |
| 8.2 | Active support | Dec 2026 |
| 8.3 | Active support | Dec 2027 |
Rule of thumb: Always run the newest PHP version that your plugins and theme support. At minimum, never run a version that’s past End of Life.
Related Articles
Last updated 19 Apr 2026, 23:46 +0300.