php Apache 报500

想执行一个脚本。相对比较长时间。但到7分钟左右就报500了;
以下是error.log文件打印出来的。
已经在httpd.conf加上
<IfModule mpm_winnt_module>

ThreadStackSize 8888888

</IfModule>
网上搜的办法没法解决

[Fri Dec 14 17:45:56.047810 2018] [mpm_winnt:crit] [pid 14040:tid 692] AH02538: Child: Parent process exited abruptly. Child process is ending
[Fri Dec 14 17:46:00.115917 2018] [core:warn] [pid 17840:tid 788] AH00098: pid file D:/phpstudy/PHPTutorial/Apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 17:46:00.228614 2018] [mpm_winnt:notice] [pid 17840:tid 788] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2j mod_fcgid/2.3.9 configured -- resuming normal operations
[Fri Dec 14 17:46:00.228614 2018] [mpm_winnt:notice] [pid 17840:tid 788] AH00456: Server built: Jul  1 2016 16:42:20
[Fri Dec 14 17:46:00.228614 2018] [core:notice] [pid 17840:tid 788] AH00094: Command line: 'D:\\phpstudy\\PHPTutorial\\Apache\\bin\\httpd.exe -d D:/phpstudy/PHPTutorial/Apache'
[Fri Dec 14 17:46:00.295041 2018] [mpm_winnt:notice] [pid 17840:tid 788] AH00418: Parent: Created child process 16448
[Fri Dec 14 17:46:01.364642 2018] [mpm_winnt:notice] [pid 16448:tid 756] AH00354: Child: Starting 150 worker threads.
一只萌萌小番薯
浏览 426回答 3
3回答

芜湖不芜

你的php版本 和 是线程版本?

一只名叫tom的猫

修改module后重启apache了吗,另外检查一下代码变量有没有正常销毁。以及设置大一点的内存空间:ini_set('memory_limit','1024M');
打开App,查看更多内容
随时随地看视频慕课网APP