add [php]hosts support