无法在 Windows Xampp 上安装 pThread [英] Not able to install pThread on Windows Xampp

查看:26
本文介绍了无法在 Windows Xampp 上安装 pThread的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新:看起来我在这里没有做错任何事情.当我执行一个线程示例时,它工作正常.我不确定,那为什么我在启动 Apache 时会出现这些错误.

Update: Looks like I am not doing anything wrong here. When I execute a thread example, it works fine. I am not sure, then why am I getting those errors when I start Apache.

有什么想法吗?

我正在尝试在 Xampp (Windows 7) 上安装 pThread,如下所示:

I am trying to install pThread on Xampp (Windows 7) as follows:

  1. 我的PHP版本信息:5.4.7 VC9 x86

  1. My PHP version information: 5.4.7 VC9 x86

我已经下载了php_pthreads-0.0.45-5.4-ts-vc9-x86.zip

重新启动 Apache 服务器并收到以下错误:

Restarted Apache server and received following error:

关于为什么这不起作用的任何建议?

Any suggestions on why this is not working?

推荐答案

我没用Windows,但是按照说明书里的人说的,你还要补充:

I do not use Windows, but according to the people commenting in the manual, you must also add:

LoadFile "C:/xampp/php/pthreadVC2.dll"

到您的 httpd.conf(手册中提到的 httpd-xampp.conf)

to your httpd.conf (httpd-xampp.conf the manual mentions)

这篇关于无法在 Windows Xampp 上安装 pThread的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆