Extensión de instalación de PHP
# install php extensions in specific version
# $ sudo apt install php[version]-[extension]
sudo apt install php8.1-mbstring
sudo apt install php7.4-dom
Willian Pinheiro