pthreads requires a build of PHP with ZTS (Zend Thread Safety) enabled ( --enable-maintainer-zts or --enable-zts on Windows )


Zend Thread Safety cannot be enabled post build; it is a build time configuration option.

pthreads should build anywhere there is a working Posix Threads header (pthread.h) and ZTS build of PHP, including Windows (using the pthread-w32 project from redhat).

add a note add a note

User Contributed Notes 1 note

ross dot johsnon at loungebythelake dot net
2 years ago
The pthreads-win32 project hosted by Redhat is now known as the pthreads4w project hosted on SourceForge.
To Top