Installing phpseclib in XAMPP

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

Installing phpseclib in XAMPP

Postby brad1150 » 05. May 2011 09:21

I'm new to using xampp, and I've been looking everywhere for some instruction to installing phpseclib package Net_SSH in XAMPP. I'm trying to use execute scripts on a remote machine from PHP using SSH. I read up on SSH2, and saw a few threads here and there saying phpseclib was better to use. Could anyone tell me how to do this? Or at least point me in a direction that would help? Thanks.
brad1150
 
Posts: 1
Joined: 05. May 2011 09:12

Re: Installing phpseclib in XAMPP

Postby siphodeus » 06. May 2011 16:31

I would just download the *.zip file, dump the contents into some random directory, and update the include path as follows:

set_include_path(get_include_path() . PATH_SEPARATOR . 'phpseclib');

include('Net/SSH2.php');
siphodeus
 
Posts: 1
Joined: 06. May 2011 16:28


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 95 guests