dezomat

Member
Jul 25, 2005
19
0
151
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
 

Techstar

Member
Feb 20, 2010
19
0
51
Kochi, India.
Following steps will help you to install imagemagick

/scripts/installimagemagick

(OR)

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

Techstar
(Team of technical experts)
 

asiams

Well-Known Member
May 28, 2003
89
0
156
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.
 

asiams

Well-Known Member
May 28, 2003
89
0
156
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.
 

asiams

Well-Known Member
May 28, 2003
89
0
156
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
 

ManojB

Well-Known Member
Mar 25, 2005
80
0
156
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.