How to install drush on LAMP 16.04?
I have tried to install drush via Composer on a LAMP 16.04, but I keep getting this error (and a couple more), when I try ‘drush status’:
PHP Fatal error: Uncaught ReflectionException: Class DOMDocument does not exist in /home/USER/.composer/vendor/consolidation/output-formatters/src/Transformations/DomToArraySimplifier.php:24
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.