Hi,
I am running a web server for which I place the php files in /var/www folder and they work fine from the browser.
Now, I wish to use SSH2 class that can be found at (http://phpseclib.sourceforge.net/docume ... t_ssh_ssh2). I have placed SSH2.php in the same folder (/var/www) but it doesn't work. I have also copied the file in /usr/share/php (which is the path returned by ini_get('include_path') command).
Where do I put my required file (SSH2.php) so that I can use it.
Thanks
How to include other classes
Moderator: General Moderators
-
turing_machine
- Forum Newbie
- Posts: 1
- Joined: Tue Oct 25, 2011 4:31 am
Re: How to include other classes
SSH2 requires a number of libraries to be installed like openssl, libssh2 and there is some configuration required and it varies depending on whether you are running linux or windows.