Zephir在Windows上显示错误:尚未为Windows实现安装 [英] Zephir giving error on windows: Installation is not implemented for windows yet

查看:104
本文介绍了Zephir在Windows上显示错误:尚未为Windows实现安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用 Visual Studio Command Prompt(2010)构建扩展程序时,出现错误:

When i build extension with Visual Studio Command Prompt (2010) it gives error:

无法加载Xdebug-它是通过​​配置构建的

Cannot load Xdebug - it was built with configuration

API220100525,TS,VC9,而正在运行的引擎是API220100525,NTS,VC9

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

开始为PHP编译做准备...

startPreparing for PHP compilation...

正在准备配置文件...

Preparing configuration file...

正在编译...

尚未为Windows实施安装!流产!

Installation is not implemented for windows yet! Aborting!

链接至扩展名+日志文件zip: http://modsolutionz.com/utils.zip

Link to extension+log-files zip: http://modsolutionz.com/utils.zip

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

推荐答案

我是实现Win32支持的人:

As I'm the one who implemented win32 support:

尽管有其他注释,但支持zephir build,但 确实不支持zephir install

Despite the other comments, zephir build is supported but zephir install is indeed not supported!

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

它还提到您只需复制构建的.dll 到您的PHP目录.
(当然,也可以通过将其添加到php.ini中来启用它)

It also mentions that you just have to copy the built .dll to your PHP-directory.
(And of course enable it by adding it to the php.ini)

似乎您正在使用不兼容的XDebug版本.
(它是根据TS的PHP版本构建的,但是您使用的是NTS)

It also seems that you are using an incompatible XDebug Version.
(which was built against a TS version of PHP, but you are using a NTS)

错误消息Installation is not implemented for windows yet! Aborting!没什么可说的,它已经被编译了.

The error message Installation is not implemented for windows yet! Aborting! has nothing to say, it has been compiled at that point.

(zephir构建基本上是一个生成"->编译"->安装",其中只有最后一步失败-这无关紧要,但仍会打印该消息)

(zephir build is basically a "generate" -> "compile" -> "install" where only the last step fails - which is irrelevant, but still prints that message)

TLDR:检查是否已创建dll,然后复制&安装

TLDR: Check if a dll has been created, copy & install it

这篇关于Zephir在Windows上显示错误:尚未为Windows实现安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆