• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

safe mode with scheduler ?

E

EmmanuelJ

Guest
Hello
One of my customer define a scritpt in php, the flag on the domain is safe mode off. But when the scheduler execute the script I receive this:
PHP Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in /var/www/vhosts/xxx/httpdocs/lib/vendor/symfony/lib/command/sfFormatter.class.php on line 29
PHP Warning: set_time_limit(): Cannot set time limit in safe mode in /var/www/vhosts/xxxx/httpdocs/lib/vendor/symfony/lib/command/sfCommandApplication.class.php on line 537

How to disable safe mode with the scheduler ?
Thanks
 
Back
Top