View Full Version : ImageMagick path
c_by_sinus
13th of November 2003 (Thu), 01:35
Hi all,
My admin says, ImageMagick is installed on path:
Sie finden alle ImageMagick Programme in folgenden
Verzeichnissen :
/usr/X11R6/bin/ oder
/usr/bin/
ImageMagick steht zu Ihrer Verfügung und muss nicht
speziell aktiviert werden
When I go to the Graphic Modules in EE, the path in "IM path" is allways green and says Path ok, does not matter, what I enter.
But more important, I guess, is the path in the white field: There is written allways
convert
composite
and I tried to let it be so or I tried to enter both pathes above. But when I hit "test"; I got allways these two warnings:
source. jpg 295 KB
Warning: exec, system, dl, shell_exec() has been disabled for security reasons in /home/.sites/22/site31/web/09_Datenbank/gallery/schlufi/graphicsenginetest.php on line 609
Warning: exec, system, dl, shell_exec() has been disabled for security reasons in /home/.sites/22/site31/web/09_Datenbank/gallery/schlufi/graphicsenginetest.php on line 610
Can anybody imagine, what or where I can do something, because the admin says, ImageMagick is ready to run?
Thanks in advance
Markus
TomKa
13th of November 2003 (Thu), 02:35
http://www.scit.wlv.ac.uk/appdocs/php/features.safe-mode.html
It seems that your server is in safe mode...
Pekka
13th of November 2003 (Thu), 06:35
c_by_sinus wrote:
Hi all,
My admin says, ImageMagick is installed on path:
Sie finden alle ImageMagick Programme in folgenden
Verzeichnissen :
/usr/X11R6/bin/ oder
/usr/bin/
ImageMagick steht zu Ihrer Verfügung und muss nicht
speziell aktiviert werden
When I go to the Graphic Modules in EE, the path in "IM path" is allways green and says Path ok, does not matter, what I enter.
When exec command cannot be performed at all on your server, the exec command returns a string of text (as below in you error messages) which makes EE think Imagemagick returned something for version query and puts on green OK.
Warning: exec, system, dl, shell_exec() has been disabled for security reasons in /home/.sites/22/site31/web/09_Datenbank/gallery/schlufi/graphicsenginetest.php on line 609
Warning: exec, system, dl, shell_exec() has been disabled for security reasons in /home/.sites/22/site31/web/09_Datenbank/gallery/schlufi/graphicsenginetest.php on line 610
Can anybody imagine, what or where I can do something, because the admin says, ImageMagick is ready to run?
They most likely have installed ImageMagick, but they did not tell you the only way to run there it is by telnet and command shell.
I've seen once before an EE installation where overeager server admin had disabled exec and all other run commands - some admins are just too "better safe that be sorry" to the point making the server almost unusable.
Without exec function PHP can't run Imagemagick.
So, ask them to enable exec function in PHP for your server. The exec function is the safest of all PHP "run" commands, so it is the only one that is available BY DEFAULT in safe mode, too (in that case IM must be in PHP's safe mode exec dir).
If they can place imagemagick programs in PHP safe mode exec dir, and let you run PHP function "exec()" , keeping PHP in safe mode then that is the safest it can get.
PHP allows custom ini files for each virtual server so setting this up just for you should not be any problem.
Let me know what their answer is, it would be quite interesting to hear it.
c_by_sinus
13th of November 2003 (Thu), 08:52
TomKa wrote:
http://www.scit.wlv.ac.uk/appdocs/php/features.safe-mode.html
It seems that your server is in safe mode...
Hi Tom,
Thanks a lot for your answer, I guess, you are right.
Markus
BTW: bitte gib mir noch etwas Zeit, bin irgendwie im stress und möchte Dir aber mal ein mail senden ;)
c_by_sinus
13th of November 2003 (Thu), 08:53
Hi Pekka,
thanks again for a super-support.
I will do so and will report you, what the admin does answer ;)
Markus
MrChevy
17th of November 2003 (Mon), 22:46
pekka wrote:
They most likely have installed ImageMagick, but they did not tell you the only way to run there it is by telnet and command shell.
I've seen once before an EE installation where overeager server admin had disabled exec and all other run commands - some admins are just too "better safe that be sorry" to the point making the server almost unusable.
Without exec function PHP can't run Imagemagick.
So, ask them to enable exec function in PHP for your server. The exec function is the safest of all PHP "run" commands, so it is the only one that is available BY DEFAULT in safe mode, too (in that case IM must be in PHP's safe mode exec dir).
If they can place imagemagick programs in PHP safe mode exec dir, and let you run PHP function "exec()" , keeping PHP in safe mode then that is the safest it can get.
PHP allows custom ini files for each virtual server so setting this up just for you should not be any problem.
Let me know what their answer is, it would be quite interesting to hear it.
Look at what the intelligent?? people who host one of my sites replied back to me:
_________
_______________
Hello,
We are looking into the installation instructions of ImageMagick. Our administrators are looking at the various issues involved in installaing the software and the module. We will respond to you once we hear from them. Let us know if you have any other questions.
karthik 16-Nov-2003 11:31:26
________________________
Hello,
We will not be able to install ImageMagick on the server. This will destructurize our server standard and may cause issues with other configurations of the server. We apologize for thsi inconvenience.
yan 16-Nov-2003 18:53:00
*******************************
Destructurize ... never heard that word before.
How can I get them to learn how to do something? Geeeez, what a drag to be on such a backward host.
What can I tell them Pekka?
Regards,
Ken
Pekka
18th of November 2003 (Tue), 16:12
"destructurize our server standard" == we're too lazy to set it up just for you.
If you pay for the server, they should TRY to make the server work for YOUR needs.
If they'd install Imagemagick on protected area and then Imagick PEAR PHP module to use it, and reinstall PHP to use Imagick module, they can keep the server as it is now and PHP could use Imagemagick functions.
I'll have to consider starting my own gallery/server hosting service for people who have their own domains.
c_by_sinus
19th of November 2003 (Wed), 00:57
Hi Pekka,
a very interesting idea. I would much more like, to give the money to your hosting-service, instead to other peoples, who are sometimes very lazy ;)
Markus
TomKa
19th of November 2003 (Wed), 01:49
Me too !
My hosting contract runs until May 2004.
What about a dedicated Saarinen-Server if we find enough EEcustomers to cover the costs of the server, maintenance + some further EEdevelopment ?
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.