Page 1 of 1

How to install on my webserver?

Posted: 2008-11-10T07:26:16-07:00
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

Re: How to install on my webserver?

Posted: 2008-11-10T08:35:49-07:00
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>";
?>

Re: How to install on my webserver?

Posted: 2008-11-21T08:06:31-07:00
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?

Re: How to install on my webserver?

Posted: 2008-11-21T08:24:56-07:00
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.