How to Configure Default PHP Version for All New Accounts in WHM?
When you create new client accounts in WHM, they inherit a default PHP version. Setting the correct default PHP version ensures new sites work out of the box without needing per-account adjustments.
Set Default PHP Version via MultiPHP Manager
- Login to WHM.
- Go to Software → MultiPHP Manager.
- Click the PHP Versions tab.
- Under System PHP Version, select the PHP version you want to use as the server-wide default (e.g., PHP 8.2).
- Click Apply.
All new accounts created after this change will use the selected PHP version by default.
Change PHP Version for a Specific Client Account
- Go to WHM → Software → MultiPHP Manager.
- Click the Home tab.
- Find the client's domain in the list.
- Check the box next to their domain.
- Select the PHP version from the dropdown at the top.
- Click Apply.
Recommended PHP Versions by CMS
| CMS / Application | Recommended PHP Version |
|---|---|
| WordPress (latest) | PHP 8.2 or 8.3 |
| Joomla 4.x | PHP 8.1+ |
| Drupal 10 | PHP 8.1+ |
| Magento 2.4 | PHP 8.1+ |
| Laravel 10+ | PHP 8.1+ |
| Legacy/Old applications | PHP 7.4 (check compatibility) |
Note: Always warn clients before changing PHP versions. PHP version changes can break websites if the installed plugins or themes are not compatible with the new version. Recommend taking a backup first.
If you continue to face issues, please open a create a request.
