You can use CloudLinux's Select PHP Version to change your website's PHP version in DirectAdmin. CloudLinux offers several PHP Versions to choose from.
- Log in to your DirectAdmin account.
- In the Additional Features section, click Select PHP version or type Select PHP in the navigation filter box. The option appears. Click on it.

- To the right of Current PHP Version, click the drop-down menu and choose the version you want to use.

- Click "Set as current."