Re: Build and load Gmagick in PHP 7.0 on Windows 10, making Apache to stop service

From: Date: Fri, 20 Apr 2018 17:44:21 +0000
Subject: Re: Build and load Gmagick in PHP 7.0 on Windows 10, making Apache to stop service
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-31450@lists.php.net to get a copy of this message
On 20.04.2018 at 08:29, Zom wrote: > I built a gmagick extension for PHP 7.0 (VC14 x64 Thread Safe) on Windows 10. > PHP 7.0 is the only version I use. > > I followed the steps in > https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2and > built the > php_gmagick.dll. Then I copied to the extension folder of php, enabled it in > php.ini, and restarted Apache. I tested the extentsion by checking > phpinfo.php from browser (chrome). It took a long time to load until Apache > stopped service automatically. If I disable gmagick and restart Apache the > phpinfo.php shows normally. > There is no requirement of Graphicsmagick and Gmagick version, so I wonder if > the version I picked might affect the building of extension. > > This is my building environment: > - Windows 10 Pro 64 bit > - Visual C++ 14.0 (Visual Studio 2015) > - PHP SDK downloaded > fromhttps://github.com/OSTC/php-sdk-binary-tools > - PHP source (PHP 7.0 (7.0.29)) downloaded > fromhttps://windows.php.net/ > - PHP dependencies is fetched by calling phpsdk_deps -u > - Gmagick 2.0.4RC1 downloaded fromhttp://pecl.php.net/ > - Graphicsmagick 1.3.27 source downloaded from Graphicsmagick official page > - I invoked phpsdk-vc14-x64.bat during the building process > > Is there anything wrong with the building environment?Where should I look to > troubleshooting? > Any other issues I should pay attention when building Gmagick on Windows? Having a backtrace[1] might be helpful. [1] <https://bugs.php.net/bugs-generating-backtrace-win32.php> -- Christoph M. Becker

« previous php.windows (#31450) next »