You should upload it to the right dir for your php version. To know what is the right extension dir used by php 7.4:
php7.4 -i | grep extension_dir | awk '{print $NF}'
Keep in mind that if you edited php conf from Hestia Web UI, you are modifying the conf for ALL your installed PHP versions so remove the conf added, save it and now edit /etc/php/7.4/fpm/php.ini
manually to add the right conf for your extension.
How to install PHP extension 'dstk.so' for PHP7.4? - Hestia Control Panel - Discourse (hestiacp.com)
1) /usr/lib/php/20190902/dstk.so 파일을 업로드한다.
2) 소유주를 root으로 설정한다.
sudo chown root:root dstk.so
3) php7.4설정에서 dstk를 추가한다.
extension = dstk