At the same time that the daylight escort fighter was developed from the SM-2 and SM-9 into the MiG-19 and MiG-19S, work went on in parallel to design and build a radar-equipped all-weather fighter, with the first prototype SM-7/1 flying for the first time on 28 August 1954. This prototype had a similar airframe to the first SM-9, including the conventional fixed horizontal tail, with the second and third SM-7s introducing similar changes to those tested on the SM-9 prototypes, including the slab tail.Gordon Wings of Fame 1997, pp. 134–135. The all weather fighter entered production as the MiG-19P in 1955. Major differences from the MiG-19S included RP-1 Izumrud radar in the aircraft's nose, with small radomes in the centre and on the top lip of the air intake and an armament of two cannon in the aircraft's wing roots. From 1957, production of all weather fighters switched to the missile equipped MiG-19PM, with an armament of four K-5M air-to-air missiles, with the cannon removed.
At the same time that the daylight escort fighter was developed from the SM-2 and SM-9 into the MiG-19 and MiG-19S, work went on in parallel to design and build a radar-equippe?d all-weather fighter, with the first prototype SM-7/1 flying for the first time on 28 August 1954. This prototype had a similar airframe to the first SM-9, including the conventional fixed horizontal tail, with the second and third SM-7s introducing similar changes to those tested on the SM-9 prototypes, including the slab tail.Gordon Wings of Fame 1997, pp. 134–135. The all weather fighter entered production as the MiG-19P in 1955. Major differences from the MiG-19S included RP-1 Izumrud radar in the aircraft's nose, with small radomes in the centre and on the top lip of the air intake and an armament of two cannon in the aircraft's wing roots. From 1957, production of all weather fighters switched to the missile equipped MiG-19PM, with an armament of four K-5M air-to-air missiles, with the cannon ,removed.