XF 2.2 upgrade from 2.1 to 2.2 beta 4 commandline errors

Got an error trying to upgrade from 2.1 to 2.2 beta4:

Running upgrade to 2.2.0 Alpha, step 29... done.
All upgrade steps run up to version 2.2.0 Beta 4.

In Xml.php line 31:

Class DOMDocument not found

In Xml.php line 31:

Class DOMDocument not found

xf:upgrade [--skip-statistics]

site unavailable after that. Did the same upgrade from 2.1 to 2.2 beta1 without this issue.
Any clue's here?
 
Top Bottom