Page 1 of 1

disabled for security reasons

Posted: Fri Feb 11, 2011 5:44 am
by yellowled
Uploading an image to the media db (new blog, v1.5.5) gives me:
Warning: escapeshellcmd() has been disabled for security reasons in /www/htdocs/xxx/serendipity/include/functions_images.inc.php on line 667

Warning: exec() has been disabled for security reasons in /www/htdocs/xxx/serendipity/include/functions_images.inc.php on line 669
Never experienced anything like this. Uploading still works, but S9y doesn't generate a thumbnail.

Any ideas?

YL

Re: disabled for security reasons

Posted: Fri Feb 11, 2011 7:55 am
by kleinerChemiker
Talk with your provider. The shell commands are used for image magick.

Re: disabled for security reasons

Posted: Fri Feb 11, 2011 9:16 am
by yellowled
Yup. ImageMagick can only be used if PHP is run as CGI, not as an apache module. That doesn't sound like something I'd want, so GDLib it is. (Which works just as well.)

Thanks.

YL

Re: disabled for security reasons

Posted: Fri Feb 11, 2011 9:29 am
by Timbalu
yellowled wrote:ImageMagick can only be used if PHP is run as CGI, not as an apache module.
Is that what they told you? On their servers! Its not true in general.
I used mine with module for years now.

Try and set to .htaccess

Code: Select all

AddHandler php-fastcgi .php
and then use IM.

Ian

Re: disabled for security reasons

Posted: Fri Feb 11, 2011 9:41 am
by yellowled
Timbalu wrote:On their servers! Its not true in general.
Right, it's only on their servers/in the "smaller" web hosting plans. But never mind, GDLib is doing pretty much all I need. :)

YL