bug fix, added php config generator