php xml extension install code example Example: Install or enable PHP's xml extension sudo apt-get install php-xml