Home » Centos/RHEL » How to install gnupg-php

How to install gnupg-php

GnuPG allows to encrypt and sign your data and communication, features a versatile key management system as well as access modules for all kinds of public key directories. To install gnupg-php

Installing gnupg prerequisite

#yum install gcc libgpg-error gpgme gpgme-devel

after that

#pecl install gnupg
configuration option “php_ini” is not set to php.ini location
You should add “extension=gnupg.so” to php.ini

Now, add the ‘gnupg.so‘ extension to ‘/etc/php.ini‘ file.

#echo extension=gnupg.so >> /etc/php.ini
# service httpd restart
# php -m | grep gnupg
gnupg

That’s it.

About

I am founder and webmaster of www.linuxpcfix.com and working as a Sr. Linux Administrator (Expertise on Linux/Unix & Cloud Server) and have been in the industry from last 7 years.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

Time limit is exhausted. Please reload the CAPTCHA.

Categorized Tag Cloud