As the title says, I'm using shell_exec to call a command on my server but for some reason it's like php is waiting for the command to end when it shouldn't be? When the command is run through a command line it works perfect, but the php page just says
loading?The command I'm calling is a basic "service xxx start" which runs a process in the background.
edit: forgot to mention I have tried using /dev/null 2>&1 & disown. Nothing seems to work.. That's why I was thinking it's a PHP thing?