The experimental results of the present study demonstrate that DPHs exert protective effects on ethanol-induced gastric ulcers injury, and the mechanisms involved could be associated with the inhibition of the activation of TLR4/MYD88/NF-κB and TRPV1 signaling pathways, inhibition of the release of downstream inflammatory factors, reduction of oxidative stress, and enhancement of gastrointestinal motility. Here, MYD88 is linked to gastric ulcer.