apt install php-common libgpgme11-dev php-pear php-dev
apt install php-cli
pecl install gnupg
for v in /etc/php/*; do echo "extension=gnupg.so" > $v/mods-available/gnupg.ini; done
phpenmod gnupg
cp conf.php.default conf.php
nano conf.php
php test_server_api.php