how to enable ZTS on PHP?
11,817
To turn them on, pass the --enable-debug
and --enable-maintainer-zts
options to configure, along with whatever options you typically use
Author by
user2515339
Updated on June 13, 2022Comments
-
user2515339 almost 2 years
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 almost 11 yearsIf '--enable-debug' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf --enable-debug
-
Panwen Wang over 8 years@DanyalSandeelo, you have to download the php source and compile it yourself.