I have a lot of mathematical calculations in my PHP script, which can be quite slow at times. I\'m wondering if it\'s possible to pass data from PHP to C++, do the calculati
Yes it can be done:
PHP can run commands on the server.
The process is different for both WINDOWS and LINUX systems
For windows check these links
exec Function
link for background processes in windows
For Linux:
system Function
Running a process in background
Well i tried to use this process and succeed a little.
And one more thing you can grab the results too