does php support running commands in the background?
I need to call a program that takes about 5 minutes to run from a php page. I am calling it like this:
/usr/local/bin/php $convert > /dev/null
and the page takes 5 minutes to load.
but when I call it with
/usr/local/bin/php $convert > /dev/null &
it doesn't do anything at all.
I would like the process to run in the background, and have the page load right away.
Is there anyway to do this?
thanks