Jump to content

Manual talk:$wgTmpDirectory

Add topic
From mediawiki.org

Where is this temp directory used? I am having problem with the MacBinary.php trying to fopen something in /tmp, what is not allowed in my environment due to safe mode (open_basedir restriction). Perhaps somebody can shed some light on this...

How do I "deny any access from the web via .htaccess or webserver configuration"?

[edit]

What is the procedure for doing that? MW131tester (talk) 21:19, 2 January 2019 (UTC)Reply

Place a .htaccess file in your tmp directory and put Deny from all inside of it. --MyWikis-JeffreyWang (talk) 19:27, 24 April 2021 (UTC)Reply