【发布时间】:2020-01-05 15:54:42
【问题描述】:
我想安装 pthreads。当我尝试安装时,我会收到此错误:
checking for ZTS... no
configure: error: pthreads requires ZTS, please re-compile PHP with ZTS enabled
现在,我如何安装启用了 Zts 的 Php?
【问题讨论】:
-
“请在启用 ZTS 的情况下重新编译 PHP”——您需要 build from source with
--enable-maintainer-zts,或者找到以这种方式构建的预编译版本。 -
这能回答你的问题吗? Enable ZTS on PHP without compiling
-
@Chris 我想启用 ZTS 以安装 pthread。但我不知道该怎么做。你能发送一个在 PHP 7.2 上安装 pthreads 的命令列表吗?
-
我在上一条评论中提供的链接有什么问题?
-
所以现在我需要卸载 PHP 和什么?