ssh2 extension for XAMPP 1.7.7 gives segmentation fault

Problems with the Linux version of XAMPP, questions, comments, and anything related.

ssh2 extension for XAMPP 1.7.7 gives segmentation fault

Postby pprabhud@cisco.com » 08. December 2011 01:01

I just downloaded and installed XAMPP 1.7.7. Then I downloaded, compiled and installed libssh2 1.3.0. Then I downloaded, compiled and installed ssh2 0.11.3 from PECL.

My OS is Red Hat Enterprise Linux 5.3 (i386).

However when I use ssh2_connect(), my script generates a segmentation fault.

Anyone seen this before or any ideas what I might be missing ?

TIA.
pprabhud@cisco.com
 
Posts: 2
Joined: 08. December 2011 00:48
Operating System: Red Hat Enterprise Linux

Re: ssh2 extension for XAMPP 1.7.7 gives segmentation fault

Postby JonB » 08. December 2011 11:14

It might be useful to post that error -

and... its unlikely (but remotely possible) that anyone running XAMMP has stumbled across that. :shock: (this is my 'karma' trap where I rely on the fact that when you make an assumptive statement, you will invariably be proven wrong. :mrgreen: )

After Googling on "ssh2 0.11.3 segmentation fault" - I'd say 'bug report' time with a code example.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: ssh2 extension for XAMPP 1.7.7 gives segmentation fault

Postby pprabhud@cisco.com » 08. December 2011 16:47

Yes, I'd say bug report time too but with whom ? :?

There's not much to it in terms of error and code example but here goes -

Code: Select all
[root@localhost ~]# cat test.php
<?php
ssh2_connect('10.89.174.181');
?>
[root@localhost ~]#


Code: Select all
[root@localhost ~]# /opt/lampp/bin/php -f test.php
Segmentation fault
[root@localhost ~]#
pprabhud@cisco.com
 
Posts: 2
Joined: 08. December 2011 00:48
Operating System: Red Hat Enterprise Linux

Re: ssh2 extension for XAMPP 1.7.7 gives segmentation fault

Postby JonB » 08. December 2011 19:23

beep beep (insert roadrunner icon) :mrgreen:

http://pecl.php.net/package/ssh2/0.11.3

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests