Chosen Solution
my phone does not come on even when on charging…..the apple sign will come ON and off several times…but will never come on….
The phone switches off immediately when unplugging the cable while the apple logo is displayed correct? Right now it is boot looping while plugged in. If all these conditions are met then the battery is almost certainly faulty and needs to be replaced. Otherwise the fault is most likely not the battery and is something else which means I may have to ask more questions to you to find out the most probable causes.
Have you tried a restore through iTunes?
if the battery was replaced recently it may not have been plugged in to the socket fully I just had the same problem whilst changing my battery pulled it apart again re connected the battery and all is good.
Another issue is that phones have a program that make that in some cases after 2 years it will break. In mine the battery after 2 years sutendly stop working :(