user2515339
user2515339

Reputation: 91

how to enable ZTS on PHP?

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 ?

Upvotes: 2

Views: 13023

Answers (1)

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

Upvotes: 2

Related Questions