[BlueOnyx:03086] Re: PHP exec() and ImageMagick

Richard Morgan richard at morgan-web.co.uk
Fri Dec 11 13:33:29 -05 2009


Is this site something you can modify because there are a whole pile of 
wrappers and alternatives for ImageMagick: 
http://www.imagemagick.org/script/api.php?ImageMagick=c4f57o2eqfaj75d7btnnk5uso2#php

I know it's not the answer, but it's likely to be an improvement over exec()

R.
----- Original Message ----- 
From: "Darrell D. Mobley" <dmobley at uhostme.com>
To: "'BlueOnyx General Mailing List'" <blueonyx at blueonyx.it>
Sent: Friday, December 11, 2009 4:19 PM
Subject: [BlueOnyx:03082] Re: PHP exec() and ImageMagick


>> -----Original Message-----
>> From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it]
>> On Behalf Of Darrell D. Mobley
>> Sent: Thursday, December 10, 2009 12:18 PM
>> To: 'BlueOnyx General Mailing List'
>> Subject: [BlueOnyx:03069] PHP exec() and ImageMagick
>>
>> CentOS has ImageMagick 6.2.8 installed by default. A website I run on a 
>> BX
>> server can use either GD or ImageMagick.  ImageMagick's invocation in 
>> this
>> website uses exec().  BX has exec() disabled in php.ini by default:
>>
>> disable_functions =
>> exec,system,passthru,shell_exec,proc_open,proc_nice,ini_restore
>>
>> I see that exec is a security risk.  Is there a suggested alternative 
>> that
>> I could modify the PHP code with to use instead of exec()?
>
> Bump?
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx 




More information about the Blueonyx mailing list