0

someone knows if is there a way to use php multi thread on php 5.6, if yes where can i found a tutorial step by step to do it?

I need some solution for multi thread, currently i'm using multi curl to do it, but i think it's not right way to do it, using curl to access script on same server.

Thanks in advanced.

Awsj2hd8
  • 19
  • 7
  • Love when I am typing out an answer and then the question is closed. – Alex Barker Jul 01 '16 at 17:55
  • i don't think it's duplicated ... i'm asking about php 5.6 ... not php 5.7. – Awsj2hd8 Jul 01 '16 at 18:30
  • I am not going to retype out my diatribe, but the basic idea is there is a built in pthreads library in PHP and you probably want to use Gearman and not threads. http://php.net/manual/en/book.gearman.php – Alex Barker Jul 01 '16 at 20:54

0 Answers0