Manual:$wgEnableMWSuggest

Details
Enable suggestions while typing in search boxes (results are passed around in OpenSearch format). You might have to comment out $wgScriptExtension = ".php5"; in your LocalSettings.php to make this work.

This setting replaces $wgAjaxSearch that was used in earlier versions of MW.