disabled for security reasons

Having trouble installing serendipity?
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

disabled for security reasons

Post 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
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: disabled for security reasons

Post by kleinerChemiker »

Talk with your provider. The shell commands are used for image magick.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: disabled for security reasons

Post 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
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: disabled for security reasons

Post 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
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: disabled for security reasons

Post 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
Post Reply