I am building a large php framework. Now we are trying to utilise the all possible cores in each script.
How can be run one script across multiple cores. For example lets say I have two functions on one php file which do hefty processing. How can I run both at the same time on two different processors and then return the results to the script and continue with the rest of the processing.
Are there any other scripts that can be used to create web applications like this…I have tried looking on-line but only solutions I have found were in desktop applications
There is no such multiprocessing method. What you may do is create a main php file and then have a file that does something and then make multiple ajax calls to that to open multiple threads for it. Thats what I do. easy and not too complex to setup