yum remove rh-php72 to remove the same package that was installed from the Software Collections Library, the binary remains installed in the following directory
Red Hat Enterprise Linux 7.x
Red Hat Software Collections 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.