Added erc and update php config.