I\'m trying to follow the instructions for installing phpseclib.
I unpackaged everything and created a new phpseclib
folder into /usr/share/pear
Did not you forget to place a slash / after setting the path?
So, should be like:
<?php
set_include_path(get_include_path() . PATH_SEPARATOR . 'phpseclib/');
include('Net/SSH2.php');
?>
or
<?php
set_include_path(get_include_path() . PATH_SEPARATOR . 'phpseclib' . PATH_SEPARATOR);
include('Net/SSH2.php');
?>
I changed the code to read:
<?php
set_include_path(get_include_path() . get_include_path().'/phpseclib');
include('Net/SSH2.php');
echo('if you are reading this, phpseclib has been included');
and that fixed the problem.