Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jul 2005
    Posts
    19

    Default Imagemagick php?

    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. #2
    Member
    Join Date
    Feb 2010
    Location
    Kochi, India.
    Posts
    19

    Default

    Following steps will help you to install imagemagick

    /scripts/installimagemagick

    (OR)

    [root@server ~]#cd /usr/src
    [root@server ~]#wget ftp://ftp.imagemagick.org/pub/ImageM...Magick.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. #3
    Member
    Join Date
    May 2003
    Location
    Hokkaido, JAPAN
    Posts
    91

    Default 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. #4
    Member
    Join Date
    May 2003
    Location
    Hokkaido, JAPAN
    Posts
    91

    Default /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. #5
    Member
    Join Date
    Feb 2010
    Location
    Kochi, India.
    Posts
    19

    Default

    I think it's better to install the pcre via yum. Following steps will help you to do this.

    ======================
    Update yum repository
    ---------------------
    rpm -Uvh http://mirror.centos.org/centos-4/4/...tos.noarch.rpm

    yum -y update

    List pcre package
    ----------------
    Yum list | grep pcre

    Install pcre
    -----------
    yum install pcre-*********

    ======================

    Regards,
    Team techstar.

  6. #6
    Member
    Join Date
    May 2003
    Location
    Hokkaido, JAPAN
    Posts
    91

    Thumbs up 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. #7
    Member ManojB's Avatar
    Join Date
    Mar 2005
    Location
    pune
    Posts
    80

    Default

    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.
    Regards,
    ManojB.

Similar Threads & Tags
Similar threads

  1. Imagemagick and PHP
    By Mat-d-rat in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 04-12-2010, 06:22 PM
  2. Cpanel, ImageMagick & PHP
    By Angel78 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-16-2009, 12:32 PM
  3. imagemagick API for php
    By firexit in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-26-2004, 02:17 PM
  4. imagemagick & php
    By cmsscrui in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-06-2004, 06:45 PM
  5. imagemagick help
    By Mutt2 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 04-10-2003, 04:19 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube