Phosphorus, sulfur and chlorine (groups 5, 6, 7) are all simple covalent molecules held together with weak van der waals forces which don't require much energy to overcome. Van der waals increase with size however, and since these elements are naturally found as P4, S8 and Cl2, this determines the order of their melting points.