I've turned Safe Mode off via DirectAdmin
Not sure this related or not
# grep safe_mode /usr/local/lib/php.ini
safe_mode = Off
; then turn on safe_mode_gid.
safe_mode_gid = Off
; When safe_mode is on, UID/GID checks are bypassed when
safe_mode_include_dir =
; When safe_mode is on, only executables located in the safe_mode_exec_dir
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
; protected even if safe_mode_allowed_env_vars is set to allow to change them.
safe_mode_protected_env_vars = LD_LIBRARY_PATH
sql.safe_mode = Off
# grep session.save_path /usr/local/lib/php.ini
; session.save_path = "N;/path"
; session.save_path = "N;MODE;/path"
session.save_path = "/tmp"
; (see session.save_path above), then garbage collection does *not*