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

Darrell D. Mobley dmobley at uhostme.com
Fri Dec 11 11:19:39 -05 2009


> -----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?




More information about the Blueonyx mailing list