此扩展没有在 php.ini 中定义配置指令。
Mircea Hutanu (2010-04-15 14:19:10)
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 (2010-01-18 13:42:37)
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.