CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set