Go Back   Website Hosting - VPS Hosting - Domain Registration Ireland :: Blacknight > Technical Support > VPS Hosting

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-09, 09:29 AM
Junior Member
 
Join Date: May 2009
Location: .de
Posts: 10
Default ImageMagick and PHP install

Hi,

I installed ImageMagick successfully via yum
Quote:
yum install ImageMagick
and that was fine.

To see if it was installed i ran
Quote:
root@vps# which convert
/usr/bin/convert
Version: ImageMagick 6.2.8 04/17/08 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Now I am wondering what to do as in my PHP Info output ImageMagick is not showing up as installed.

I am running CentOS VPS.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-07-09, 09:42 AM
blacknight's Avatar
Administrator
Site Admin
 
Join Date: Aug 2003
Location: Ireland
Posts: 612
Send a message via ICQ to blacknight
Default

Is there a php module for ImageMagick available via Yum?
__________________
Please do not send me PMs for support issues - thanks for your understanding.
Blacknight Blog | VPS Hosting| Blacknight Technical Status Blog | Hosting Wiki |Speed Test|Webmaster Chat |Personal Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-07-09, 09:47 AM
Junior Member
 
Join Date: May 2009
Location: .de
Posts: 10
Default

no, not as far as I know. There is one for PECL but I have no idea as to how to go via that way. It's called imagick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-07-09, 01:08 PM
blacknight's Avatar
Administrator
Site Admin
 
Join Date: Aug 2003
Location: Ireland
Posts: 612
Send a message via ICQ to blacknight
Default

Try php-gd
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-07-09, 01:10 PM
blacknight's Avatar
Administrator
Site Admin
 
Join Date: Aug 2003
Location: Ireland
Posts: 612
Send a message via ICQ to blacknight
Default

Another option would be: pecl install imagemagick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-07-09, 01:32 PM
Junior Member
 
Join Date: May 2009
Location: .de
Posts: 10
Default

I think I got it in the end : D
  • yum install php-magickwand
  • yum install php-pear [for PECL]
  • yum install ImageMagick
  • yum install ImageMagick-devel
  • pecl install imagick-2.2.1
  • yum -y install php-devel [to over come sh: phpize: command not found error]
  • pecl install imagick-2.2.1
Thanks for pointing me in the right direction !

It's installed now, show up on the phpinfo but I am not sure as to where it is installed or what I need to do next to get it installed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-07-09, 02:01 PM
Junior Member
 
Join Date: May 2009
Location: .de
Posts: 10
Default

well it doesn't seem to be working anymore
Quote:
[root@vps--/]# pecl install imagemagick
No releases available for package "pecl.php.net/imagemagick"
Cannot initialize 'imagemagick', invalid or missing package file
Package "imagemagick" is not valid
install failed
I've tried various ways, tutorials etc. But there doesn't seem to be a step by step guide for this I'm surprised IM is so badly documented.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-07-09, 05:45 PM
Junior Member
 
Join Date: May 2009
Location: .de
Posts: 10
Default

problem solve !
the program I was installing (gallery2) wasn't recognising the location of ImageMagick, an edit to /var/www/vhosts/ep.org/conf/httpd.include did the trick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
imagemagick, install, php, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:03 PM.


VPS Hosting Web Hosting Ireland Blacknight Blog Blacknight Status

Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2010, Jelsoft Enterprises Limited.
Blacknight 2005 - 2009 | VPS Hosting | Wiki

SEO by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17