How create threads with php in a VPS Ubuntu12.04?

June 20, 2014 2.3k views
I want to create a api call(SOAP) and i need threads to do it faster. How can i create a script with multiple threads in php? thanks
2 Answers
PHP has no multi-threaded or concurrency support.
@bphelpsen is mostly correct. ^^ This will allow you to manage processes, thereby allowing you to fork off a process. Not the same a threading, but a well-coded script could fork off other workers and have them working at the same time.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!