note 67197 deleted from ref.ssh2 by langemeijer
| From: | langemeijer@php.net | Date: | Sat, 10 Nov 2012 14:23:19 +0000 |
| Subject: | note 67197 deleted from ref.ssh2 by langemeijer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191839@lists.php.net to get a copy of this message | ||
Note Submitter: stevec at carbondesignsystems dot com
----
I couldn't get
pear install ssh2-beta to work, so I tried the manual installation.
I followed the instructions:
phpize && ./configure --with-ssh2 && make
Copy ssh2.so from the directory indicated by the build process to the location specified in your
php.ini file under extension_dir.
When I restarted Apache, I got:
PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'ssh2.so' in Unknown
on line 0
To fix the problem, I ran make install, instead of copying ssh2.so into the extension
directory.