Why am I having trouble maintaining wifi connection on my iphone 5 with ios 7.1.2?

I am having trouble maintaining wifi connection on my iphone 5 with ios 7.1.2
Re: iphone5

What steps have you taken to fix the problem? Have you rebooted your Wi-Fi router? Have you tried to reset your network settings on your iPhone? Are your other Wi-Fi capable device having the same problems?
If you Reset Network Settings, you may need to enter your wifi passcode back in.


Sent from from my ancient but trustworthy iPhone 5

Original thread: https://forums.imore.com/threads/why-am-i-having-trouble-maintaining-wifi-connection-on-my-iphone-5-with-ios-7-1-2.294114/