I'm trying to process a file in the background with the following command, but it does nothing.
exec("php csv.php $file $user > /dev/null &", $output);
If I remove > /dev/null &
then the file processes, but not in the background.
exec("php csv.php $file $user", $output);
Any ideas?