Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/232.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Laravel 4:@include导致Apache(httpd.exe)崩溃(在Windows上)_Php_Apache_Laravel - Fatal编程技术网

Php Laravel 4:@include导致Apache(httpd.exe)崩溃(在Windows上)

Php Laravel 4:@include导致Apache(httpd.exe)崩溃(在Windows上),php,apache,laravel,Php,Apache,Laravel,正如标题所说,有一个特定的@include(),它在执行时会导致Apache崩溃 这是被指控的代码,位于profile.php: <hr> @include('sections/userInformations', array('userOwner' => $profileUser, 'userVisitor' => $user)) <hr> public function getProfile($username) { return Vi

正如标题所说,有一个特定的
@include()
,它在执行时会导致Apache崩溃

这是被指控的代码,位于
profile.php

<hr>
    @include('sections/userInformations', array('userOwner' => $profileUser, 'userVisitor' => $user))
<hr>
public function getProfile($username) {

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

[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:\\xampp\\apache\\bin\\httpd.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:\\xampp\\apache\\bin\\httpd.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\u错误\u日志
为空


实际上有两个后续崩溃…

您的实际错误是
[mpm_winnt:注意][pid 2536:tid 324]AH00428:父进程:子进程2904退出,状态为322225725--重新启动。

尝试搜索退出状态为3221225725的

这似乎是windows上的一个问题, 尝试在apache配置文件的末尾添加以下内容:
httpd.conf

<IfModule mpm_winnt_module>
   ThreadStackSize 8388608
</IfModule>

螺纹尺寸8388608

然后重新启动apache。

尝试以下操作:

httpd.conf:

<IfModule mpm_winnt_module>
    ThreadStackSize 8888888
</IfModule>

螺纹尺寸88888

apache错误日志中有任何内容吗?哦,是的,等一下,我会进行编辑…我刚刚找到了解决方案,然后在该博客上准确阅读了您的答案。接得好:)很高兴我能帮忙!:)