Looks like that hinge has essentially been mounted with all 3 screws driven into the joint between the architrave and the door frame, or so close to the edge of the frame that it's just split and jacked the architrave away
Seek 3 better (bigger) hinges with an offset screw pattern of 4 holes, that will see them mounted further away from the edge of the wood. If the door doesn't open 180 degrees you can gain a few more mm away from the edge of the frame by sinking the butt of the hinge into the door and the frame.
Use short, fully threaded screws with a deep thread that give good grip without colliding with the brickwork (if it's brickwork; if it's stud work, use longer screws) behind the frame. If the screws are thick (eg if your new hinges take a number 6 screw) consider pilot drilling the hole to avoid splitting the frame. Also, on an offset hole hinge, for the two screw holes near the edge of the frame/door, consider angling them slightly so the screws drive away from the edge. Chisel the recesses on the door and frame to the correct depth to ensure the door sits centrally in its gap and doesn't bind on the hinge side of the frame when closed. If the door is very tight in the gap it needs to be reduced or the gap increased
Personally I think brown wood doors mounted in white painted frames look gash, so I'd be replacing the frame anyway, but you should be able to make do with the one you have if you need.
Interestingly, there is a depression around the hinge that looks like there used to be an older hinge, surface mounted (or a fairly good repair made) there..