PHP 网页关闭后台继续执行

            set_time_limit(0);
            ignore_user_abort(true);

参考:

https://bbs.csdn.net/topics/90501640

https://www.oschina.net/question/105076_56097