This link has been bookmarked by 45 people . It was first bookmarked on 26 Apr 2008, by someone privately.
-
04 Jan 11
-
30 Nov 10
-
16 Sep 10
-
26 Jan 10
-
18 Jan 10
-
17 Dec 09
-
10 Dec 09
-
22 Sep 09
-
15 Sep 09
-
19 Aug 09
-
03 Jul 09
thisisthez"Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful." "PHP can send files over ssh!" Way rad.
Bookmarks webdev php ssh commandline programming code tutorial howto
-
16 Apr 09
-
17 Feb 09
-
Installation
ssh2.so
Next we need to link libssh & PHP together. There's a PECL module for this so let's install using:
pecl install -f ssh2
The -f makes sure ssh2 is installed even though there's not a stable candidate. You could also use the package name: ssh2-beta to overrule this.
Now you need to make sure our new ssh2.so module is loaded by PHP. Edit your php.ini file (for CLI utitilies: /etc/php5/cli/php.ini, for Apache utilities /etc/php5/apache2/php.ini)
extension=ssh2.so
It should be placed beneath the: "Dynamic Extensions" section somewhere around line 515.
-
Method 1: Execute
-
-
13 Feb 09
-
24 Jan 09
-
14 Jan 09
-
04 Jan 09
-
16 Dec 08
-
10 Sep 08
-
09 Sep 08
-
04 Aug 08
-
25 Jun 08
-
10 Jun 08
-
31 May 08
-
27 Apr 08
-
10 Apr 08
-
13 Aug 07
-
01 Aug 07
-
31 Jul 07
-
30 Jul 07
-
Nicolas PerriaultNot everyone knows about PHP's capabilities of making SSH connections and executing remote commands
-
27 Jul 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.