How to install on my webserver?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Daniish

How to install on my webserver?

Post by Daniish »

Hello,

In order to make use of phpthumb() it is recommended to have ImageMagick installed on my webserver. Please can someone explain how this is done?


Many thanks
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: How to install on my webserver?

Post by Bonzo »

Ask your server admin to do it. If it is a Unix/Linux server it could already be installed try:

Code: Select all

<?php
echo "<pre>";
system("type convert"); 
echo "</pre>";
?>
Daniish

Re: How to install on my webserver?

Post by Daniish »

When i run that script:
www.globexposure.net/magik.php

the following is displayed on-screen:
convert is /usr/bin/convert


What does this mean?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: How to install on my webserver?

Post by Bonzo »

That means ImageMagick is installed and that is the path to the convert program.

I have not used phpthumb() but it may ask for the path to Imagemagick so use /usr/bin/convert as that setting.
Post Reply