I installed with success on Window 7 Enterprise the following:
httpd-2.4.25-win64-VC14
php-7.1.1-Win32-VC14-x64 (Thread Safe (2017-Jan-18 21:06:35))
php_pthreads-3.1.6-7.0-ts-vc14-x64 from http://windows.php.net/downloads/pecl/releases/pthreads/3.1.6/
The phpinfo page looks well and Thread Safety = enabled.
I followed all instructons on README.md file of php_pthreads-3.1.6-7.0-ts-vc14-x64
package.
However when I'm executing "php -m" I got this error:
PHP Warning: PHP Startup: pthreads: Unable to initialize module
Module compiled with module API=20151012
PHP compiled with module API=20160303
These options need to match
in Unknown on line 0
Warning: PHP Startup: pthreads: Unable to initialize module
Module compiled with module API=20151012
PHP compiled with module API=20160303
These options need to match
in Unknown on line 0
[PHP Modules]
bcmath
calendar
Core
ctype
date
... I have used threads before with PHP 5.4.33 but I decided to upgrade to PHP7 to have support for tlsv1.1 and tlsv1.2