Cannot install Passbolt, PHP Fatal error: You must enable the gnupg extension to use Passbolt

Hi, I am unable to install Passbolt on debian 8 with PHP 7.0:

PHP Fatal error: You must enable the gnupg extension to use Passbolt. in /var/www/passbolt/config/bootstrap.php on line 34

I have added extension=msql.so\nextension=gnupg.so to /etc/php/7.0/apache2/php.ini and /etc/php/7.0/cli/php.ini

Is the php-gnupg package installed?

Yes, with this manual:

http://blog.programster.org/ubuntu-16-04-install-gpg-extension-for-php-7

What do you get when running:

php -i | grep gnupg

yeah that´s strange, the output is empty, but when I try:

sudo pecl install gnupg

I get:
pecl/gnupg is already installed and is the same as the released version 1.4.0
install failed

installing on a new debian 9 server, thank you guys…

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.