|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-11-22 16:06 UTC] stas at zend dot com
Description: ------------ The package does not have config.w32 so it is not possible to build this extension on Windows. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 18:00:01 2025 UTC |
You can add the following content for config.w32 : // $Id$ // vim:ft=javascript ARG_WITH("ssh2", "SSH2 support", "no"); if (PHP_SSH2 != "no") { if ((CHECK_LIB("libssh2_a.lib;libssh2.lib", "ssh2", PHP_SSH2) && CHECK_HEADER_ADD_INCLUDE("libssh2.h", "CFLAGS_SSH2", PHP_PHP_BUILD + "\\include\\libssh2"))) { AC_DEFINE('HAVE_SSH2LIB', 1); AC_DEFINE('PHP_SSH2_REMOTE_FORWARDING', 1); AC_DEFINE('PHP_SSH2_HOSTBASED_AUTH', 1); AC_DEFINE('PHP_SSH2_POLL', 1); AC_DEFINE('PHP_SSH2_PUBLICKEY_SUBSYSTEM', 1); EXTENSION("ssh2", "ssh2.c ssh2_fopen_wrappers.c ssh2_sftp.c"); } else { WARNING("ssh2 not enabled: libraries or headers not found"); } } I successfully built on Windows 2008 32 bits version