In phenol, the -OH group is directly attached to a carbon of benzene ring. The lone pair of oxygen participates into resonance with the benzene ring. As a result, electron density on benzene ring increases making it more easy to attack by an electrophile.