Overview
Your hosting includes multiple PHP versions (7.4–8.3). You can switch PHP versions and enable required extensions directly from DirectAdmin using the PHP Selector.
Step 1 — Open PHP Settings
- Log in to DirectAdmin
- Go to Account Manager → Select PHP Version
or PHP Settings (depending on theme)
Step 2 — Choose your domain
Select the domain you want to modify.
Step 3 — Switch PHP version
Select the version you want:
- PHP 8.3 — recommended
- PHP 8.2 — stable for all CMS
- PHP 8.1 — compatibility mode
- PHP 7.4 — legacy only
Step 4 — Enable required extensions
Common extensions:
- mysqli
- curl
- json
- zip
- mbstring
- xml
- gd
- intl
Toggle the extensions you need and click Save.
Troubleshooting
- White screen → enable display_errors temporarily
- 500 error → disable incompatible PHP extensions
- WordPress broken → switch to PHP 8.1 or 8.2