In this paper, we are interested in solving multidimensional backward stochastic differential equations (BSDEs) in Lp(p>1) under weaker assumptions on the coefficients, considering both a finite and an infinite time interval. We establish a general existence and uniqueness result of solutions in Lp(p>1) to finite and infinite time interval BSDEs with non-Lipschitz coefficients, which includes the corresponding results in \citet{Par90}, \citet{Mao95}, \citet{Chen97}, \citet{Cons01}, \citet{Wang03}, \citet{Chen00} and \citet{Wang09} as its particular cases.