How can one use multi threading in PHP applications ? |
If you're on linux, I think you're looking for something like this:
https://github.com/diversen/background-job Through PHP's exec function, you're able to run a bash command, which could run anything that the www-data user would be able to run. I think the concept is that you would set up some sort of listener to determine when the process has finished. |
Messages In This Thread |
How can one use multi threading in PHP applications ? - by makeshaun - 01-26-2017, 03:17 AM
RE: How can one use multi threading in PHP applications ? - by Narf - 01-26-2017, 04:46 AM
RE: How can one use multi threading in PHP applications ? - by skunkbad - 02-12-2017, 10:04 AM
RE: How can one use multi threading in PHP applications ? - by ignitedcms - 02-12-2017, 02:41 PM
RE: How can one use multi threading in PHP applications ? - by skunkbad - 02-12-2017, 03:35 PM
RE: How can one use multi threading in PHP applications ? - by ignitedcms - 02-12-2017, 04:41 PM
RE: How can one use multi threading in PHP applications ? - by skunkbad - 02-12-2017, 05:45 PM
|