note 68360 deleted from ref.ssh2 by langemeijer
| From: | langemeijer@php.net | Date: | Sat, 10 Nov 2012 14:23:28 +0000 |
| Subject: | note 68360 deleted from ref.ssh2 by langemeijer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191840@lists.php.net to get a copy of this message | ||
Note Submitter: kickthedonkey at gmail dot com
----
Just a quick note about the manual installation instructions above. If your PHP is in a
non-standard location, or you're running multiple installs of different PHP version, you have
to complie the module with an explicit path to phpize and php-config:
/path/to/correct/php/bin/phpize && ./configure --with-ssh2
--with-php-config=/path/to/correct/php/bin/php-config && make
Took me an hour to figure out why I was getting a "Unable to initialize module Module compiled
with module API" error when I loaded the module. Turns out, it was compiling against my php4
libs, and not the php5 ones.