Manual:$wgScript

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

''Note: $wgArticlePath is defined relative to $wgScript. If you redefine this in your LocalSettings.php then you must also make sure you update $wgArticlePath.''