Thread:Project:Support desk/MediaWIKI 1.21 cannot import file PHP WARNING wfMkdirParents (2)/reply (5)

So $wgScriptPath is set to $wgScriptPath = '/mediawiki', whih also is the name of the folder. Looks good.

Do you still get the error message?

> mkdir "/wiki/images/5/56" mode 0777 in /path/to/my/folder/mediawiki/includes/GlobalFunctions.php

Seems to try to create the folder inside "wiki/" instead of inside "mediawiki/".