osx - please re-compile PHP with ZTS enabled Mac OS X -


i trying install pthreads on mac os x. when execute:

sudo pecl install pthreads 

i error:

checking checking zts... configure: error: pthreads requires zts, please re-compile php zts enabled error: `/private/tmp/pear/temp/pthreads/configure' failed

so question how recompile php zts enabled os x?

i suggest don't recompile os x native php. instead build , install new thread-safe version different location.

if use homebrew should install -with-thread-safety option.

if prefer build manually add --enable-maintainer-zts option configure script.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -