dear shreya
there are slight mistake in your ques , its PI5 not PH5 ,
in pcl5 due to small size and high electronegativity of cl , the hybridisation is possible , whereas in the case of pi5 molecule , hybridisation is restricted due to large size and less electronegativity of (iodine ) .
hence , pi5 is not possible and highly unstable .
HOPE IT CLEARS
REGARDS