Frequent reminders that Apache HTTP Server has stopped working

the server uses Aliyun, and PhpStudy, is installed. Every few hours, the website cannot be accessed, and this error occurs on the server.
but PhpStudy did not report an error to exit, as long as you click "close Program" to end this window, the site will be able to resume access.

I tried the following ways, but none of them solved the problem:

  1. upgrade server memory from 2GB to 4GB;
  2. switch the PHP version to 7.0.12 in PhpStudy;
  3. increase the ThreadsPerChild value in X:phpStudyPHPTutorialApacheconfextrahttpd-mpm.conf to 1500

< IfModule mpm_winnt_module >

ThreadsPerChild      1500
MaxRequestsPerChild    3000   

< / IfModule >

  1. change the query_cache_ size value in X:phpStudyPHPTutorialMySQLmy.ini to 256m

query_cache_size=256M

  1. respectively try to copy the following three files to CVM Windows system 32:

D:phpStudyPHPTutorialMySQLliblibmysql.dll
D:phpStudyPHPTutorialphpphp-5.2.17libmysql.dll
D:phpStudylibmysql.dll

the above methods are all relevant solutions from Google, but none of them can solve this problem. The website will still be inaccessible due to an error in a few hours. What"s going on?

error Log (X:phpStudyPHPTutorialApachelogserror.log) related information:
[Sun Apr 15 1515 br 26v 37.318002 2018] [mpm_winnt:notice] [pid 21256:tid 516] AH00363: Child: Terminating 149 threads that failed to exit.
[Sun Apr 15 1515 strong 26v 37.318980 2018] [mpm_winnt:notice] [pid 21256:tid 516] AH00364: Child: All worker threads have exited.
[Sun Apr 151720v 57.704416 2018] [mpm_winnt] Notice] [pid 20736:tid 508] AH00428: Parent: child process 21256 exited with status 3221225477-- Restarting.
[Sun Apr 15 17 AH00428: Parent: child process 20 exited with status 57.966144 2018] [mpm_winnt:notice] [pid 20736:tid 508] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2j PHP/5.4.45 configured-- resuming normal operations
[Sun Apr 15 17 AH00428: Parent: child process 20 exited with status 57.966144 2018] [mpm_winnt:notice] [pid 20736:tid 508] AH00456: Server Built: Jul 1 2016 16:42:20
[core:notice] [pid 20736:tid 508] AH00094: Command line:"X:\ phpStudy\ PHPTutorial\ Apache\ bin\ httpd.exe-d phpStudyUniver built: Jul built: Jul 57.971046 2018] [mpm_winnt:notice] [pid 20736:tid 508] AH00418: Parent: Created child process 14368
[PHPTutorialAche2057.971046 2018] [pid 20736:tid 508] AH00418: Parent: Created child process 14368
[PHPTutorialAche2059.030613 2018] [mpm_winnt:notice] [pid 14368:tid 516] AH00354: Child: Starting 150 worker threads.
[Sun Apr 15 17 AH00354: Child: Starting 20 worker threads. 59.047219 2018] [mpm_winnt:error] [pid 14368:tid 3188] AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting

there are a large number of
[Fri Apr 20 17 fcgid:error 33 FastCGI process 06.965644 2018] [fcgid:error] [pid 14892:tid 588] FastCGI process 10700 still did not exit, terminating forcefully

the last two lines of error message on the last error:
[Fri Apr 2018: 38 pid 8908:tid 12.859160 2018] [mpm_winnt:notice] [pid 8908:tid 488] AH00363: Child: Terminating 647 threads that failed to exit.
[Fri Apr 2018: 38 pid 8908:tid 12.870901 2018] [mpm_winnt:notice] [pid 8908:tid 488] AH00364: Child: All worker threads have exited.


  1. phpStudy I think the more suitable scenario is the local test environment. I still don't think it's suitable to put it on the server. It doesn't seem to be more reliable than WAMP
  2. .
  3. the easier it looks to be an operator, the bigger the pit will be. For example, phpStudy is stupid, right? The panel is still in Chinese, so it doesn't have a bad temper, does it? And because of the high degree of integration, you are not sure what went wrong. Of course, I admit that this point is biased, but on Aliyun, with the same low configuration, the win system needs 1 GB of memory, and the Linux512 runs, doesn't it?
  4. . Choose Linux, in fact, it is not difficult, first of all, the market equipped with a bunch of images, directly select the image and then run through the basic configuration according to the tutorial, very fast. On the other hand, the win department has a graphical advantage, which is not much easier to match, but counteracts this advantage of graphics.
  5. it seems that this answer doesn't help. Well, then it is recommended that the subject try WAMP, or simply use IIS. I remember it seems that Microsoft has a suite of matrix of its own, right? If you can still find it, you can try it. After all, it's their own.

try to use
phpStudy configured by LAMP or LNMP to do the test environment under windows. It is no problem to put it on the linux server.


CGI application cannot be found. It should be built without installation, resulting in frequent fork and memory exhaustion.


server do you install PHPStudy ?
PHPStudy is the development environment, and the formal environment can be installed with docker or trouble compiling


this. I haven't used this phpstudy online. But there have been similar mistakes when I use them locally. This is due to the large number of your requests or the exhaustion of CPU. The solution is simple: rewrite the code, or change to a high-end environment. Xiaobai opinion, everyone do not spray ha. [runing.]


directly change the server environment to Linux. Then replace Apache with nginx


Hello, phpstudy apache crash problem, add me qq 373018764

Menu