How to solve the 404 problem during nginx + php execution
Nginx + php is running 404. how can this problem be solved?
Reply to discussion (solution)
In the nginx configuration file, there is a client_max_body_site = 20 m and keepalive_timeout = 65. I don't know if there is any relationship with the two. please advise!
Why can't I find the page in Khan 404? Check whether your link is correct.
Why can't I find the page in Khan 404? Check whether your link is correct.
No, this problem actually occurs during the process of generating static files. if I choose to generate 100 static files at a time, 404 will appear immediately, and 20 files will be generated at a time, it may or may not cause 404. if you select to generate 10 files at a time, the 404 error will not occur.
Do you generate 100 static pages through loops?
Do you generate 100 static pages through loops? Yes
Paste your code and see if it is an endless loop.
After the problem is solved, nginx has a maximum execution time limit, which is useless even if set_time_limit (0) is used in the program.