SSH2

php 4 + pecl ssh2 0.11.2 = /ssh2.c:50: error: syntax error before numeric constant

php 5.3 에서는 ok. php 4 + ssh2 0.11.0 도 ok. php 4 + ssh2 0.11.2 에서 우선 컴파일이 되게 하려고 0.11.0 의 코드를 참조해 다음처럼 수정했다. 동작에 어떤 영향을 미치는지 등은 아직 확인 못 했다. --- ssh2-0.11.2/ssh2.c 2010-11-04 07:24:33.000000000 +0900 +++ ssh2-0.11.2-new/ssh2.c 2011-06-07 23:16:18.000000000 +0900 @@ -47,9 +47,14 @@ int le_ssh2_pkey_subsys; #endif +#ifdef ZEND_ENGINE_2 ZEND_BEGIN_ARG_INFO(php_ssh2_first_arg_force_ref, 0) ZEND_ARG_PA..

nobody2
'SSH2' 태그의 글 목록