无法在 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:
我的PHP版本信息:5.4.7 VC9 x86
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)
相关文章