【发布时间】:2011-05-03 09:43:56
【问题描述】:
可能重复:
Call another PHP script and return control to user before the other script completes
你好,
我在 php 中执行这个命令:
exec('php /path/to/script.php one_argument_passed &");
但它不是在后台执行它。我需要在 php 中进行设置或其他操作才能使其正常工作吗?
【问题讨论】:
-
您可能会发现这很有用:stackoverflow.com/questions/5103528