Documentation

Configuration / general.temp_dir

This should point to a writable temp directory, does not need to be accessible through the server, in fact, we recommend you set this to something above your webroot.

$moxieManagerConfig['general.temp_dir'] = '../data/temp';
<add key="general.temp_dir" value="../data/temp" />