Nginx + PHP In the course of the implementation of 404 How to Solve

Source: Internet
Author: User
PHP Nginx

Nginx + PHP in the process of running 404 How to solve the problem


Reply to discussion (solution)

Nginx configuration file Inside there is a client_max_body_site=20m and keepalive_timeout=65, do not know with two have any relationship, ask for advice!

Khan 404 can't find the page? Check that your link is pointing correctly.

Khan 404 can't find the page? Check that your link is pointing correctly.
No ah, this problem is actually generated in the process of generating a static file, if I choose to run the build 100 static files will immediately appear 404, choose to run the generation of 20 files, it is possible to appear or may not appear 404, choose to generate 10 files will not appear 404

Do you generate 100 static pages through a loop?

Do you generate 100 static pages through a loop? Yes

Post your code to see if you write a dead loop.

Problem solved, is nginx has a maximum execution time limit, even if using Set_time_limit (0) in the program is useless

  • Related Article

    Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.