安装/配置
在线手册:中文 英文
PHP手册

运行时配置

此扩展没有在 php.ini 中定义配置指令。


安装/配置
在线手册:中文 英文
PHP手册
PHP手册 - N: 运行时配置

用户评论:

Mircea Hutanu (15-Apr-2010 10:19)

If you are compiling it against PHP 5.3.X make sure to remove line 53 from ssh2.c file :

52    #ifdef ZEND_ENGINE_2
53    static
54    ZEND_BEGIN_ARG_INFO(php_ssh2_first_arg_force_ref, 0)
55             ZEND_ARG_PASS_INFO(1)
56         ZEND_END_ARG_INFO()

abc at hotmail dot com (18-Jan-2010 09:42)

You must add extension = ssh2.so to  your php.ini for this to work even though the documentation says there is no configuration directive required.