I tried to include pthreads in php.ini as follows:
extension=ext/php_pthreads.dll
However, it prompts the message when I start apache, I checked the PHP config, it is 5.5.10 and thread safety is enabled. Seems the PHP is alreadt Thread Safe. Do I need to recompile the PHP with --enable-zts config?
The error message is:
PHP Startup:
pthreads: Unable to initialize module.
Module compiled with module API=20131226 .
PHP compiled with module API=20121212.
These options need to match.
php_pthreads.dllto match the version of the php module you are using, The DLL's signature points to being version 5.6, where as php's signature seems to be 5.5. You might like to check this answer (stackoverflow.com/a/22139183/694576) for a quiet detailed mapping of signatures to versions. - alk