Apache traffic is too large to cause 500 errors

Source: Internet
Author: User
Keywords Php
Tags php error log


Due to the 500 error in accessing a large amount of data, using the Phpstudy integrated environment, the maximum execution time of the set script is no problem, how to solve this 500 error? Ask the Great God for answers

Reply content:


Due to the 500 error in accessing a large amount of data, using the Phpstudy integrated environment, the maximum execution time of the set script is no problem, how to solve this 500 error? Ask the Great God for answers

Because of the large number of concurrency, it is normal to have a 500 error because your server has reached the upper limit of concurrency.
It doesn't matter if you set it up 最大执行时间 .
Solve
0, optimize the speed of operation, plus cache and so on.
1, horizontal, add machine
2, vertical, improve the configuration of single-machine

1. PHP is not recommended to run in the win environment, switch to the Linux environment
2. Your question, check your PHP error log can be

Windows uses IIS to perform a much higher performance than Apache

  • 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.