2
votes

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

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

know anyone how to install ?

1
Zend Thread Safety info can be found here stackoverflow.com/questions/15782860/… - DevZer0
You need to recompile php with zts enabled. - DevZer0

1 Answers

2
votes

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