如何在PHP上启用ZTS? [英] how to enable ZTS on PHP?

查看:41
本文介绍了如何在PHP上启用ZTS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用(pecl install pthreads-beta)安装pthreads并收到此错误

i try to install pthreads with (pecl install pthreads-beta) and get this error

正在检查ZTS ...配置:错误:pthreads需要ZTS,请在启用ZTS的情况下重新编译PHP

checking checking for ZTS... configure: error: pthreads requires ZTS, please re-compile PHP with ZTS enabled

知道任何人如何安装?

推荐答案

要打开它们,请传递-enable-debug -enable-maintainer-zts 配置选项以及您通常使用的任何选项

To turn them on, pass the --enable-debug and --enable-maintainer-zts options to configure, along with whatever options you typically use

这篇关于如何在PHP上启用ZTS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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