我正在尝试使用 SWIG 在 Windows 上构建 PHP 扩展。生成的 .c 文件需要 zend_config.h 来构建。所以我已经下载php-devel-pack-7.4.6-nts-Win32-vc15-x64并尝试配置它以获取标题
C:\Users\Vadim\php-devel>phpize
Rebuilding configure.js
C:\Users\Vadim\php-devel
Now run 'configure --help'
C:\Users\Vadim\php-devel>configure
Must be run from the root of the extension source
我已经从源代码构建了 PHP,但仍然没有 zend_config.h。但在 linux 上,它会在配置后立即出现。我怎样才能进入Windows?