Hi,
I am running CentOS 5 with XAMPP PHP 5.3.1
I'd like to config SSH support for PHP.
I first installed the libssh2,
then download ssh2-0.11.0 from http://pecl.php.net/package/ssh2
issues the following commards and get the error response after 'make'
#/opt/lampp/bin/phpize
#./configure –with-ssh2 –with-php-config=/opt/lampp/bin/php-config-5.3.1
#make
....
/root/tmp/ssh2-0.11.0/ssh2.c: At top level:
/root/tmp/ssh2-0.11.0/ssh2.c:1336: error: 'ZEND_DEBUG' undeclared here (not in a function)
/root/tmp/ssh2-0.11.0/ssh2.c:1353: error: expected '=', ',', ';', 'asm' or 'attribute' before 'zend_module_entry'
make: * [ssh2.lo] Error 1
Can anyone here?
Thanks!