add php exetend, fix README, fix base setting