The motherboard *IS* the phone. If you need a new motherboard, you need a new phone.
What exactly is the motherboard problem? One of the myths out there is that motherboard problem = certain doom. That is not always the case.
PS: If you've bought this phone on eBay and it is Find my iPhone/iCloud locked to someone's Apple ID that is not you, then it really is a cute paperweight.