About the socket backend timeout issue that occurs when a browser calls the background program. the background program processes a webpage that can be written in php in about 2 minutes because the file size is large, how can this problem be solved? If it is a pure php run, it will be okay. you can use a browser and post to call the php background program. this problem will occur. thank you for your advice ~
Reply to discussion (solution)
Paste the code to see if there is no code and no truth
If the code is large, the post method is used to call the php background program, and php accesses the server through socket to obtain data.
If you run the php-only method in the background, it doesn't matter. you can receive it, but the webpage format is used. after a while, the error 500 is returned.
Php. ini execution time setting
You haven't opened the php error prompt.
TimeOut. the cli method has no time limit.
Add in the program
Set_time_limit (0 );
However, if set_time_limit (0) is set, the browser does not exit even if it is not connected ..
Then I don't know what you're asking.
Okay, you know. thank you.