Imagemagick on shared server without shell access?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
alexander
Posts: 53
Joined: Tue 30. Mar 2004, 14:32
Location: Cologne, Germany
Contact:

Imagemagick on shared server without shell access?

Post 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.
Pappnase

Post by Pappnase »

hello

i google a bt and found that you need this shell access to install!
who is your hoster?
alexander
Posts: 53
Joined: Tue 30. Mar 2004, 14:32
Location: Cologne, Germany
Contact:

Post 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).
Pappnase

Post by Pappnase »

hello alex

yes thats right!
alexander
Posts: 53
Joined: Tue 30. Mar 2004, 14:32
Location: Cologne, Germany
Contact:

Post 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?
Naucki
Posts: 22
Joined: Thu 26. Feb 2004, 14:14

Post 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.
alexander
Posts: 53
Joined: Tue 30. Mar 2004, 14:32
Location: Cologne, Germany
Contact:

Post by alexander »

Cool. Yes, that would be nice!
kachete
Posts: 26
Joined: Mon 16. Feb 2004, 13:59
Location: Maturin / Monagas / VENEZUELA
Contact:

Post by kachete »

Hi

Naucki

Can you send this package to me please

Thanks.- :D
No hay preguntas tontas, solo tontos que no preguntan
alexander
Posts: 53
Joined: Tue 30. Mar 2004, 14:32
Location: Cologne, Germany
Contact:

Post 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.
alexander
Posts: 53
Joined: Tue 30. Mar 2004, 14:32
Location: Cologne, Germany
Contact:

Post 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.
alexander
Posts: 53
Joined: Tue 30. Mar 2004, 14:32
Location: Cologne, Germany
Contact:

Post 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
kachete
Posts: 26
Joined: Mon 16. Feb 2004, 13:59
Location: Maturin / Monagas / VENEZUELA
Contact:

Post 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
No hay preguntas tontas, solo tontos que no preguntan
kachete
Posts: 26
Joined: Mon 16. Feb 2004, 13:59
Location: Maturin / Monagas / VENEZUELA
Contact:

Post 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
No hay preguntas tontas, solo tontos que no preguntan
alexander
Posts: 53
Joined: Tue 30. Mar 2004, 14:32
Location: Cologne, Germany
Contact:

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply