Apache starts then Stops due to Imagick extension

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache starts then Stops due to Imagick extension

Postby arpeggioC » 10. January 2013 16:26

Hi All,

I'm hoping someone can help me with this pls.
XAMPP Control Panel v3.0.2
XamPP Version 1.7.7
PHP Version 5.3.8

I just installed ghostscript & imagemagick and all works fine on the Command line.

Then i installed the php_imagick.dll file in the php/ext folder and updated the php.ini file to read:

extension= php_imagick.dll in the Windows Extensions just above extension=php_bz2.dll

with "extension= php_imagick.dll" commented out, Apache starts and stays on.

with "extension= php_imagick.dll" included in the file Apache starts then stops a couple seconds later.

Can anyone help me fault find this problem? Where do i look etc.

in the XAMPP Control Panel v3.0.2 it reads:
Satrting Apache service....
Status change detected: running
Status change detected: stopped

Thank you in advance for anyones help.

with best regards,

arpeggioC
arpeggioC
 
Posts: 10
Joined: 20. February 2012 18:37
Operating System: windows 7 Ultimate

Re: Apache starts then Stops due to Imagick extension

Postby hackattack142 » 10. January 2013 23:48

Hello,

This typically means some combinations of 3 different issues.

1: You have the incorrect DLL for your version/build of PHP.
XAMPP 1.7.7 will require you to have DLLs compiled for PHP 5.3 Thread Safe (TS) 32-bit VC++ 2008 (AKA VC9)

2: You are missing external requirements for that DLL to load.
In this case, I think the only external requirement of this DLL is having ImageMagick installed on your system. Requirements can typically be found on the PHP Manual site: http://php.net/manual/en/imagick.requirements.php

3: You have incompatible external requirements for your version of the DLL.
Since you will need the 32-bit VC9 version of the DLL, you will also need the 32-bit VC9 version of ImageMagick installed on your system. This means you cannot install the latest version of ImageMagick since it is compiled with VC10 and will need to find an older version.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Apache starts then Stops due to Imagick extension

Postby arpeggioC » 11. January 2013 08:04

Thank you very much Hack Attack for your fully comprehensive reply.
excellent and that was exactly the problem! My PHP build is VC9 and so i found the thread safe dll file here: http://valokuva.org/builds/
After renaming to match the file name extension i wrote in the php.ini file & placing in the "ext" folder Apache switches on and most importantly stays on!!
beautiful ! Thank you.
arpeggioC
arpeggioC
 
Posts: 10
Joined: 20. February 2012 18:37
Operating System: windows 7 Ultimate


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 172 guests