简体   繁体   English

Windows中使用Wamp Server的PHP中的多线程

[英]Multithreading in PHP in Windows using Wamp Server

I am running my php application on Wamp server windows. 我在Wamp服务器Windows上运行我的php应用程序。 I want my php application to call a webservice(defined by me) in background, ie without making the application to get into waiting state. 我希望我的php应用程序在后台调用webservice(由我定义),即不使应用程序进入等待状态。

For me the solution seems to be multithreading. 对我来说,解决方案似乎是多线程。 But so far no solution for php in windows using wamp server is found out. 但是到目前为止,尚未找到使用wamp服务器的Windows中php的解决方案。

Please , Can Anyone Help?? 请,有人可以帮忙吗? I have been struck with this problem for last 2 weeks. 最近两个星期,我一直被这个问题困扰。 Please Help???? 请帮忙????

It is notable that solution for multithreading/alternative in php is required for Windows Wamp-Server.. 值得注意的是,Windows Wamp-Server需要使用php中的多线程/替代解决方案。

Thanks 谢谢

Here's your solution for multithreading with PHP. 这是使用PHP多线程的解决方案。

More details on the class: http://es1.php.net/manual/en/class.thread.php 有关该类的更多详细信息: http : //es1.php.net/manual/en/class.thread.php

Download (also for Windows, read the README). 下载(也适用于Windows,请阅读自述文件)。 https://github.com/krakjoe/pthreads (download, also for Windows) https://github.com/krakjoe/pthreads (下载,也适用于Windows)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM