Zephir 在 windows 上给出错误:尚未为 windows 实施安装

Zephir giving error on windows: Installation is not implemented for windows yet

当我使用 Visual Studio 命令提示符 (2010) 构建扩展时,出现错误:

Cannot load Xdebug - it was built with configuration

API220100525,TS,VC9, whereas running engine is API220100525,NTS,VC9

startPreparing for PHP compilation...

Preparing configuration file...

Compiling...

Installation is not implemented for windows yet! Aborting!

Link 到扩展名+日志文件 zip:http://modsolutionz.com/utils.zip

Link 到错误图片:http://modsolutionz.com/error1.png

因为我是实现 win32 支持的人:

尽管有其他评论,zephir build 仍受支持,但 zephir install确实不支持!

(如https://github.com/phalcon/zephir/blob/master/WINDOWS.md所述)

它还提到你只需要复制内置的 .dll 到您的 PHP-目录。
(当然,通过将其添加到 php.ini 来启用它)

您似乎还使用了不兼容的 XDebug 版本。
(它是针对 PHP 的 TS 版本构建的,但您使用的是 NTS)

报错信息Installation is not implemented for windows yet! Aborting!没什么好说的,到时候已经编译好了

(zephir 构建基本上是 "generate" -> "compile" -> "install",其中只有最后一步失败 - 这无关紧要,但仍会打印该消息)

TLDR:检查是否已创建 dll,复制并安装它