Bugfix + helpful error on bad PHP in config files