OS: Ubuntu 17.10 (Artful Aardvark) I have installed the LAMP stack and Laravel, and when I tried composer install in my Laravel application, I got the following errors. I have rechecked the files, all extensions are enabled and they are located in the /usr/lib/php/20160303 folder. Answer Sometimes the problem is the php-xml extension. Try: