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

  1. Login to WHM.
  2. Go to Software → MultiPHP Manager.
  3. Click the PHP Versions tab.
  4. Under System PHP Version, select the PHP version you want to use as the server-wide default (e.g., PHP 8.2).
  5. 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

  1. Go to WHM → Software → MultiPHP Manager.
  2. Click the Home tab.
  3. Find the client's domain in the list.
  4. Check the box next to their domain.
  5. Select the PHP version from the dropdown at the top.
  6. 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.

Bu cevap yeterince yardımcı oldu mu? 0 Bu dökümanı faydalı bulan kullanıcılar: (0 Oy)