|All requests||>||Need to run multithreaded scripts in PHP||>||Request new recommendation||>||Featured requests||>||No recommendations|
by viswa reddy - 8 years ago (2014-11-12)
I am using a Windows 64 bits system.
Am trying to install the pthread extension but without success.
How can I run multithreaded scripts without install pthread extension? Please help me out.
In that case you can use a solution that emulates threads by sending HTTP requests to the same Web server.
The script receiving the HTTP request will call the code you want to run in a separate "thread". It also returns any results to the calling script.
You can run many emulated threads like this as your server memory permits, so do not exaggerate creating too many parallel threads.
It is not fastest solution but given your constraints, it will work well.