FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


exec() allowed? What is this...





Rhineus
Hello,

And thank you for hosting me and my website. Now for my question, what is "exec() allowed" do or for? I am trying to install Gallery 2.3 and on my fourth step, where it checks the system... all the steps passed except for the "exec() allowed". And it says:

Quote:
Warning: The exec() function is disabled in your PHP by the disabled_functions parameter in php.ini. You won't be able to use modules that require external binaries (e.g. ImageMagick, NetPBM or Ffmpeg). This can only be set server-wide, so you will need to change it in the global php.ini.


What is that for?
AftershockVibe
exec() is a PHP function call that allows you to execute external programs as if they were run from the command line.

Unfortunately for you this represents a massive potential security risk so is disabled on all FriHosts servers. I'm afraid it won't ever be enabled either.
Rhineus
Ok, no biggie... I was mostly wanting to know what exec() was used for. Thx Aftershock Smile
Diablosblizz
It's pretty useful if you have a home server and need PHP to execute some stuff. Although, if it was allowed on Frihost there would be some HUGE security risks.
Related topics
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Frihost Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.