I would like use pthreads with php 7.0.8 (ZTS) (Manually compiled and configured) I have add the followinG configuration during compiling of php :
--enable-maintainer-zts \
--enable-pthreads=shared \
--with-tsrm-pthreads \
NOTICE: fpm is running, pid 25546
NOTICE: ready to handle connections
I add pthread extension with pecl : pecl install pthreads-3.1.6
and I add extension=pthreads.so into my php.ini. But after restarting php7-fpm, php-fpm not running :
NOTICE: Finishing ...
NOTICE: exiting, bye-bye!
I have a 502 nginx error.
How I can add this extension in my php.ini without exit php-fpm ?