Different websites and applications require different PHP versions to run correctly. If your website displays errors after an update, or if you need to run a newer (or older) version of PHP, you can change it directly from cPanel.
When Should You Change PHP Version?
- After a WordPress or plugin update that requires a newer PHP version
- Website errors like "Parse error", "Fatal error", or blank white screens caused by PHP incompatibility
- Performance improvement — Newer PHP versions (8.x) are significantly faster than older ones
- Security — Older PHP versions (7.x and below) no longer receive security patches
- Application requirements — A new CMS or framework specifies a minimum PHP version
Recommended PHP Versions
| Use Case | Recommended Version |
|---|---|
| WordPress (latest) | PHP 8.2 or 8.3 |
| Joomla (latest) | PHP 8.1 or 8.2 |
| Laravel (latest) | PHP 8.2 or 8.3 |
| Legacy/older websites | PHP 7.4 (minimum) |
Tip: Always use the latest stable PHP version that your website supports. Newer versions are faster and more secure.
Method 1: MultiPHP Manager (Recommended)
Step 1: Log in to cPanel
Navigate to yourdomain.com/cpanel or log in via the Cynet client area at manage.cynet.com.my.
Step 2: Open MultiPHP Manager
In the cPanel dashboard, scroll to the Software section and click MultiPHP Manager.
Step 3: Select Your Domain
- You'll see a list of all domains and subdomains on your account
- Check the box next to the domain(s) you want to change
Step 4: Choose the PHP Version
- From the PHP Version dropdown at the top-right, select the version you want (e.g.,
ea-php83for PHP 8.3) - Click Apply
Method 2: PHP Selector (CloudLinux)
Some Cynet hosting plans use CloudLinux's PHP Selector, which offers additional control over PHP extensions and settings.
Step 1: Open PHP Selector
In cPanel, scroll to the Software section and click Select PHP Version or PHP Selector.
Step 2: Change the PHP Version
- At the top of the page, you'll see the Current PHP version dropdown
- Select the desired version
- Click Set as current or Apply
Step 3: Manage PHP Extensions (Optional)
PHP Selector also lets you enable or disable individual PHP extensions:
- Below the version selector, you'll see a list of available extensions
- Check or uncheck extensions as needed. Common extensions:
- Click Save to apply the extension changes
Step 4: Adjust PHP Settings (Optional)
Click Options or Switch to PHP Options to adjust PHP settings:
| Setting | Default | Common Adjustment |
|---|---|---|
| memorylimit | 256M | Increase to 512M for resource-heavy sites |
| maxexecutiontime | 30 | Increase to 300 for long-running scripts |
| uploadmaxfilesize | 64M | Increase for large file uploads |
| postmaxsize | 64M | Should be equal to or larger than uploadmaxfilesize |
| maxinputvars | 1000 | Increase to 5000 for complex forms or WooCommerce |
Verifying the PHP Version
Method 1: cPanel
Go back to MultiPHP Manager — your domain should show the updated version.
Method 2: PHP Info File
- Go to cPanel → File Manager →
/publichtml/ - Create a new file called
phpinfo.phpwith this content:
<?php phpinfo(); ?>
- Visit
yourdomain.com/phpinfo.phpin your browser - The page displays your active PHP version and all settings
- Delete the file after checking — leaving it accessible is a security risk
Method 3: WordPress Dashboard
In WordPress admin, go to Tools → Site Health → Info → Server — the PHP version is listed there.
Troubleshooting
Website shows errors after changing PHP version
- A plugin, theme, or your application may not be compatible with the new version
- Quick fix: Revert to the previous PHP version in MultiPHP Manager
- Proper fix: Update the incompatible plugin/theme to a version that supports the new PHP, then switch again
"500 Internal Server Error" after change
- Check cPanel → Metrics → Errors for the specific error
- The
.htaccessfile may contain PHP directives incompatible with the new version - Try renaming
.htaccesstemporarily to test
WordPress white screen after PHP change
- A plugin is likely incompatible. Deactivate all plugins:
/wp-content/plugins to /wp-content/plugins_disabled- Switch to a default theme to rule out theme incompatibility
- Reactivate plugins one by one to find the culprit
PHP extensions missing after version change
When switching PHP versions, the enabled extensions may reset to defaults. Go to PHP Selector → re-enable any required extensions (especially mysqli, curl, mbstring, zip, gd).
Changes not taking effect
- Clear your browser cache and try in an incognito window
- If using a caching plugin (LiteSpeed Cache, WP Super Cache), purge the cache
- Check that you changed the PHP version for the correct domain (not a subdomain or addon domain)