PDA

View Full Version : exec() has been disabled for security reasons


Cedric_FP
08-02-2007, 09:10 AM
Warning: exec() has been disabled for security reasons in /includes/cron/databack.php on line 21

Warning: exec() has been disabled for security reasons in /includes/cron/databack.php on line 26

Does anybody know exactly what this means?

Is it a script malfunction or has my host actually done something without telling me?

Thanks,
Cedric

Guest190829
08-02-2007, 09:41 AM
Does anybody know exactly what this means?

Is it a script malfunction or has my host actually done something without telling me?

Thanks,
Cedric

That means your server has disabled that function in php settings, if I remember correctly.

Dismounted
08-02-2007, 09:54 AM
Yes, Danny is correct, and furthermore, they should.

Cedric_FP
08-02-2007, 11:43 AM
Oh, why is that?

Dismounted
08-02-2007, 12:07 PM
Well, as said in the error, security reasons. It could potentially let any user on that server to execute any shell command.

Marco van Herwaarden
08-02-2007, 01:32 PM
That is too simple. If the host has configured the server properly, then allowing exec() should not be a security problem as each client on the server should only have permissions to access his own files.

It only becomes a security issue if the permissions on the server are not set correct.