All commands ran via SSH as root from /root. If you get “No package available” errors, you probably need to install the EPEL repositories.
yum install libgpg-error yum install libgpg-error-devel yum install gpgme yum install gpgme-devel yum install pygpgme pecl install gnupg
You will then need to edit your /usr/local/lib/php.ini file and verify/insert the
extension=gnupg.so line. If this line isn’t already in the file, just add it at the bottom. Run
php -m and look for a gnupg line. Next run
php -r "phpinfo();". You should see something like:
gnupg support => enabled GPGme Version => 1.1.8 Extension Version => 1.3.2-dev
Then you’ll just need to restart the web server .