Page MenuHome GnuPG

Trouble making GnuPG php module to work (cPanel server)
Closed, InvalidPublic


Dear community,

I am having a very hard time trying to get gnupg php module to work. I have
tried searching Google, asking cPanel and Cloudlinux but no luck.

Below are some information you might find usefull in helping me to get it to work:

WHM Installed PHP Pecl: gnupg v1.3.3

whereis gnupg

gnupg: /etc/gnupg /usr/share/gnupg

gpg --version

gpg (GnuPG) 1.4.9
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

yum install gpgme

Setting up Install Process
Package gpgme-1.1.8-3.el6.x86_64 already installed and latest version
Nothing to do

yum install libgpg-error

Setting up Install Process
Package libgpg-error-1.7-4.el6.x86_64 already installed and latest version
Nothing to do

php -i | grep gnupg

php: gnupg support => enabled
symbol lookup error:
/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ undefined

symbol: gpgme_check_version_internal

I don't know that is going wrong. My server is running cPanel on CentOS, on top
of which Cloudlinux is installed.

A script of mine that encrypts a string and displays the outcome doesn't work as
well as phpinfo.php doesn't load completely. If I remove gnupg pecl then
encrypt.php throws an error saying the gnupg classes are not found, whereas when
installed it throws a blank page. Also when gnupg is removed, phpinfo.php loads
fine, but when is present to php.ini then phpinfo.php does not load.

Can you please help me troubleshooting this issue? I have been trying for a
month now without any luck.

Event Timeline

This is a bug tracker and not help list. Please send your questions to

werner lowered the priority of this task from High to Normal.
werner removed a project: Bug Report.
werner added a project: Mistaken.