Hello,
To all whom find this topic:
If you want to add an php extension, and try to use this: https://help.directadmin.com/item.php?id=252
The variable: "ap2" stands for "apache 2", while if you use suphp, or fpm you need to change it respectively to suphp and fpm.... took me a while to figure...