<?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> &#187; GNUPG PHP extension</title>
	<atom:link href="http://eitwebguru.com/tag/gnupg-php-extension/feed/" rel="self" type="application/rss+xml" />
	<link>http://eitwebguru.com</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 14:26:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installation of GNUPG and GNUPG-PHP extension</title>
		<link>http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/</link>
		<comments>http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 04:20:15 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[/etc/ld.so.conf]]></category>
		<category><![CDATA[cannot open shared object file]]></category>
		<category><![CDATA[GNUPG installation]]></category>
		<category><![CDATA[GNUPG PHP extension]]></category>
		<category><![CDATA[GNUPGME installation]]></category>
		<category><![CDATA[libgpg-error installation]]></category>
		<category><![CDATA[loading shared libraries: libgpgme.so.11]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=46</guid>
		<description><![CDATA[Step 1: Go to download Directory cd /usr/local/src/ Step 2: Download Required Modules Download GNUPG, libgpg-error and GNUPGME (Made Easy) from http://www.gnupg.org/download/ and GNUPG PHP Extension from http://pecl.php.net/get/ wget ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.gz wget ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.bz2 wget ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.8.tar.bz2 wget http://pecl.php.net/get/gnupg-1.3.1.tgz Step 3: Extract All the downloaded Modules tar -zvf gnupg-1.4.9.tar.gz tar -jxvf libgpg-error-1.7.tar.bz2 tar -jxvf gpgme-1.1.8.tar.bz2 tar -zxvf gnupg-1.3.1.tgz [...]]]></description>
			<content:encoded><![CDATA[<p align="justify"><span style="font-family: Verdana; font-size: small;"><strong>Step 1:</strong> Go to download Directory</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 20px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>cd /usr/local/src/</strong><span id="more-46"></span></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;"><strong>Step 2:</strong> Download Required Modules</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;"> Download GNUPG, libgpg-error and GNUPGME (Made Easy) from http://www.gnupg.org/download/ and GNUPG PHP Extension from http://pecl.php.net/get/</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 100px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>wget ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.gz
wget ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.bz2
wget ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.8.tar.bz2
wget http://pecl.php.net/get/gnupg-1.3.1.tgz</strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;"><strong>Step 3:</strong> Extract All the downloaded Modules</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 80px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>tar -zvf gnupg-1.4.9.tar.gz
tar -jxvf libgpg-error-1.7.tar.bz2
tar -jxvf gpgme-1.1.8.tar.bz2
tar -zxvf gnupg-1.3.1.tgz</strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;">Step 4: Installation of GNUPG</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 60px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>cd /usr/local/src/gnupg-1.4.9
./configure
make ; make install</strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;">Step 5: Installation of LibGPG-Error</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 60px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>cd /usr/local/src/libgpg-error-1.7
./configure
make ; make install</strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;">Step 6: Installation of GPGME</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 60px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>cd /usr/local/src/gpgme-1.1.8.tar
./configure --with-gpgconf=/root/.gnupg/gpg.conf
make ; make install</strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;">Step 7: Installation GNUPG PHP Extension</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 80px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>cd /usr/local/src/gnupg-1.3.1
phpize
./configure
make ; make install</strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;">Step 8: Enable PHP Extension</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 80px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>echo 'extension=gnupg.so' &gt;&gt; /usr/local/lib/php.ini
                OR
echo 'extension=gnupg.so' &gt;&gt; /etc/php.ini
                OR
Use the PHP where php configuration file i.e. php.ini is located.</strong></pre>
<p><span style="font-family: Verdana; font-size: small;"><strong>TROUBLESHOOTING</strong></span></p>
<p><span style="font-family: Verdana; font-size: small;">It happens sometime that after loading gnupg it doesn&#8217;t shows it in PHP info OR you get Message &#8220;error while loading shared libraries: libgpgme.so.11: cannot open shared object file: No such file or directory&#8221;. You can check the same using following command</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 120px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong><strong>[root@support007 ~]# ldd /usr/local/lib/php/extensions/no-debug-non-zts-20060613/gnupg.so
    libgpgme.so.11 =&gt; not found
    libc.so.6 =&gt; /lib/libc.so.6 (0x002be000)
    /lib/ld-linux.so.2 (0x00c94000
</strong></strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;">The main reason for this problem is that the server doesn&#8217;t load libraries from /usr/local/lib folder. To fix this problem just add ‘/usr/local/lib‘ to /etc/ld.so.conf and run ldconfig.<strong> </strong></span></p>
<p><strong> </strong></p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark to</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;title=Installation+of+GNUPG+and+GNUPG-PHP+extension" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Del.icio.us"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Del.icio.us" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;title=Installation+of+GNUPG+and+GNUPG-PHP+extension" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a digg"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a digg" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Installation+of+GNUPG+and+GNUPG-PHP+extension&amp;u=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a FURL"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a FURL" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;title=Installation+of+GNUPG+and+GNUPG-PHP+extension" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a reddit"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a reddit" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Installation+of+GNUPG+and+GNUPG-PHP+extension&amp;url=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;version=0.7" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Feed Me Links"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/feedmelinks.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Feed Me Links" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Feed Me Links" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Technorati"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Technorati" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;t=Installation+of+GNUPG+and+GNUPG-PHP+extension" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Yahoo My Web"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/yahoo_myweb.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Yahoo My Web" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;title=Installation+of+GNUPG+and+GNUPG-PHP+extension" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Stumble Upon"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Stumble Upon" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;title=Installation+of+GNUPG+and+GNUPG-PHP+extension" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Google Bookmarks"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Google Bookmarks" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Google Bookmarks" /></a><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://mystuff.ask.com/mysearch/QuickWebSave?v=1.2&amp;t=webpages&amp;title=Installation+of+GNUPG+and+GNUPG-PHP+extension&amp;url=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Ask"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/ask.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Ask" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Ask" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="https://favorites.live.com/quickadd.aspx?url=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;title=Installation+of+GNUPG+and+GNUPG-PHP+extension" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Live-MSN"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/live.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Live-MSN" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Live-MSN" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;t=Installation+of+GNUPG+and+GNUPG-PHP+extension" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a FaceBook"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a FaceBook" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.blogospherenews.com/submit.php?url=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;title=Installation+of+GNUPG+and+GNUPG-PHP+extension" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a BlogSphere News"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/blogspherenews.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a BlogSphere News" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a BlogSphere News" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Installation+of+GNUPG+and+GNUPG-PHP+extension&amp;c=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a MySpace"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a MySpace" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Twitter"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Twitter" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/reader/link?url=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/&amp;title=Installation+of+GNUPG+and+GNUPG-PHP+extension&amp;srcURL=http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Google Buzz"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/googlebuzz.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Google Buzz" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Google Buzz" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://valent-blog.eu/social-bookmarking-reloaded/" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Social Bookmarking Reloaded"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/sbr.png" title="Add 'Installation of GNUPG and GNUPG-PHP extension' a Social Bookmarking Reloaded" alt="Add 'Installation of GNUPG and GNUPG-PHP extension' a Social Bookmarking Reloaded" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/installation-of-gnupg-and-gnupg-php-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
