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
Posts: 487
I think the only workaround you'll find is switching webhosting providers.
Posts: 7994
The other thing he can try is to use the PHP-as-CGI solution described in FAQ B.
Posts: 15
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
Posts: 8194
Yes, Gallery uses shell_exec. You'll need to talk to your host or see the above posts about other solutions.
Posts: 15
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