Page 1 of 2

Imagemagick on shared server without shell access?

Posted: Sat 24. Apr 2004, 15:19
by alexander
Hello Community,

is anyone out there that can give me a hint on how I might be able to install ImageMagick (or the GD2-lib) without shell access on a shared server...or is that impossible? My customer's provider only offers GD 1.6.2 and no pre-installed Imagemagick.

Thanks for any tip.

Posted: Sat 24. Apr 2004, 16:54
by Pappnase
hello

i google a bt and found that you need this shell access to install!
who is your hoster?

Posted: Sat 24. Apr 2004, 17:38
by alexander
Hello Pappnase,

thanks for your help. So you found that I do need shell access, is that correct?
The site is currently hosted at 1&1 Puretec (my customer's idea, not mine).

Posted: Sat 24. Apr 2004, 17:39
by Pappnase
hello alex

yes thats right!

Posted: Sat 24. Apr 2004, 17:45
by alexander
So, my customer either has to upgrade to a dedicated server (or even better: a different provider)? I found some pre-compiled versions of ImageMagick (and some hint to RPMs, although I don't know what that means). Does that not help in my situation?

PS: Wir könnten natürlich auch deutsch posten!? Bzw. darf ich dich kurz per AIM anbimmeln?

Posted: Sat 24. Apr 2004, 17:45
by Naucki
hi,

i've a imagemakig packet that you can easy install with ftp access.
just unpack the tar.gz and upload the files.

tell me if you want to have this packet.

Posted: Sat 24. Apr 2004, 17:47
by alexander
Cool. Yes, that would be nice!

Posted: Wed 28. Apr 2004, 18:35
by kachete
Hi

Naucki

Can you send this package to me please

Thanks.- :D

Posted: Wed 28. Apr 2004, 18:42
by alexander
Sorry, kachete, but Naucki obviously just wanted to sell his hosting services. He promised to send this "package" to me via e-mail, but I never received it. I sent him an e-mail, but he didn't answer. I think that I became uninteresting since I told him that I do not have the possibility to switch providers right now.

Posted: Fri 30. Apr 2004, 01:08
by alexander
Now I have to appologize to Naucki. He was just very busy. He did sned me a statically linked version of ImageMagick. You can download it from my website:

http://www.klarmedia.de/downloads/image ... c-1.tar.gz

It didn't help me though - my provider obviously cut my rights so it won't run... anyway, good luck for you.

Posted: Fri 30. Apr 2004, 01:27
by alexander
Sorry, kachete, I am a bit in a hurry, but here's a quick rundown:

1. Download the file (you've done that apparently)

2. Decompress the files on your hard drive

3. Upload the files into a directory (i.e. "ImageMagick") on your webserver

4. Change the file permissions (using your FTP Client) to 755 (means it's executable)

5. Then go to the file include > inc_conf > conf.inc.php and change these two lines in the lower part:

Code: Select all

$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick convert
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
to this

Code: Select all

$phpwcms["imagick"]           = 1; //0 = GD,  1 = ImageMagick convert
$phpwcms["imagick_path"]      = "/homepages/11/d92337433/htdocs/ImageMagick/"; //Path to ImageMagick (default="" - none)
Of course the imagick_path has to be set to your path. To find out what your absolute path you have you can use phpinfo() and look for the variable DOCUMENT_ROOT.

That should be it. You can try if it works by uploading some graphics file and make phpWCMS create the thumbnail.

Good luck
Alexander

Posted: Fri 30. Apr 2004, 15:37
by kachete
i follow all your lead

put and change the lines as you say but i have a error from the file
Error while writing file to storage (1)

Please dont try again - this is an server error! Contact your webmaster as soon as possible!
how can it be resolved

i use the GD2 and work but i have been reading that with IMAGEMAGICK it work faster and do better fot the site

Please help

Thanks.

Best Regards

Posted: Fri 30. Apr 2004, 16:03
by kachete
i think i resolve the situation here giving the phpwcms_filestorage permisions

but know when i try to make the thumnails to probe that imagemagick reali works as master ALEXANDER says it dont work i think becouse when i select the CREATE THUMBNAIL option it only show a messa gue and do go anywhere and keep in the same space for a long time.
:evil: creating thumbnail! wait a moment!
no thumbnail exists

click here to go back
where its the error know


please help

best regards

Posted: Sun 2. May 2004, 11:28
by alexander
Hallo kachete,

yes, that's the same problem I have. I guess you don't have the rights to let ImageMagick run on the server.

Greetings,
Alexander

Posted: Sun 2. May 2004, 14:51
by Oliver Georgi
In most cases - you will NEVER be able to upload ANY pre-compiled application to a normal web hosting account. Think about!!! It's an unbelievable security risk when everybody is able to upload non-proofed apps. I would leave a provider for that fact.

I think about implementing support for imagick PHP extension - but this is not done very fast.

Regards
Oliver