changed php doc to main version and removed temp files