<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Agence de Développement Informatique du Nord &#187; GnuPG</title>
	<atom:link href="http://blog.adin.pro/tag/gnupg/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adin.pro</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 26 Dec 2019 08:54:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Using GnuPG with PHP</title>
		<link>http://blog.adin.pro/2014-02-10/using-gnupg-with-php/</link>
		<comments>http://blog.adin.pro/2014-02-10/using-gnupg-with-php/#comments</comments>
		<pubDate>Mon, 10 Feb 2014 16:05:17 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[GnuPG]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=355</guid>
		<description><![CDATA[<p>GnuPG is a great tool to encrypt texts and files and you can use it with PHP, only if you install it succesfully. First, you will get this error : Fatal error: Class &#8216;gnupg&#8217; not found in &#8230;. OK the &#8230; <a href="http://blog.adin.pro/2014-02-10/using-gnupg-with-php/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2014-02-10/using-gnupg-with-php/">Using GnuPG with PHP</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>GnuPG is a great tool to encrypt texts and files and you can use it with PHP, only if you install it succesfully.</p>
<p>First, you will get this error : Fatal error: Class &#8216;gnupg&#8217; not found in &#8230;.</p>
<p>OK the lib is not installed, do it with pecl</p>
<pre class="brush: bash; title: ; notranslate">
pecl install gnupg
</pre>
<p>But you will also have this error :</p>
<pre class="brush: bash; title: ; notranslate">
configure: error: Please reinstall the gpgme distribution
ERROR: `/tmp/pear/temp/gnupg/configure' failed
</pre>
<p>You need to install the libgpgme too !!!</p>
<pre class="brush: bash; title: ; notranslate">
apt-get install libgpgme11-dev
</pre>
<p>Now retry to install gnupg</p>
<pre class="brush: bash; title: ; notranslate">
pecl install gnupg
</pre>
<p>It should be OK.</p>
<p>Don&#8217;t forget to modify your php.ini file to load the extension</p>
<pre class="brush: bash; title: ; notranslate">
extension=gnupg.so
</pre>
<p>And of course, restart your apache web server</p>
<pre class="brush: bash; title: ; notranslate">
/etc/init.d/apache2 restart
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2014-02-10/using-gnupg-with-php/">Using GnuPG with PHP</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2014-02-10/using-gnupg-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
