?
Solved

Image Magick can't locate it host says its installed in root?

Posted on 2003-03-27
3
Medium Priority
?
167 Views
Last Modified: 2013-12-25
I had ImageMagick running perfectly in my cgi script with my host until they had to replace a faulty hardrive, lost ImageMagic and reinstalled it.

Previously I called up ImageMagick using:

use lib '/usr/lib/perl5/site_perl/5.6.1/i386-linux/';
use Image::Magick;

But since my host has reinstalled ImageMagick each time I call it using:

use lib '/usr/lib/perl5/site_perl/5.6.1/i386-linux/';
use Image::Magick;

or just

use Image::Magick;

My cgi script crashs with 500 server error :(

I looked under perl modules and ImageMagick is not there so I contacted my host and they told me they have now installed it in the root:

home/src/ImageMagick-5.4.9/www/

I am not that familar with root access and have tried a few things but my script just crashs the moment I call up ImageMagick and any help is most welcome :)
0
Comment
Question by:pauluk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
nbthanh earned 200 total points
ID: 8224718
Hi pauluk,
If your script was OK and unchanged, then the error must have been caused by the server!

I suggest that you may reinstall ImageMagick (or any Perl Module you want) into your own directory. You can do is by this:

- download the source from search.cpan.org and upload onto your server
- uncompress: tar zfx module-xxx.tar.gz
- run: cd module-xxx
- run: perl Makefile.pl prefix=/home/pauluk/yourdir
Note: some documents said that it should be --prefix. I tried, but it did not work on my server while prefix did work well. You may wish to try both :-)
- run: make
- then run: make install
- finally, you can run: make test to test your new installed module.

Hope this help.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question