Timely. Somewhere in my rather haphazard fresh install I have both php72 and 71 and has exactly the same problem. The install hung until the correct version was installed.
Installing and upgrading help
Moodle requires the xml PHP extension. Please install or enable the xml extension.
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.