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