Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I really need to get imagemagick working on my windows xampp installation, I havent been able to find any good tutorials on how to do it though, can anyone help?

share|improve this question

3 Answers 3

up vote 0 down vote accepted

Normally your web script needs to know wher to find the ImageMagick executables. You can try just adding that path to the PATH environment variable for the user running Apache. Better yet, and this is more common, the web app will normally have some form of config file which needs to have the path to the executables entered in.

share|improve this answer

Assuming you have this part done:

1) Download and install XAMPP

2) Download and install ImageMagick.

Confirm its working:

1) Start XAMPP

2) Run this code in your browser to prove ImageMagick is installed (and working).

header("Content-Type: text/plain"); 
system("convert -version"); 

3) If the above works then you should be able to run code like this (in your browser):

exec("convert infile.jpg -thumbnail 100x100 outfile.jpg");
share|improve this answer

Does XAMPP come with ActiveState Perl or Strawberry Perl or some other??

XAMPP may not come with ImageMagick installed by default, which is highly likely, I would just run the Perl updater tool for XAMPP to get the ImageMagick package and compile it into your environment. I don't know much about XAMPP and so this advice only gives you a little milage on your answer.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.