while working on a simple mechanics problem using polar coordinates, I got this equation

second derivative of phi = (-g/R) sin phi

now I need to solve this to get an equation for phi (t) but the books says that I cannot solve this using elementary functions and that the solution will be the more complex Jacobi elliptic function. My question is why can't I integrate twice to get the equation for phi (t) ?

thanks a lot