In relativistic theory, the proper time τ of an object is the time measured in "the" frame of reference of this object, i.e. in a frame of reference where it is stationarymotionless. For photons, there is no frame of reference where it is at rest, so time dilation, length contraction,..., has no physical meaning for photons.