copy for loopp from RHEL's SCL php54 to change path for stuff