centos - Failed opening required 'Net/SSH2.php'? -
i have installed ssh2 per these instructions. checked in phpinfo, , can see ssh working. i.e. showing up. however, code still bombs:
it bombs out with:
fatal error: require(): failed opening required 'net/ssh2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php.:/usr/lib/php:/usr/local/lib/php/phpseclib') in sshconnect.class.inc on line 5
i tried:
locate ssh2.php
and can't find files anywhere. have no idea why not working? ideas?
you installed libssh2 , trying use phpseclib. if want use phpseclib can install via composer or via pear. or can go http://phpseclib.sourceforge.org , download *.zip , put where-ever like, long it's in include_path.
Comments
Post a Comment