Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    2

    Default imagemagick help

    I used easy apache to install GD and it worked perfectly.
    I used cpanel to install imagemagick it it says that it installed. When I check my php info I can see that it's been compiled with "-with GD" but it doens't include "-with imagick"

    what else do I have to do to get imagemaigick working in php?

    Thanks in advance

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    26

    Default

    Yeah, I had the same problem and would like to know this. It also says that netpbm is allready installed. But I can't find it.

  3. #3
    Member
    Join Date
    Oct 2001
    Posts
    651

    Default

    You will won't see --with-imagemagick on your phpinfo as imagemagick does not get compiled into php. It is a standalone binary that you can call from within php script.
    Marty Hoskins
    TLC Web Enterprises

  4. #4
    Member
    Join Date
    Mar 2003
    Posts
    26

    Default

    Great. what's the path? whereis imagemagick turns up nothing.

  5. #5
    Member
    Join Date
    Oct 2002
    Posts
    61

    Default

    imagemagick has a lot of various binaries that all do different things. Like the software PhotoPost uses the binary "mogrify" from the imagemagick install. Typically these are located in /usr/X11R6/bin/

    type:

    locate mogrify

    and "locate convert"

    Those are two of the IM binaries commonly used, so that should point you to the right path.

  6. #6
    Member
    Join Date
    Mar 2003
    Location
    Sothern California, USA
    Posts
    11

    Default

    Did you do this thru the RPM install in WHM?

    Cause when I did both they never showed up. I couldn't even find them on the server, even after a reboot.

    I ended up installing imagemagick by hand, seemed the best way.

  7. #7
    Registered User
    Join Date
    Apr 2003
    Posts
    2

    Default

    I tried using the imagemagick fxns in a php script and I get an unknown function error. I checked the imagemagick site, and it said that you have to recompile php with the - with imagik . I didn't want to even attempt it since cpanel was handling the install.

    I tried running imagick_readimage

    do I have to require a file? is there any info here about using imagemagick on a cpanel server?

    It is installed though. I did the locate mogify and got

    /usr/share/doc/ImageMagick-5.4.7/www/mogrify.h
    /usr/X11R6/bin/mogrify
    /usr/X11R6/man/man1/mogrify.1.gz
    /usr/X11R6/share/ImageMagick/www/mogrify.html

    this dir is full of files I'd like to check out
    /usr/X11R6/share/ImageMagick/www/
    how do I bring it up in a browsrer? I'm there in SSH right now but not sure how to view them.

    Last edited by Mutt2; 04-09-2003 at 08:37 PM.

  8. #8
    Member
    Join Date
    Aug 2002
    Location
    Huntington Beach, Ca
    Posts
    232

    Default

    If you wanted to view the contents of the cd.html file in that folder via SSH type cat cd.html the same for any other file.

  9. #9
    Member
    Join Date
    Dec 2001
    Posts
    67

    Default

    Incorrect information - imagick CAN be compiled into PHP - it might be in PEAR's PECL section, but it still needs to be specified at compile time.

    Download the latest imagick from PEAR's website (http://pear.php.net), follow the installation instructions. If you have problems, check the PEAR-users Maillist, there's a few solutions to common problems covered in there.
    Fire extinguisher extraordinare
    -------------------------------
    Brandon
    FastServers.Net NOC Admin

Similar Threads & Tags
Similar threads

  1. Imagemagick
    By ryan-h in forum New User Questions
    Replies: 4
    Last Post: 08-29-2008, 01:13 AM
  2. ImageMagick Help
    By adapter in forum cPanel and WHM Discussions
    Replies: 18
    Last Post: 09-14-2005, 11:48 PM
  3. ImageMagick
    By thehostinghut in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-13-2005, 04:41 PM
  4. ImageMagick
    By salvatore333 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-29-2004, 01:51 PM
  5. ImageMagick 5.5.4!
    By sexy_guy in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 05-07-2003, 11:44 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube