- In DirectAdmin, open Extra Features → Select PHP Version (or Domain Setup → PHP Version).
- Choose the version you need from the list (e.g. 8.2) and save.
- Tick the PHP extensions you need.
- Under Options you can raise values such as
memory_limit,upload_max_filesizeandmax_execution_timewithin your plan’s limits.
An older site may throw errors on a newer PHP version. Check the site after switching and revert if there are problems.