I'm trying to obtain the Klein-Gordon equation using a specific lagrangian: $$\mathcal{L} = -\frac{1}{2} \phi(\Box+\mu^2)\phi$$ and the generalized Euler-Lagrange equation: $$\frac{\partial L}{\partial \phi} - \partial_\alpha \left(\frac{\partial L}{\partial(\partial_\alpha \phi)}\right) - \partial_\alpha \partial_\beta \left(\frac{\partial L}{\partial(\partial_\alpha \partial_\beta \phi)}\right) + ... = 0$$
I'm almost done, but there is one term that I'm having trouble calculating:
$$-\frac{1}{2} \partial_\alpha \partial_\beta \frac{\partial (\phi \Box \phi)}{\partial(\partial_\alpha \partial_\beta \phi)} = -\frac{1}{2} \partial_\alpha \partial_\beta \frac{\partial (\phi \partial_\gamma \partial^\gamma \phi)}{\partial(\partial_\alpha \partial_\beta \phi)}$$
But this is far as I have gone with this term. Any help is welcome!!!