like the greeks accepted gays so when the homophobia started?
Your question is very, very broad. Consider looking at the FAQ on Gender and Sexuality which includes questions about how homosexuality was viewed across different cultures and times
Additionally in the FAQ is Early Christianity which contains two questions dealing with the relationship between homosexuality and the early Christian church