note 81093 added to ref.ssh2
| From: | aby at thomasoft dot com | Date: | Wed, 13 Feb 2008 22:56:09 +0000 |
| Subject: | note 81093 added to ref.ssh2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136127@lists.php.net to get a copy of this message | ||
This is an update for those who are having difficulty compiling
on newer systems when following the manual procedure above.
The following finally worked on OpenSuSE 10.3.
I assume this will probably work on most newer distributions.
Download the latest source for php-ssh2 from
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/php-ssh2/
Save it in a temp folder
Extract the file (eg: tar -xzvf ssh2-0.11-20071019.tar.gz)
Change to the newly extracted folder and execute following
phpize && ./configure --with-ssh2 --with-php-config=/usr/bin/php-config5 && make
(make sure to change the path to the correct php-config5 on your system.)
Once the complie is completed successfully, copy the .libs/ssh2.so
to the php extension folder specified in php.ini
add "extension=ssh2.so" in php.ini
restart apache
This worked. Good luck.
----
Server IP: 208.69.120.35
Probable Submitter: 69.212.152.80
----
Manual Page -- http://www.php.net/manual/en/ref.ssh2.php
Edit -- https://master.php.net/note/edit/81093
Del: integrated -- https://master.php.net/note/delete/81093/integrated
Del: useless -- https://master.php.net/note/delete/81093/useless
Del: bad code -- https://master.php.net/note/delete/81093/bad+code
Del: spam -- https://master.php.net/note/delete/81093/spam
Del: non-english -- https://master.php.net/note/delete/81093/non-english
Del: in docs -- https://master.php.net/note/delete/81093/in+docs
Del: other reasons-- https://master.php.net/note/delete/81093
Reject -- https://master.php.net/note/reject/81093
Search -- https://master.php.net/manage/user-notes.php