|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2017-06-02 21:50 UTC] rpesta at gmail dot com
Description:
------------
When running the script below, Chrome shows a "Connection Reset" error.
Using:
-Apache 2.4.18
-PHP 7.0.19 x64 TS
-ImageMagick 6.9.3-7 VC14 x64
-Imagick DLL v3.4.3
The PHP error log shows the following:
[Fri Jun 02 16:43:13.193142 2017] [mpm_winnt:notice] [pid 9228:tid 496] AH00354: Child: Starting 150 worker threads.
[Fri Jun 02 16:43:18.130842 2017] [mpm_winnt:notice] [pid 5176:tid 552] AH00428: Parent: child process 9228 exited with status 3221226505 -- Restarting.
[Fri Jun 02 16:43:18.177721 2017] [mpm_winnt:notice] [pid 5176:tid 552] AH00455: Apache/2.4.18 (Win64) PHP/7.0.19 configured -- resuming normal operations
[Fri Jun 02 16:43:18.177721 2017] [mpm_winnt:notice] [pid 5176:tid 552] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 11:13:29
[Fri Jun 02 16:43:18.177721 2017] [core:notice] [pid 5176:tid 552] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Fri Jun 02 16:43:18.177721 2017] [mpm_winnt:notice] [pid 5176:tid 552] AH00418: Parent: Created child process 10552
[Fri Jun 02 16:43:18.537110 2017] [mpm_winnt:notice] [pid 10552:tid 492] AH00354: Child: Starting 150 worker threads.
Test script:
---------------
<?php
$image = new Imagick("test.png");
$image->clear();
?>
Expected result:
----------------
Image to be loaded in the variable.
Actual result:
--------------
It appears the script crashes. Page shows: "Connection Reset" general error instead.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 21:00:01 2025 UTC |
image magick seems to be problematic in windows, adding this seemed to help though imagick.c line 3782 PHP_MSHUTDOWN_FUNCTION(imagick) { Sleep(100); // <------adding delay, must be some race condition MagickWandTerminus();