2
The turning on/off safe mode should be done from your host or if you're using your own server in php.ini settings.
If you have hosted website you should be able to open an administration site at your host's website, and there see (fi. in advanced settings) if you can change safe mode settings. If you cannot you should talk to your host to make him change to your preferences.
If you have your own server,
in php.ini find the line with safe_mode, and change to what you need.
For instance:
safe_mode = Off
If you have httpd.conf then add in this
safe_mode = Off
Also be sure to use install Protector
https://xoops.org/modules/repository/singlefile.php?cid=59&lid=1687
Programming is like sex:
One mistake and you have to support it for the rest of your life.