2

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 ?

user2515339
  • 91
  • 2
  • 2
  • 6

1 Answers1

2

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