i'm using php in apache on CentOS. i'm need to serve users, that they can delete big files by click. trying to use shell_exec. but its not run in the background. it runs and make the user wait.
my command :
$D_command="rm -rf videos/'$Mdelete'";
shell_exec($D_command);
thanks!