I don't this its possible to instal phpredis using custom build option but official documentation says to install phpredis as a PECL extension:- https://github.com/phpredis/phpredis#installation
This plugin works on every DirectAdmin server, but the included setup script is only for RHEL/CentOS with systemctl support. Maybe I will add install scripts for Ubuntu / Debian in the future.