LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [lsphp]ssh2.so lib

Reply
 
Thread Tools Display Modes
  #1  
Old 08-21-2007, 04:27 AM
Zack6924 Zack6924 is offline
New Member
 
Join Date: Aug 2007
Posts: 3
Default [lsphp]ssh2.so lib

When ever I try to add this extension in the php.ini, lsphp hangs on loading any php based page,

When I compile php5 with the extension my php script can't use it's abilities.
Reply With Quote
  #2  
Old 08-21-2007, 06:39 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Can you start "lsphp -i" from command line?
If you do, ssh2.so may require special environment variables, set those environment variables in the lsphp external app configuration.
Reply With Quote
  #3  
Old 08-21-2007, 07:38 PM
Zack6924 Zack6924 is offline
New Member
 
Join Date: Aug 2007
Posts: 3
I get this
Quote:
Warning: PHP Startup: ssh2: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0Configure Command => './configure' '--prefix=/php5' '--with-litespeed' '--with-config-file-path=../php' '--with-mysql' '--with-ssh2' '--with-mysqli' '--with-pear' '--with-openssl'
Reply With Quote
  #4  
Old 08-21-2007, 08:47 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
ssh2.so is built for earlier PHP release, you need to rebuild it.
Reply With Quote
  #5  
Old 08-21-2007, 08:59 PM
Zack6924 Zack6924 is offline
New Member
 
Join Date: Aug 2007
Posts: 3
I've tried it doesn't do any thing different.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:47 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.