The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Imagemagick php?

Discussion in 'General Discussion' started by dezomat, Dec 17, 2006.

  1. dezomat

    dezomat Member

    Joined:
    Jul 25, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Hi there,

    i got a little Problem with Imagemagick.
    I need to have Imagemagick enabled in my php. If i look on my phpinfo, i don't see any Information about Imagemagick.

    If i go to WHM install a rpm i get "nothing to do if i try to install Imagemagick.
    Perl installer also the samealready installed.


    How can i compile Imagemagick to work with php ? (got no option in apache update ;(


    if i rpm -qa | grep magick
    nothing ..


    rpm -qa | grep ghost>
    ghostscript-fonts-5.50-13
    ghostscript-gtk-7.07-33
    ghostscript-7.07-33


    Any Idea?
    Thanx in advance

    dezo
     
  2. Techstar

    Techstar Member

    Joined:
    Feb 20, 2010
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kochi, India.
    Following steps will help you to install imagemagick

    /scripts/installimagemagick

    (OR)

    [root@server ~]#cd /usr/src
    [root@server ~]#wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.bz2[root@server ~]#tar -jxvf ImageMagick.tar.bz2
    [root@server ~]#cd Image*
    [root@server ~]#./configure --with-modules --enable-lzw --without-perl[root@server ~]#make
    [root@server ~]#make install
    [root@server ~]#cd Perl*
    [root@server ~]#perl Makefile.PL
    [root@server ~]#make
    [root@server ~]#make install

    Techstar
    (Team of technical experts)
     
  3. asiams

    asiams Well-Known Member

    Joined:
    May 28, 2003
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hokkaido, JAPAN
    PCRE update

    Hello,

    I need to update PCRE from current 4.5 version to current version.

    Here is my setup:

    cPanel 11.25.0-S43473 - WHM 11.25.0 - X 3.9
    CENTOS 4.8 i686 standard

    Can I use the similar way to update?

    Thanks.
     
  4. asiams

    asiams Well-Known Member

    Joined:
    May 28, 2003
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hokkaido, JAPAN
    /scripts/installrpm or /scripts/installrpm2

    Hello,

    When I searched /scripts/ directory, I found installrpm and installrpm2.

    Does this suggest to use this script to install/update rpm?

    Thanks.
     
  5. Techstar

    Techstar Member

    Joined:
    Feb 20, 2010
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kochi, India.
  6. asiams

    asiams Well-Known Member

    Joined:
    May 28, 2003
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hokkaido, JAPAN
    Yum no repository

    Hello Techstar,

    Thank you for the step by step instruction:

    I have no repository on my yum:

    [/usr/src]# yum list | grep pcre
    Error: Bad repository file ///etc/yum.repos.d/CentOS-Base.repo, no repo stanzas.
    pcre.i386 4.5-4.el4_6.6 installed
    pcre-devel.i386 4.5-4.el4_6.6 installed

    When I opened CentOS-Base.repo, it was blank.

    In order to fill this area, what should it contain?

    Any suggestions?

    Thanks
     
  7. ManojB

    ManojB Well-Known Member

    Joined:
    Mar 25, 2005
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    pune
    Hello dezomat,

    It seems you are trying to install imagick php modules. Imagick is a native php extension to create and modify images using the ImageMagick API.

    You can install this using the following steps :

    wget http://pecl.php.net/get/imagick-2.2.2.tgz
    tar xvf imagick-2.2.2.tgz
    cd imagick-2.2.2
    phpize
    ./configure
    make
    make install


    Finally edit your php.ini file and add your imagick extensions into it.
     
Loading...

Share This Page