在 redhat 上启用 zts - php 上的 pthreads [英] Enable zts on redhat - pthreads on php

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

问题描述

我正在 redhat 上安装 pthreads 库并使用它在 php 中进行线程处理.几个月前,我在其中一台测试服务器上成功安装了它.

I am installing pthreads library on redhat and using it for threading in php. I successfully installed it on one of the testing servers few months ago.

我现在无法安装它

   pecl install pthreads 

需要先启用 zts.我想知道如何启用它,以便我可以继续安装线程库..

needs zts to be enabled first. I want to know how to enable it so that I may move on to the thread library installation..

推荐答案

为了启用 ZTS,我需要下载 php 源代码,必须启用 zts 并且需要使用 gcc 的 make 和 make install 进行编译.

In order to enable ZTS, I need to download the php source code, will have to enable zts and it needs to be compiled using gcc's make and make install.

这篇关于在 redhat 上启用 zts - php 上的 pthreads的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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