1.Log in to your
DirectAdmin hosting panel.

2.Scroll down navigate to
EXTRA FEATURES -> Select PHP version.
3.Here you will see all the PHP Extensions. You can select any to activate.

4.After you activate any of the extensions, you will receive a notification confirming that the extension has been successfully activated.