Thread:Project:Support desk/upload tmp dir - MediaWiki ignores php specified path/reply (2)

Where should I set TMP variable? I have these in my LocalSettings.php $wgEnableUploads = true; $wgAllowCopyUploads = true; $wgUploadPath = "{$wgScriptPath}/images"; $wgUploadDirectory = "{$IP}/images"; $wgTmpDirectory = "{$wgUploadDirectory}/temp";

$wgGroupPermissions['sysop']['upload_by_url'] = true; and I still have the above mentioned error. The folders for uploads are all writable. The Special:Upload shows Could not create temporary file. in red.