【发布时间】:2016-11-06 04:16:16
【问题描述】:
我想在 php 7.0.8 (ZTS) 中使用 pthreads(手动编译和配置) 我在编译 php 时添加了以下配置:
--enable-maintainer-zts \
--enable-pthreads=shared \
--with-tsrm-pthreads \
注意:fpm 正在运行,pid 25546
注意:准备好处理连接
我使用 pecl 添加 pthread 扩展:pecl install pthreads-3.1.6 并将 extension=pthreads.so 添加到我的 php.ini 中。但是重启php7-fpm后,php-fpm没有运行:
注意:完成...
注意:退出,再见!
我有一个 502 nginx 错误。
如何在不退出 php-fpm 的情况下在我的 php.ini 中添加这个扩展?
【问题讨论】:
标签: php nginx pthreads debian php-7