如何在 wamp 上重新编译 php 模块

How to recompile php modules on wamp

我收到一些 PHP 错误,指出无法初始化模块(在本例中为 pthreads),因为该模块是使用与 API (20131226) 不同的模块编译的 [=17] =] 使用模块 API (20121212) 编译,选项需要匹配。

在 Linux 我可以去使用 phpize、./configure 和 make 来重新编译一个模块。

如何在我使用 wamp 的 windows 上执行此操作?

WAMPServer默认没有pthread dll,所以你下载错了版本。

下载一个用VC11而不是VC12编译的。

Try downloading from here