Not able to install pThread on Windows Xampp(无法在 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)
这篇关于无法在 Windows Xampp 上安装 pThread的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法在 Windows Xampp 上安装 pThread
基础教程推荐
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 如何替换eregi() 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
