Why does my iPhone keep turning off when I try to turn it on?

My iPhone keeps turning off when I try to turn it on.

Since I downloaded iOS 8 my phone has been turning off by itself in the middle of a text or even when I'm not using it. This time when i try to turn it on it closes during the middle of the startup, please help.
Re: My iPhone keeps turning off when I try to turn it on.

Try restoring the phone, and if it doesn't work, go to your local Apple Store and let them check it out.

Original thread: https://forums.imore.com/threads/why-does-my-iphone-keep-turning-off-when-i-try-to-turn-it-on.303389/