Forum

You are not logged in.

#1 15-08-2017 14:47:07

Fleurou
Membre
Registered: 03-05-2017
Posts: 9

GnuPG PHP extension

Hello,
I am trying to use the GnuPG module for PHP, but it seems not to be available on alwaysdata yet.
1) Am I right?
2) Any plan to support it?

Thanks & best regards

Offline

#2 16-08-2017 10:09:27

@Héloïse
Staff
Registered: 03-03-2016
Posts: 206

Re: GnuPG PHP extension

Hello,

It's not a preinstalled PHP extension but you can install the PECL extension directly on your account by following our documentation.

In few words you will have to use the command:

ad_install_pecl gnupg

Offline

#3 16-08-2017 11:11:18

Fleurou
Membre
Registered: 03-05-2017
Posts: 9

Re: GnuPG PHP extension

Thanks Héloïse.
I ran your nice script...

$ ad_install_pecl gnupg
Downloading...
Extracting...
Configuring...
configure: error: Please reinstall the gpgme distribution
Fatal error: configuration failed

... but libgpgme11-dev was missing:

$ dpkg -s libgpgme11-dev
dpkg-query: package 'libgpgme11-dev' is not installed and no information is available
...

So I used the method suggested in the docs and downloaded a deb from the debian server (php5-gnupg package) and decompressed it with dpkg-deb.
Work like a charm, thanks.

Offline

Board footer

Powered by FluxBB