PHP asynchronous execution problem when PHP executes the exec () method, it will wait until the exec method is fully executed before continuing to execute other code while exec () will be executed for a long time, in this way, the page will remain in the waiting status and refresh after exec is executed. Is there any way to make exec run in the background, make the page do not have to wait for e PHP asynchronous execution
When PHP executes the exec () method, it will wait until the exec method is fully executed before continuing to execute other code.
While exec () will be executed for a long time, so that the page will remain in the waiting state,
Refresh after exec is executed,
So is there any way to make exec run in the background, so that the page does not have to be refreshed after exec is executed? Share: More
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service