Let $A$ and $B$ be commutative rings, and suppose (the underlying group of) $B$ has a structure of $A$-module. "Obviously", that doesn't imply that $B$ gets a structure as an $A$-algebra, but I can't come up with a simple example.
Surely there must be some relatively down-to-earth example, though. Can you help me?