加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

php – Laravel 4:@include导致Apache(httpd.exe)崩溃(在Window

发布时间:2020-12-14 19:36:16 所属栏目:大数据 来源:网络整理
导读:正如标题所说,有一个@include()导致Apache在执行时崩溃. 这是有罪的代码,位于profile.php中: hr @include('sections/userInformations',array('userOwner' = $profileUser,'userVisitor' = $user))hr $profileUser和$user来自PagesController.php: public
正如标题所说,有一个@include()导致Apache在执行时崩溃.

这是有罪的代码,位于profile.php中:

<hr>
    @include('sections/userInformations',array('userOwner' => $profileUser,'userVisitor' => $user))
<hr>

$profileUser和$user来自PagesController.php:

public function getProfile($username) {

    return View::make('profile',array(
        'privacy' => Privacy::where('user','=',$username)->first(),'profileUser' => User::where('username','user' => Auth::user()
    ));
}

Apache error.log:

[Thu Apr 17 18:17:30.840838 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00428: Parent: child process 1716 exited with status 3221225725 -- Restarting.
[Thu Apr 17 18:17:31.146862 2014] [ssl:warn] [pid 2536:tid 324] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:31.183859 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 configured -- resuming normal operations
[Thu Apr 17 18:17:31.184859 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Thu Apr 17 18:17:31.184859 2014] [core:notice] [pid 2536:tid 324] AH00094: Command line: 'c:xamppapachebinhttpd.exe -d C:/xampp/apache'
[Thu Apr 17 18:17:31.185859 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00418: Parent: Created child process 2904
[Thu Apr 17 18:17:31.627883 2014] [ssl:warn] [pid 2904:tid 396] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:31.781898 2014] [ssl:warn] [pid 2904:tid 396] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:31.819900 2014] [mpm_winnt:notice] [pid 2904:tid 396] AH00354: Child: Starting 150 worker threads.
[Thu Apr 17 18:17:33.170971 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00428: Parent: child process 2904 exited with status 3221225725 -- Restarting.
[Thu Apr 17 18:17:33.482989 2014] [ssl:warn] [pid 2536:tid 324] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:33.520991 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 configured -- resuming normal operations
[Thu Apr 17 18:17:33.520991 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Thu Apr 17 18:17:33.520991 2014] [core:notice] [pid 2536:tid 324] AH00094: Command line: 'c:xamppapachebinhttpd.exe -d C:/xampp/apache'
[Thu Apr 17 18:17:33.522991 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00418: Parent: Created child process 2064
[Thu Apr 17 18:17:33.966015 2014] [ssl:warn] [pid 2064:tid 392] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:34.120025 2014] [ssl:warn] [pid 2064:tid 392] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:34.159026 2014] [mpm_winnt:notice] [pid 2064:tid 392] AH00354: Child: Starting 150 worker threads.

PHP_ERROR_LOG为空.

实际上有两次随之而来的崩溃……

解决方法

给出以下内容:

http://blog.codexpedia.com/apache-server/parent-child-process-exited-with-status-3221225725-restarting-on-xamp-apache/

httpd.conf中:

<IfModule mpm_winnt_module>
    ThreadStackSize 8888888
</IfModule>

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读