tinu
The gd library is installed by default and can be found in phpinfo
Installation tutorial for gnupg
Go to the php official website to download the gnupg extension package. The version I downloaded is 1.4.0
http://pecl.php.net/package/gnupg
yum install gpgme-devel
tar -zxvf gnupg-1.4.0.tgz
cd gnupg-1.4.0
/www/server/php/73/bin/phpize
./configure --with-php-config=/www/server/php/73/bin/php-config
make
cp -p /tmp/gnupg-1.4.0/modules/gnupg.so /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/
Add the code to your php configuration file
extension = /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/gnupg.so
If you want to install at 74, change 73 to 74.