We theoretically study the photon blockade (PB) effect in a double-cavity optomechanical system with the two-photon driving. By analytical calculations and numerical simulations, the physical mechanisms of conventional photon blockade (CPB) and unconventional photon blockade (UPB) are discussed in detail. And then we obtain the optimal parameter conditions for PB. In our work, there exist both the CPB induced by strong nonlinear interaction and the UPB caused by quantum interference. In particular, we find that CPB and UPB can occur simultaneously under the same parameters. In addition, we also prove that the appropriate values of nonreciprocal coupling and two-photon driving are favorable to the improvement of PB. Our proposal provides an idea for simultaneously realizing CPB and UPB in the optomechanical system and offers a route for constructing high-quality single-photon sources.