<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Installing SSH2 for PHP shell connections &#8211; How-to</title>
	<atom:link href="http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/</link>
	<description>Yet another Techi blog</description>
	<lastBuildDate>Wed, 10 Mar 2010 08:32:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: actortong</title>
		<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/comment-page-1/#comment-134</link>
		<dc:creator>actortong</dc:creator>
		<pubDate>Wed, 27 Jan 2010 01:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://hostechs.com/?p=22#comment-134</guid>
		<description>If you can&#039;t get ssh2.so installed phpseclib - a pure-PHP SSH2 implementation - may work for you:

http://phpseclib.sourceforge.net/</description>
		<content:encoded><![CDATA[<p>If you can&#8217;t get ssh2.so installed phpseclib &#8211; a pure-PHP SSH2 implementation &#8211; may work for you:</p>
<p><a href="http://phpseclib.sourceforge.net/" rel="nofollow">http://phpseclib.sourceforge.net/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florian N</title>
		<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/comment-page-1/#comment-133</link>
		<dc:creator>Florian N</dc:creator>
		<pubDate>Wed, 13 Jan 2010 23:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://hostechs.com/?p=22#comment-133</guid>
		<description>That error &quot;error: expected ‘{‘ at end of input&quot; suggests that there is a coding problem in the module which may or may not be true.

The problem is that i can&#039;t really do much about this without hands-on and i can&#039;t seem to duplicate the issue on one of my systems.</description>
		<content:encoded><![CDATA[<p>That error &#8220;error: expected ‘{‘ at end of input&#8221; suggests that there is a coding problem in the module which may or may not be true.</p>
<p>The problem is that i can&#8217;t really do much about this without hands-on and i can&#8217;t seem to duplicate the issue on one of my systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay bharti</title>
		<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/comment-page-1/#comment-132</link>
		<dc:creator>vijay bharti</dc:creator>
		<pubDate>Wed, 13 Jan 2010 21:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://hostechs.com/?p=22#comment-132</guid>
		<description>Hi Florian,
                 Please help.with ssh2-0.10,same type of error is coming:

/root/ssh2-0.10/ssh2.c:1268: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;ssh2_functions&#039;
/root/ssh2-0.10/ssh2.c:1324: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;ssh2_module_entry&#039;
/root/ssh2-0.10/ssh2.c: In function &#039;ZEND_GET_MODULE&#039;:
/root/ssh2-0.10/ssh2.c:1343: error: expected &#039;{&#039; at end of input
make: *** [ssh2.lo] Error 1
[root@pcssgdell ssh2-0.10]#</description>
		<content:encoded><![CDATA[<p>Hi Florian,<br />
                 Please help.with ssh2-0.10,same type of error is coming:</p>
<p>/root/ssh2-0.10/ssh2.c:1268: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8217;ssh2_functions&#8217;<br />
/root/ssh2-0.10/ssh2.c:1324: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8217;ssh2_module_entry&#8217;<br />
/root/ssh2-0.10/ssh2.c: In function &#8216;ZEND_GET_MODULE&#8217;:<br />
/root/ssh2-0.10/ssh2.c:1343: error: expected &#8216;{&#8216; at end of input<br />
make: *** [ssh2.lo] Error 1<br />
[root@pcssgdell ssh2-0.10]#</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florian N</title>
		<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/comment-page-1/#comment-131</link>
		<dc:creator>Florian N</dc:creator>
		<pubDate>Wed, 13 Jan 2010 16:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://hostechs.com/?p=22#comment-131</guid>
		<description>Maybe try and use ssh2-0.10 package. Seems that you tried using the latest available sources but this may have some issues.</description>
		<content:encoded><![CDATA[<p>Maybe try and use ssh2-0.10 package. Seems that you tried using the latest available sources but this may have some issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay bharti</title>
		<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/comment-page-1/#comment-130</link>
		<dc:creator>vijay bharti</dc:creator>
		<pubDate>Wed, 13 Jan 2010 15:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://hostechs.com/?p=22#comment-130</guid>
		<description>Hi Florian,
                After using above command I can see PWD  /usr/src/redhat/SOURCES/libssh2-1.1  in phpinfo(),but still same error coming.


I also have another server with php 5 on that I am able to install libssh2-1.2.1 but when I am installing ssh2-0.11.0,below error is coming:

/root/ssh2-0.11.0/ssh2.c:1276: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;ssh2_functions&#039;
/root/ssh2-0.11.0/ssh2.c:1332: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;ssh2_module_entry&#039;
/root/ssh2-0.11.0/ssh2.c: In function &#039;ZEND_GET_MODULE&#039;:
/root/ssh2-0.11.0/ssh2.c:1351: error: expected &#039;{&#039; at end of input
make: *** [ssh2.lo] Error 1

is there any way of compiling this file without error for PHP 5.2.9 .Please advice soon</description>
		<content:encoded><![CDATA[<p>Hi Florian,<br />
                After using above command I can see PWD  /usr/src/redhat/SOURCES/libssh2-1.1  in phpinfo(),but still same error coming.</p>
<p>I also have another server with php 5 on that I am able to install libssh2-1.2.1 but when I am installing ssh2-0.11.0,below error is coming:</p>
<p>/root/ssh2-0.11.0/ssh2.c:1276: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8217;ssh2_functions&#8217;<br />
/root/ssh2-0.11.0/ssh2.c:1332: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8217;ssh2_module_entry&#8217;<br />
/root/ssh2-0.11.0/ssh2.c: In function &#8216;ZEND_GET_MODULE&#8217;:<br />
/root/ssh2-0.11.0/ssh2.c:1351: error: expected &#8216;{&#8216; at end of input<br />
make: *** [ssh2.lo] Error 1</p>
<p>is there any way of compiling this file without error for PHP 5.2.9 .Please advice soon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florian N</title>
		<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/comment-page-1/#comment-129</link>
		<dc:creator>Florian N</dc:creator>
		<pubDate>Wed, 13 Jan 2010 14:34:39 +0000</pubDate>
		<guid isPermaLink="false">http://hostechs.com/?p=22#comment-129</guid>
		<description>Hmm, try and recompile ssh2 again but use the configure command like this: ./configure --with-ssh2 --with-php-config=/path/to/correct/php/bin/php-config . See if this will work.

I would really recommend you to change to PHP5 if possible.</description>
		<content:encoded><![CDATA[<p>Hmm, try and recompile ssh2 again but use the configure command like this: ./configure &#8211;with-ssh2 &#8211;with-php-config=/path/to/correct/php/bin/php-config . See if this will work.</p>
<p>I would really recommend you to change to PHP5 if possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay bharti</title>
		<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/comment-page-1/#comment-128</link>
		<dc:creator>vijay bharti</dc:creator>
		<pubDate>Wed, 13 Jan 2010 13:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://hostechs.com/?p=22#comment-128</guid>
		<description>Hi Florian,
                    Below is the error in /var/log/httpd/error_log file:
[Mon Jan 11 22:41:52 2010] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/ssh2.so&#039; - /usr/lib/php4/ssh2.so: undefined symbol: php_network_connect_socket_to_host in Unknown on line 0.
But ssh2.so is in /usr/lib/php4 directory.
Please advice.</description>
		<content:encoded><![CDATA[<p>Hi Florian,<br />
                    Below is the error in /var/log/httpd/error_log file:<br />
[Mon Jan 11 22:41:52 2010] [notice] Digest: done<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/ssh2.so&#8217; &#8211; /usr/lib/php4/ssh2.so: undefined symbol: php_network_connect_socket_to_host in Unknown on line 0.<br />
But ssh2.so is in /usr/lib/php4 directory.<br />
Please advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florian N</title>
		<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/comment-page-1/#comment-127</link>
		<dc:creator>Florian N</dc:creator>
		<pubDate>Wed, 13 Jan 2010 00:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://hostechs.com/?p=22#comment-127</guid>
		<description>Anything showing in the apache logs, any errors? It&#039;s a bit hard for me to investigate the problem at this point without hands-on but the issue looks to be even related to a compatibility issue(there was a bug in php4 in regards to ssh2.so) or the module not being loaded right.</description>
		<content:encoded><![CDATA[<p>Anything showing in the apache logs, any errors? It&#8217;s a bit hard for me to investigate the problem at this point without hands-on but the issue looks to be even related to a compatibility issue(there was a bug in php4 in regards to ssh2.so) or the module not being loaded right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay bharti</title>
		<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/comment-page-1/#comment-126</link>
		<dc:creator>vijay bharti</dc:creator>
		<pubDate>Tue, 12 Jan 2010 23:26:12 +0000</pubDate>
		<guid isPermaLink="false">http://hostechs.com/?p=22#comment-126</guid>
		<description>Hi Florian, 
                 Yes everything compiled without error,only I changed as mentioned above #if LIBSSH2_VERSION_NUM &lt; 0x001000.My extension directory is /usr/lib/php4 and ssh2.so file is inside that directory.still same problem.</description>
		<content:encoded><![CDATA[<p>Hi Florian,<br />
                 Yes everything compiled without error,only I changed as mentioned above #if LIBSSH2_VERSION_NUM &lt; 0&#215;001000.My extension directory is /usr/lib/php4 and ssh2.so file is inside that directory.still same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florian N</title>
		<link>http://hostechs.com/2008/07/installing-ssh2-for-php-shell-connections-how-to/comment-page-1/#comment-125</link>
		<dc:creator>Florian N</dc:creator>
		<pubDate>Tue, 12 Jan 2010 23:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://hostechs.com/?p=22#comment-125</guid>
		<description>Well if the ssh2 module does not show up under phpinfo then it is not loaded for some reason, are you sure that everything compiled without error? Also try and run &quot;updatedb&quot; and then &quot;locate ssh2.so&quot; on the server and see if the module is being found and if it is make sure that is is under your extensions path(you can see in phpinfo where it is).</description>
		<content:encoded><![CDATA[<p>Well if the ssh2 module does not show up under phpinfo then it is not loaded for some reason, are you sure that everything compiled without error? Also try and run &#8220;updatedb&#8221; and then &#8220;locate ssh2.so&#8221; on the server and see if the module is being found and if it is make sure that is is under your extensions path(you can see in phpinfo where it is).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
