Locate config.sample.inc.php Change $cfg['Servers'][$i]['host'] = 'localhost'; into $cfg['Servers'][$i]['host'] = '127.0.0.1'; Save. Then rename the file and remove sample from the name.