Php Apache start无法运行pthreads扩展

Php Apache start无法运行pthreads扩展,php,pthreads,Php,Pthreads,我尝试在php.ini中包含pthreads,如下所示: extension=ext/php_pthreads.dll 但是,当我启动apache时,它会提示消息,我检查了PHP配置,它是5.5.10 并启用线程安全。看起来PHP是线程安全的。我需要用--enable zts config重新编译PHP吗 错误消息是: PHP Startup: pthreads: Unable to initialize module. Module compiled with module API=

我尝试在php.ini中包含pthreads,如下所示:

  extension=ext/php_pthreads.dll
但是,当我启动apache时,它会提示消息,我检查了PHP配置,它是5.5.10 并启用线程安全。看起来PHP是线程安全的。我需要用--enable zts config重新编译PHP吗

错误消息是:

PHP Startup: 
pthreads: Unable to initialize module. 
Module compiled with module API=20131226 . 
PHP compiled with module API=20121212. 
These options need to match. 

请检查xampp扩展目录中是否存在php_pthreads.dll

如果它不存在,请下载并粘贴到那里,然后重新启动xampp


你的问题必须解决

您可能需要降级
php_pthreads.dll
以匹配您正在使用的php模块的版本,dll的签名指向版本5.6,而php的签名似乎是5.5。您可能希望检查此答案()以了解签名到版本的详细映射。从错误消息中可以明显看出,这不是缺少文件的问题,而是相关组件的版本不匹配的问题。