Enable zts on redhat - pthreads on php

老子叫甜甜 提交于 2019-12-13 06:53:41

问题


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.

I have not been able to install it now since

   pecl install pthreads 

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..


回答1:


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.



来源:https://stackoverflow.com/questions/28109877/enable-zts-on-redhat-pthreads-on-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!