No. Photon has no mass.
To say an object has mass, we refer to the fact that the object has [rest mass], i.e. the mass the object possessed when it is stationary.
Photons can only exist when they are in motion and their speed in vacuum is just the speed of light. Photons cannot be brought to rest. They have no [rest mas].
Einstein's equation E=mc^2 only gives the [mass equivalence] of a photon with energy E. Mass equivalence is only a concept and which by no means indicate that a photon has real mass.