exec("sh /var/www/html/1.sh"." > /dev/null &"); 可以保证不阻塞,为了方便大家搜索,多加一些关键字 php,exec,阻塞,exec,system,shell_exec