my webhosting provider has disabled exec, ... solution?

wim
wim's picture

Joined: 2002-09-09
Posts: 2
Posted: Mon, 2002-09-09 22:12

Due to security implementations, my webhostingprovider has disabled some very important functions for gallery:

disable_functions
passthru,shell_exec,exec,system,diskfreespace,disk_free_space,disk_total_space

Is there a solution for this, or does somebody have the same problem?
I hope somebody will post a working code.

They have disabled exec to secure the server against exploit scripts.
Maybe an idea for a feature release?
Now it is a very stupid problem. My albums are unuseful now, i can not add more pictures.

Hope somebody can help

regards,

Wim

nullpassthru,shell_exec,exec,system,diskfreespace,disk_free_space,disk_total_space

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Tue, 2002-09-10 02:26

I think the only workaround you'll find is switching webhosting providers.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-09-10 03:49

The other thing he can try is to use the PHP-as-CGI solution described in FAQ B.

 
bgriffiths
bgriffiths's picture

Joined: 2002-07-17
Posts: 15
Posted: Wed, 2003-07-30 20:14

On running setup from the latest CVS -b61 I got messages all over the place that my host has disabled shell_exec

It doesn't seem to have made any difference - I can still do everything (I think)

What should I expect not to work? (if anything?). I have searched through the previous threads for shell_exec, but they are always combined with other disabled functions.

Thanks for your time

Brian

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Wed, 2003-07-30 20:24

Yes, Gallery uses shell_exec. You'll need to talk to your host or see the above posts about other solutions.

 
bgriffiths
bgriffiths's picture

Joined: 2002-07-17
Posts: 15
Posted: Wed, 2003-07-30 21:17
joyoflinux wrote:
Yes, Gallery uses shell_exec. You'll need to talk to your host or see the above posts about other solutions.

Andrew

:-?

thanks for the quick reply - my host says they disabled a number of features "some months ago"

I would pursue the matter further with them - but I cannot find anything that does not work!! I can still upload, resize, rebuild thumbs, add/delete photos/albums. In fact had setup not returned the error message (but it still completed anyway) I would have been none the wiser.

Perhaps it is something that is only called if you are using shell access?? Which I am not; but then I'm no expert!! :o

Brian