exec() has been disabled for security rea

Jelou, everytime I upload a file into SGD/GED module the following errors appear:

Warning: exec() has been disabled for security reasons in /home/tinkayco/public_html/dolibarr/core/class/antivir.class.php on line 95

Warning: Cannot modify header information - headers already sent by (output started at /home/tinkayco/public_html/dolibarr/core/class/antivir.class.php:95) in /home/tinkayco/public_html/dolibarr/main.inc.php on line 1111

Warning: Cannot modify header information - headers already sent by (output started at /home/tinkayco/public_html/dolibarr/core/class/antivir.class.php:95) in /home/tinkayco/public_html/dolibarr/main.inc.php on line 1114

Warning: Cannot modify header information - headers already sent by (output started at /home/tinkayco/public_html/dolibarr/core/class/antivir.class.php:95) in /home/tinkayco/public_html/dolibarr/main.inc.php on line 1115

No idea how to solve this.

I use dolibarr 9.0.3 in a linux server and believe it to be php 5.3

Thanks

exec has probably been globally disabled by your hosting.
You need to ask them how to enable it, if not globally, then on a per-directory basis, to allow those scripts to run.
You should not be using php5.3, it is far too old. You should be using 7.x

1 Like

Thanks. I’ll see both with the hosting provider