Photons are a particle which are solid
Photons are an elementary particle so has no known substructure and as such have no rest mass or invariant mass, so it doesnt comply with any of the states of matter as we classify them. Photons or light cannot therefore be classified as a solid. They are in fact Energy.