Cut out a small portion and mix it to fill your stripped screw hole, and the hardened putty will supply a strong bond to reliably secure door hinge screws. Though less versatile as a wood repair ...
The best way to fix a door that won't stay open is to bend a pin or two on the door hinges. This method works only for interior doors with removable hinge pins. Adding a butterfly door spring ...