remove PHP exec() directory limitation:
Although when safe mode is off, php seems still to care about exec directory limitations. To correct, go to /usr/syno/etc/php/user-settings.ini
and set
safe_mode_exec_dir =
restart httpd with
/usr/syno/apache/bin/httpd -k restart