Manual:$wgScript/de

Details
The URL of index.php, relative to DOCUMENT_ROOT.

ist zu  relativ definiert. If you redefine this in your then you must also make sure you update.