[Mediawiki-l] Configuring temporary upload directory

tojja at Safe-mail.net tojja at Safe-mail.net
Thu Sep 9 06:31:57 UTC 2010


I decided to try setting the open_basedir setting to be "/htdocs/dir" (with the wiki living inside a subdirectory of this). Now file uploads fail because, for some unknown reason, mediawiki insists on dumping temporary files inside "/tmp" which is outside my open_basedir path, this despite setting php's "upload_tmp_dir" and allowing mediawiki's temporary directory to be inside "/htdocs/dir".  For some reason mediawiki is forcing the temporary upload path to be /tmp and I don't see how to change this.  Any ideas on how to fix this other than digging around and hacking includes/upload code?  Thanks.



More information about the MediaWiki-l mailing list