A 500 error occurs when the apache access volume is too large.

Source: Internet
Author: User
Tags php error php error log
A 500 error occurs when a large amount of data is accessed. The phpstudy integrated environment is used and the maximum execution time of the script set is correct. How can this 500 error be solved? How can this problem be solved?


A 500 error occurs when a large amount of data is accessed. The phpstudy integrated environment is used and the maximum execution time of the script set is correct. How can this 500 error be solved? How can this problem be solved?

Reply content:


A 500 error occurs when a large amount of data is accessed. The phpstudy integrated environment is used and the maximum execution time of the script set is correct. How can this 500 error be solved? How can this problem be solved?

Due to a large number of concurrencies, it is normal to have a 500 error because your server has reached the upper limit.
SetMaximum execution timeIt does not matter.
Solution
0. Optimize the running speed and cache.
1. Add machines horizontally
2. Vertical upgrade of standalone Configuration

1. It is not recommended that php run in the win environment and switch to the linux environment.
2. Check your php error log for your problem.

The performance of iis in windows is much higher than that of 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.